From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e52ce473deab9168,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-02 15:43:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!7189-cm.able.ES!not-for-mail From: Jano <402450@cepsz.unizar.es> Newsgroups: comp.lang.ada Subject: Gnat sockets undefined reference Date: Mon, 3 Feb 2003 00:43:00 +0100 Message-ID: NNTP-Posting-Host: 7189-cm.able.es (212.97.171.89) X-Trace: fu-berlin.de 1044229383 37584093 212.97.171.89 (16 [49872]) X-Newsreader: MicroPlanet Gravity v2.50 Xref: archiver1.google.com comp.lang.ada:33701 Date: 2003-02-03T00:43:00+01:00 List-Id: 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 -------------------------