* Gnat sockets undefined reference @ 2003-02-02 23:43 Jano 2003-02-03 6:48 ` Simon Wright 2003-02-03 8:53 ` Jano 0 siblings, 2 replies; 3+ messages in thread From: Jano @ 2003-02-02 23:43 UTC (permalink / raw) Hello, I'm getting these errors: C:\ARCHIV~1\gnat\lib\gcc-lib\pentium-mingw32msv\2.8.1\adalib\libgnat.a (g-socket.o)(.text+0xe75):g-socket.adb: undefined reference to `ioctlsocket@12' C:\ARCHIV~1\gnat\lib\gcc-lib\pentium-mingw32msv\2.8.1\adalib\libgnat.a (g-socket.o)(.text+0x2bb3):g-socket.adb: undefined reference to `sendto@ 24' C:\ARCHIV~1\gnat\lib\gcc-lib\pentium-mingw32msv\2.8.1\adalib\libgnat.a (g-socthi.o)(.text+0xa1d):g-socthi.adb: undefined reference to `WSACleanup@0' when trying to use gnat.sockets (still not making any call to any of its members, simply with'ed it). I've tried to pass -lwsock32 in the command line and with the linker_options pragma, but without success. I'm using gnat 3.15p on windows 2000 SP3. Any thoughts? TIA, -- ------------------------- Jano 402450[at]cepsz.unizar.es ------------------------- ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Gnat sockets undefined reference 2003-02-02 23:43 Gnat sockets undefined reference Jano @ 2003-02-03 6:48 ` Simon Wright 2003-02-03 8:53 ` Jano 1 sibling, 0 replies; 3+ messages in thread From: Simon Wright @ 2003-02-03 6:48 UTC (permalink / raw) Jano <402450@cepsz.unizar.es> writes: > I'm getting these errors: > > C:\ARCHIV~1\gnat\lib\gcc-lib\pentium-mingw32msv\2.8.1\adalib\libgnat.a > (g-socket.o)(.text+0xe75):g-socket.adb: undefined reference to > `ioctlsocket@12' Have you installed ftp://cs.nyu.edu/pub/gnat/3.15p/winnt/gnatwin-3.15p.exe ? ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Gnat sockets undefined reference 2003-02-02 23:43 Gnat sockets undefined reference Jano 2003-02-03 6:48 ` Simon Wright @ 2003-02-03 8:53 ` Jano 1 sibling, 0 replies; 3+ messages in thread From: Jano @ 2003-02-03 8:53 UTC (permalink / raw) Jano <402450@cepsz.unizar.es> wrote in message news:<MPG.18a7cb6c7a65f42d98968e@News.CIS.DFN.DE>... > I'm getting these errors: > > (...) > when trying to use gnat.sockets (still not making any call to any of its > members, simply with'ed it). I've tried to pass -lwsock32 in the command > line and with the linker_options pragma, but without success. I'm using > gnat 3.15p on windows 2000 SP3. Answering to myself, I've found the problem to be that I was using AWS and adasockets. Removing the pragma in Sockets.Windows_link also removes the problem... now I don't even need the -lwsock32 option... ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-02-03 8:53 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-02-02 23:43 Gnat sockets undefined reference Jano 2003-02-03 6:48 ` Simon Wright 2003-02-03 8:53 ` Jano
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox