This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Linker Error on Solaris 2.5.1 with GCC 2.95
- To: GCC List <gcc@gcc.gnu.org>
- Subject: Linker Error on Solaris 2.5.1 with GCC 2.95
- From: Anna Winkler <awinkler@maad.com>
- Date: Thu, 12 Aug 1999 17:08:29 -0600
Hi,
I'm compiling a 3rd party application on Solaris 2.5.1 with GCC 2.95. I
installed the Solaris 2.5 freeware package of GCC 2.95, so it was not
compiled on my system.
At the final link stage, I get an error from ld:
/usr/local/bin/make -j4 CC="g++" DEBUG="-g -pedantic -Wall -Wstrict-prototypes -DDEBUG_MENU " ipme
make[1]: Entering directory `/export/home/awinkler/ipme1'
g++ -o ipme -g -g -pedantic -Wall -Wstrict-prototypes -DDEBUG_MENU database/database.o measure/measure.o micro_models/micro_models.o environment/environment.o operator/operator.o resources/resources.o sockets/sockets.o hftd/hftd.o workspace/workspace.o psf/psf.o main/main.o workload/workload.o utils/utils.o user_interface/user_interface.o execSettings/execSettings.o ippct/ippct.o simulator/simulator_tot.o mem_model/mem_model.o -L/usr/local/lib/magick -L/usr/local/XRT/lib -L/usr/openwin/lib/X11 -L/usr/local/raima4.5.2/lib/sol2 -L/usr/lib -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95/ -L/usr/dt/lib -L/usr/openwin/lib \
-lMagick -lxrtgear -lxrttable -lXpm -lXm -lXpm -lXt -lXext -lX11 -lm -lvistact -lvistamu -lXmu
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95//libgcc.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [ipme] Error 1
I updated my path so that the ld in /usr/ccs/bin is the one found first
(instead of the one in /usr/ucb/bin).
Does anyone have any suggestions?
Thanks very much,
Anna Winkler