[AWS] Odd time trying to build a working AWS.

Joey Fish onewingedshark at gmail.com
Fri Jun 8 02:21:25 CEST 2012


I tried building AWS a while ago and ran into trouble (Vista-64, Cygwin,
GNAT 2011).
Pascal helped me get it to actually compile but it failed on "make install"
after which, I had to manually transfer over several bodies (I used those
specified by the GPR file) and now I find it failing on linking, errors as
follows:

gnatmake -d -PC:\AWS\aws_test.gpr Test.adb
gcc -c -gnat05 -I- -gnatA C:\Programming\GNAT\2010\include\aws\aws-utils.adb
gcc -c -gnat05 -I- -gnatA
C:\Programming\GNAT\2010\include\aws\components\zlib.adb
gcc -c -gnat05 -I- -gnatA
C:\Programming\GNAT\2010\include\aws\aws-resources-streams-memory-zlib.adb
gcc -c -gnat05 -I- -gnatA
C:\Programming\GNAT\2010\include\aws\aws-resources-streams-zlib.adb
gcc -c -gnat05 -I- -gnatA
C:\Programming\GNAT\2010\include\aws\aws-client.adb
gnatbind -I- -x C:\AWS\Obj\test.ali
gnatlink C:\AWS\Obj\test.ali -o C:\AWS\test.exe
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.

[2012-06-06 22:49:49] process exited with status 4 (elapsed time: 12.95s)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/aws/attachments/20120607/fa229f8a/attachment.htm 


More information about the AWS mailing list