ftpproxy  

[general-l] Compilation problem on Solaris 8 with GCC 2.95.3 {02}

Gregoire Barbier
Fri, 03 Jan 2003 17:11:38 +0100

En réponse à "Paquet, Gilles" <[EMAIL PROTECTED]>:
> I've a compilation error on a solaris 8 with gcc 2.95.3 (with libgcc
> 3.0) . Do you have an idea of the problem ?
> 
> I think it's related to a shared library, but I can't figure which
> one.

On Solaris, sockets functions are in a separated library.
You have to add theses flags when linking: -lnsl -lsocket

Regards.

--
Gregoire Barbier - gregoire.barbier(at)free.fr - +33 6 21 35 73 49
  • [general-l] Compilation problem on Solaris 8 with GCC 2.95.3 {02} Gregoire Barbier