gcc compiler

Jerry Miller gmiller@cs.sunysb.edu
Fri Feb 23 01:08:00 GMT 2001


Oops!  I just looked again and realized that these are
not compilation errors, but rather unsatisfied externals
in the link step.  Include "-lsocket" in your gcc command
line.  Solaris requires this explicitly, while many other
flavors of UNIX automatically supply it.

Sorry for the hasty first response.  This should work.

----- Original Message ----- 
From: Salari, Morris M <MMSc@pge.com>
To: <help-gcc@gnu.org>
Sent: Thursday, February 22, 2001 8:04 PM
Subject: gcc compiler


> I am trying to compile a C program "http_get.c" with gcc compiler
> on Unix Solaris 2.6, it does not compile and gcc is giving me attaced
> error file. Please help if you could.
> gcc-2.8.1.
> Solaris 2.6.
> Morris Salari
> 415-927-6766 <<gccerror>> 
> 



More information about the Gcc-help mailing list