This is the mail archive of the gcc-bugs@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]

Help in compiling code



> I am having problems trying to re-compile and link, using GCC 2.8.1 on
> Solaris 2.6, the C code attached that was originally compiled using a Sun
> compiler as a shared object. I tried compiling and linking it using the
> commands saved in 'gcctext', and got the 'Undefined symbol' error when
> linking. Am I missing one the libraries in gcc? 
> 
> Any assistance in compiling the program to run on Solaris (sorry we don't
> use the gnu OS on our machines yet) would be much appreciated.
> 
>  <<spawn2.c>>  <<gcctext>> 
> Many thanks
> 
> Noel
> 
> Noel Robertson
> Space Department
> Room 1004
> Arthur C.Clarke Building
> DERA Farnborough
> Hampshire
> GU14 0LX
> United Kingdom
> 
> Tel  44 01252 394264
> Fax 44 01252 396320
> Email   narobertson@scs.dera.gov.uk
> 

spawn2.c

gcctext


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