Peter Weilbacher | 26 May 2006 21:14

Re: Linking with -lsocket

On Fri, 26 May 2006 12:56:43 UTC, "Knut St. Osmundsen" wrote:

> It's really located it m:/MOZCOMPILE/GCC335/lib/tcpipv4 with your 
> mozilla setup. I think you are just mixing tcpip v4 and tcpip v4.1+ 
> stuff. You should make sure you define TCPV40HDRS when compiling, or not 
> include m:/MOZCOMPILE/GCC335/lib/tcpipv4 in the library paths 
> (LIBRARY_PATH or LIBS(?)) when linking.

OK, removed that dir from LIBRARY_PATH and now it works. The resulting 
files are using TCPIP32.DLL now, as expected. Thanks for the hint.

Somehow the GnuPG configure is doing something bad, too, because it 
selects the double underscored versions of the TCP/IP functions, even 
though it could also use the ones without underscore. But OK, now that I
have it working I won't waste any more time on that...

> What's with this weird "/lib/libsocket.a" message, I don't really know. 
>    You don't by any chance happen to have a /lib directory?

No.
--

-- 
Greetings,                                                             ^
   Peter.

Gmane