Build error on Solaris



I'm getting build errors on Solaris. With a PATH set including the path to 
the linker (Sun's), I get the following error:

echo "local: *; };" >> .libs/libgdk_pixbuf-2.0.so.0.400.0.exp
 gcc -shared -Wl,-M -Wl,.libs/libgdk_pixbuf-2.0.so.0.400.0.exp -Wl,-h 
-Wl,libgdk_pixbuf-2.0.so.0 -o .libs/libgdk_pixbuf-2.0.so.0.400.0  
.libs/gdk-pixbuf.o .libs/gdk-pixbuf-animation.o .libs/gdk-pixbuf-data.o 
.libs/gdk-pixbuf-io.o .libs/gdk-pixbuf-loader.o .libs/gdk-pixbuf-scale.o 
.libs/gdk-pixbuf-util.o .libs/gdk-pixdata.o .libs/gdk-pixbuf-enum-types.o 
-z allextract pixops/.libs/libpixops.a -z defaultextract  -L/usr/lib 
/usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgobject-2.0.so 
/usr/lib/libglib-2.0.so -lm -lc  -m32
ld: fatal: .libs/libgdk_pixbuf-2.0.so.0.400.0.exp: 2: unknown symbol scope 
definition `.libs/gdk-pixbuf-animation.o'
collect2: ld returned 1 exit status
make[4]: *** [libgdk_pixbuf-2.0.la] Error 1
make[4]: Leaving directory `/root/gtk+-2.4.0/gdk-pixbuf'
make[3]: *** [all-recursive] Error 1


Once I set the path to not include the linker, it passes that section but 
then I get this error:


gcc -m32 -Wall -o .libs/gdk-pixbuf-csource gdk-pixbuf-csource.o  
./.libs/libgdk_pixbuf-2.0.so /usr/lib/libgmodule-2.0.so -ldl 
/usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -lm -R/root/usr/lib
Undefined                       first referenced
 symbol                             in file
gdk_pixdata_from_pixbuf             gdk-pixbuf-csource.o
gdk_pixbuf_new_from_file            gdk-pixbuf-csource.o
gdk_pixdata_to_csource              gdk-pixbuf-csource.o
ld: fatal: Symbol referencing errors. No output written to 
.libs/gdk-pixbuf-csource
collect2: ld returned 1 exit status
make[4]: *** [gdk-pixbuf-csource] Error 1
make[4]: Leaving directory `/root/gtk+-2.4.0/gdk-pixbuf'
make[3]: *** [all-recursive] Error 1


I am quite sure I got through this once before with the 2.2.x series but I 
have no recollection how I did it. If anyone could point me at what might 
be going on here, I'd appreciate it.

Thanks,
Ric




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]