This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
ld errors on Solaris 2.9
- From: Sunil <funtoos at yahoo dot com>
- To: binutils at sources dot redhat dot com
- Date: Mon, 10 May 2004 17:14:13 -0700 (PDT)
- Subject: ld errors on Solaris 2.9
Hi,
I get the following error with compiling libgnomeprint
with gcc 3.3.3 and GNU binutils(vanilla 2.14):
---------------------------------------------
gcc -Wall -Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wno-sign-compare
-I/home/opt/usr/include -Os -w -fforce-addr -pipe
-fomit-frame-pointer -mcpu=v9 -mtune=ultrasparc -Wall
-Wmissing-prototypes -Wnested-externs -Wpointer-arith
-Wno-sign-compare -o .libs/generate generate.o
-Wl,--export-dynamic -L/home/opt/usr/lib
-L/home/opt/lib -L/usr/openwin/lib
../libgnomeprint/.libs/libgnomeprint-2-2.so
-L/home/opt/usr/openwin/lib
/home/opt/usr/lib/libart_lgpl_2.so
/home/opt/usr/lib/libpango-1.0.so
/home/opt/usr/lib/libgobject-2.0.so
/home/opt/usr/lib/libgmodule-2.0.so
/home/opt/usr/lib/libglib-2.0.so
/home/opt/usr/lib/libintl.so -lc
/home/opt/usr/lib/libxml2.so -lpthread
/home/opt/usr/lib/libiconv.so -lm -lsocket -lnsl
-lstrndup /home/opt/usr/lib/libfontconfig.so
/home/opt/usr/lib/libexpat.so
/home/opt/usr/lib/libfreetype.so -lz
/home/opt/usr/lib/libpopt.so -L/usr/ucblib -Wl,--rpath
-Wl,/home/opt/usr/lib
/home/opt/usr/lib/libfontconfig.so: undefined
reference to `mkstemp@SUNWprivate_1.1'
collect2: ld returned 1 exit status
make[3]: *** [generate] Error 1
-----------------------------
In /home/opt/usr/lib, there is only one library which
has reference to mkstemp@@SUNWprivate_1.1 and that lib
is libgnomeprint which I am trying to build when I get
this error.
This system was upgraded from solaris 2.6 to 2.9
recently. On solaris 2.9, GCC 3.3.3 has been compiled
with /usr/ccs/bin/ld and then compiled with
binutils-2.14 after building binutils with this GCC.
All other libs are from 2.6. GCC builds 32 by default.
Is there a way to resolve this issue short of building
the whole darn gnome again(which may not work either).
Thanks a lot.
Sunil
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover