Linking/Building with gcc2.95 on Solaris 7
Robert Phillips
rphillips@unum.com
Mon Jun 19 08:54:00 GMT 2000
Forgive me if this is not the proper
forum for this question. I downloaded the Solaris 7 package of gcc 2.95 from
http://www.sunfreeware.com
and was able to install it (with
apparently no problems) - but when I go to compile/link/build anything here's
the error I receive:
ÃÂ
ÃÂ ÃÂ $ gcc hello.c
ÃÂ ÃÂ ld: fatal: file
values-Xa.o: cannot open file: No such file or directory
ÃÂ ÃÂ ld: fatal: File processing
errors. No output written to a.out
ÃÂ ÃÂ collect2: ld returned 1
exit status
ÃÂ
Any ideas what may be causing
this?
ÃÂ
If I try to just compile with the gcc -c
option I don't get any error messages.
ÃÂ
The problem seems to be with ld.
It appears that ld is looking for the file
values-Xa.o which doesn't seem to
exist on my system. Is there something
else I need to install in order to get
gcc to work? Is gcc looking for a
different version of ld possibly?
ÃÂ
Thanks for your help...Rob
Phillips
More information about the Gcc
mailing list