This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc compiler


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>> 
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]