Re: [gentoo-user] lsocket!?!

2006-04-04 Thread Graham Murray
Justin Hart [EMAIL PROTECTED] writes:

 I'm trying to compile some network code... but gcc is telling me
 cannot find -lsocket

 libsocket** is nowhere to be found in my library path?!?!  Is there a
 package that I can emerge to acquire this?

You should not need -lsocket as all of the socket 'stuff' is in
glibc. I suspect that you code was written for some other *nix not
Linux and does not use autoconf to detect the build environment.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] lsocket!?!

2006-04-04 Thread Matthias Bethke
Hi Justin,
on Tuesday, 2006-04-04 at 00:27:18, you wrote:
 I'm trying to compile some network code... but gcc is telling me
 cannot find -lsocket

That's right, the socket API is part of libc. That's some pretty old
code, isn't it? Just leave out the -lsocket and you should be fine.

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpYp0UBJ8L6f.pgp
Description: PGP signature


Re: [gentoo-user] lsocket!?!

2006-04-04 Thread Justin Hart
Haha.  Yes.  My code from Solaris.  Thanks.

Justin

On 4/4/06, Matthias Bethke [EMAIL PROTECTED] wrote:
 Hi Justin,
 on Tuesday, 2006-04-04 at 00:27:18, you wrote:
  I'm trying to compile some network code... but gcc is telling me
  cannot find -lsocket

 That's right, the socket API is part of libc. That's some pretty old
 code, isn't it? Just leave out the -lsocket and you should be fine.

 cheers!
 Matthias
 --
 I prefer encrypted and signed messages. KeyID: FAC37665
 Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665





--
Justin W. Hart

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] lsocket!?!

2006-04-03 Thread Justin Hart
I'm trying to compile some network code... but gcc is telling me
cannot find -lsocket

libsocket** is nowhere to be found in my library path?!?!  Is there a
package that I can emerge to acquire this?
--
Justin W. Hart

-- 
gentoo-user@gentoo.org mailing list