comp.lang.ada
 help / color / mirror / Atom feed
* AWS Windos build trouble.
@ 2012-05-31  4:56 Shark8
  2012-05-31  5:44 ` Pascal Obry
  0 siblings, 1 reply; 11+ messages in thread
From: Shark8 @ 2012-05-31  4:56 UTC (permalink / raw)


Alright; I got AWS to build (using cygwin) though it fails on make install.
"Not too much of a problem" I foolishly thought to myself, as I tried to manually put the proper files under the includes directory (which required some fishing about the GPR files), create a project for it, and compile all the files... which I did, but now I'm getting this mess of errors [compiling the AWS "Hello World"]:

gnatmake -d -PC:\AWS\aws_test.gpr Test.adb
gnatbind -I- -x C:\AWS\Obj\test.ali
gnatlink C:\AWS\Obj\test.ali -o C:\AWS\test.exe
Warning: resolving _getpeername by linking to _getpeername@12
Use --enable-stdcall-fixup to disable these warnings
Use --disable-stdcall-fixup to disable these fixups
Warning: resolving _getsockname by linking to _getsockname@12
Warning: resolving _gethostname by linking to _gethostname@8
Warning: resolving _gethostbyname by linking to _gethostbyname@4
Warning: resolving _gethostbyaddr by linking to _gethostbyaddr@12
Warning: resolving _accept by linking to _accept@12
Warning: resolving _bind by linking to _bind@12
Warning: resolving _connect by linking to _connect@12
Warning: resolving _listen by linking to _listen@8
Warning: resolving _recvfrom by linking to _recvfrom@24
Warning: resolving _setsockopt by linking to _setsockopt@20
Warning: resolving _shutdown by linking to _shutdown@8
Warning: resolving _socket by linking to _socket@12
C:\AWS\Obj\sockets-naming.o:sockets-naming.adb:(.text+0x498b): undefined reference to `inet_addr'
C:\AWS\Obj\sockets.o:sockets.adb:(.text+0x1f4b): undefined reference to `send'
C:\AWS\Obj\sockets.o:sockets.adb:(.text+0x2351): undefined reference to `socketpair'
C:\AWS\Obj\aws-net-poll_events.o:aws-net-poll_events.adb:(.text+0x125b): undefined reference to `poll'
C:\AWS\Obj\aws-net.o:aws-net.adb:(.text+0xd7a): undefined reference to `socket_strerror'
C:\AWS\Obj\zlib-thin.o:zlib-thin.adb:(.text+0xbf): undefined reference to `deflateInit2_'
C:\AWS\Obj\zlib-thin.o:zlib-thin.adb:(.text+0xeb): undefined reference to `inflateInit2_'
C:\AWS\Obj\zlib-thin.o:zlib-thin.adb:(.text+0x1cb): undefined reference to `zlibVersion'
C:\AWS\Obj\zlib.o:zlib.adb:(.text+0x873): undefined reference to `crc32'
C:\AWS\Obj\zlib.o:zlib.adb:(.text+0x195b): undefined reference to `zlibVersion'
C:\AWS\Obj\zlib.o:zlib.adb:(.rdata+0x208): undefined reference to `inflate'
C:\AWS\Obj\zlib.o:zlib.adb:(.rdata+0x20c): undefined reference to `inflateEnd'
C:\AWS\Obj\zlib.o:zlib.adb:(.rdata+0x210): undefined reference to `deflate'
C:\AWS\Obj\zlib.o:zlib.adb:(.rdata+0x214): undefined reference to `deflateEnd'
collect2: ld returned 1 exit status
gnatlink: error when calling C:\Programming\GNAT\2010\bin\gcc.exe
gnatmake: *** link failed.

I'm stuck at the end of my rope.



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-06-06 13:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-31  4:56 AWS Windos build trouble Shark8
2012-05-31  5:44 ` Pascal Obry
2012-05-31  7:01   ` Shark8
2012-06-01 22:14     ` Pascal Obry
2012-06-02  2:03       ` Shark8
2012-06-03 14:45         ` Pascal Obry
2012-06-04 16:04           ` Shark8
2012-06-04 16:33             ` Pascal Obry
2012-06-06  3:37               ` Shark8
2012-06-06  6:56                 ` Pascal Obry
2012-06-06 13:55                   ` Shark8

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox