Re: frazzled: imlib on Solaris 2.5.1



On Thu, May 20, 1999 at 11:08:51AM -0400, allbery@ece.cmu.edu wrote:
> I've been fighting with this for the past few days, and can't figure
> out what's going wrong:
> 
> /bin/sh ../libtool --mode=link gcc -Vegcs-2.91.66 -include /home/allbery/bld/configure-hack.h  -I/opt/gprereq/include  -o imlib_config  imlib_config.o icons.o testimg.o ../gdk_imlib/libgdk_imlib.la           -L/opt/gnome/lib -L/usr/openwin/lib -R/usr/openwin/lib -lgtk -lgdk -lgmodule -lglib -ldl -lintl -lXext -lX11 -lw -lm                                             -ljpeg -ltiff -lungif -lpng -lz -lm -L/opt/gprereq/lib -L/usr/local/lib -lbind -lsocket -lnsl -lmalloc
> mkdir .libs
> gcc -Vegcs-2.91.66 -include /home/allbery/bld/configure-hack.h -I/opt/gprereq/include -o .libs/imlib_config imlib_config.o icons.o testimg.o ../gdk_imlib/.libs/libgdk_imlib.so -L/opt/gprereq/lib -L/usr/local/lib -lbind -lsocket -lnsl -lmalloc -L/opt/gnome/lib -L/usr/openwin/lib -lgtk -lgdk -lgmodule -lglib -ldl -lintl -lXext -lX11 -lw -lm -ljpeg -ltiff -lungif -lpng -lz -lm -L/opt/gprereq/lib -L/usr/local/lib -lbind -lsocket -lnsl -lmalloc -R/opt/gnome/lib -R/usr/openwin/lib
> ld: warning: file /usr/local/lib/libungif.so: section .stabstr: malformed string table, initial or final byte
> Undefined                       first referenced
>  symbol                             in file
> g_static_mutex_get_mutex_impl       /opt/gnome/lib/libgmodule.so
> g_thread_functions_for_glib_use     /opt/gnome/lib/libgmodule.so
> gtk_toggle_button_set_active        imlib_config.o
> g_static_private_get                /opt/gnome/lib/libgmodule.so
> gtk_type_check_object_cast          imlib_config.o
> g_thread_use_default_impl           /opt/gnome/lib/libgmodule.so
> g_static_private_set                /opt/gnome/lib/libgmodule.so
> g_threads_got_initialized           /opt/gnome/lib/libgmodule.so
> gtk_container_set_border_width      imlib_config.o
> gtk_window_set_position             imlib_config.o
> g_log                               ../gdk_imlib/.libs/libgdk_imlib.so
> ld: fatal: Symbol referencing errors. No output written to .libs/imlib_config
> make[2]: *** [imlib_config] Error 1
> make[2]: Leaving directory `/home/allbery/bld/imlib/utils'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/allbery/bld/imlib'
> make: *** [all-recursive-am] Error 2
> 
> (same failure with GNU ld)
> 
> All the symbols are defined, and I don't see any particular ordering
> problems in the link line.  ?????

I experienced analogous problems compiling several packages on
RH6.0 on a FS connected to Solaris 2.
We have yet not finally resolved the problem, but if avoiding
NFS everything is OK. Repeat compiling one module several times
and test it with e.g. objdump -j. In our case the object file
was sometimes OK and sometimes the string table was malformed.
This hints at a race-condition (of NFS?)

-Jan

-- 
			Institute of Environmental Systems Research
Jan-Oliver Wagner	University of Osnabrueck, Germany
			http://www.usf.Uni-Osnabrueck.DE/~jwagner

PGP signature



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