Bonjour a tous,
J'essaie de compiler un programme qui utilise AWS avec GNAT PRO 5.01a mais j'ai un probleme de lien. Voici les messages d'erreur:
gcc -c -Ic:\projects\AWS\lib -Ic:\projects\AWS\include -Ic:\projects\AWS\components -Ic:\projects\AWS\components -Ic:\projects\AWS\include awsuls.adb
a-stream.ads:69:04: run-time configuration error
gnatmake: "awsuls.adb" compilation error
gnatbind -aO./ -Ic:\AWS\lib -Ic:\AWS\include -Ic:\AWS\components -Ic:\AWS\components -Ic:\AWS\include -I- -x awsuls.ali
gnatlink awsuls.ali -Lc:\AWS\lib -laws
C:\GNATPRO\5.01a\lib\gcc-lib\pentium-mingw32msv\3.2.3\adalib\libgnat.a(g-socthi.o)(.text+0x83d):g-socthi.adb: undefined reference to `WSASetLastError@4'
C:\GNATPRO\5.01a\lib\gcc-lib\pentium-mingw32msv\3.2.3\adalib\libgnat.a(g-socket.o)(.text+0x11f2):g-socket.adb: undefined reference to `ioctlsocket@12'
C:\GNATPRO\5.01a\lib\gcc-lib\pentium-mingw32msv\3.2.3\adalib\libgnat.a(g-socket.o)(.text+0x12dd):g-socket.adb: undefined reference to `getsockname@12'
C:\GNATPRO\5.01a\lib\gcc-lib\pentium-mingw32msv\3.2.3\adalib\libgnat.a(g-socket.o)(.text+0x1618):g-socket.adb: undefined reference to `gethostbyaddr@12'
C:\GNATPRO\5.01a\lib\gcc-lib\pentium-mingw32msv\3.2.3\adalib\libgnat.a(g-socket.o)(.text+0x174e):g-socket.adb: undefined reference to `gethostbyname@4'
C:\GNATPRO\5.01a\lib\gcc-lib\pentium-mingw32msv\3.2.3\adalib\libgnat.a(g-socket.o)(.text+0x184d):g-socket.adb: undefined reference to `getpeername@12'
C:\GNATPRO\5.01a\lib\gcc-lib\pentium-mingw32msv\3.2.3\adalib\libgnat.a(g-socket.o)(.text+0x1989):g-socket.adb: undefined reference to `getservbyname@8'
C:\GNATPRO\5.01a\lib\gcc-lib\pentium-mingw32msv\3.2.3\adalib\libgnat.a(g-socket.o)(.text+0x1a76):g-socket.adb: undefined reference to `getservbyport@8'
C:\GNATPRO\5.01a\lib\gcc-lib\pentium-mingw32msv\3.2.3\adalib\libgnat.a(g-socket.o)(.text+0x1b80):g-socket.adb: undefined reference to `getsockname@12'
C:\GNATPRO\5.01a\lib\gcc-lib\pentium-mingw32msv\3.2.3\adalib\libgnat.a(g-socket.o)(.text+0x1d7d):g-socket.adb: undefined reference to `getsockopt@20'
C:\GNATPRO\5.01a\lib\gcc-lib\pentium-mingw32msv\3.2.3\adalib\libgnat.a(g-socket.o)(.text+0x202e):g-socket.adb: undefined reference to `gethostname@8'
gnatmake: *** link failed.
Quelqu'un a deja eu ce genre de probleme?