gnome-libs linking problems




I've had linking problems with gnome-libs since anoncvs came back up.
I've been kind of lazy in reporting it... trying to figure out if it's
a problem with my setup.  Since no one else has complained, I think it
is... but I'm at a loss.

The problem seems to be that the recently-compiled libraries [in .libs
dirs] aren't being linked in... instead, the installed libraries [in
/usr/local/lib] are... which is causing the symbol ref problems...
I attempted to manually modify the Makefile to include
"-L../libgnomeui/.libs", but libtool doesn't like relative dirs.

This [below] is representative of the problems I'm encountering... I have
similar problems with gnome-hello-7-mdi.o ["undefined symbol
`_gnome_mdi_*`..."] and testgnome.o ["undefined symbol `(_gnome_number_entry_|
_gnome_lamp_set_window_type|_gnome_less_set_fixed_font|_gnome_app_*|
_gnome_appbar_*)`..."]...

FreeBSD 2.2.2; recent CVS versions [since anoncvs returned].

I haven't been able to compile anything for a while... hopefully
someone can help me out...

...jsled

gmake -k output [formatted for readability]:

Making all in gnome-hello
gmake[2]: Entering directory `/usr/tmp/gnome-libs/gnome-hello'
/bin/sh ../libtool --mode=link gcc -I/usr/include -I/usr/X11R6/include
  -I/usr/local/include -o gnome-hello-4-SM  gnome-hello-4-SM.o
  ../libgnomeui/libgnomeui.la ../libgnome/libgnome.la
  ../support/libgnomesupport.la -lXpm -ljpeg -lpng -lz -lz -lSM -lICE
  -lgtk -lgdk -lglib -lXext -lX11 -lm
  -lgdk_imlib -ltiff -lgif -ljpeg -lpng -lz -lz -lSM -lICE 
  -lgtk -lgdk -lglib -lXext -lX11 -lm ../intl/libintl.a -lm 
LD_LIBRARY_PATH="../libgnomeui/.libs:../libgnome/.libs:
  ../support/.libs:$LD_LIBRARY_PATH"
  gcc -I/usr/include -I/usr/X11R6/include -I/usr/local/include -o
  .libs/gnome-hello-4-SM gnome-hello-4-SM.o -R/usr/local/lib -lgnomeui
  -lgdk_imlib -ltiff -lgif -ljpeg -lpng -lz -lz -lSM -lICE
  -lgtk -lgdk -lglib -lXext -lX11 -lm -lm -R/usr/local/lib
  -lgnome -lglib -lm -lm -R/usr/local/lib -lgnomesupport -lm -lXpm -ljpeg
  -lpng -lz -lz -lSM -lICE -lgtk -lgdk
  -lglib -lXext -lX11 -lm -lgdk_imlib -ltiff -lgif -ljpeg -lpng -lz -lz
  -lSM -lICE -lgtk -lgdk -lglib -lXext -lX11 -lm ../intl/libintl.a -lm
gnome-hello-4-SM.o: Undefined symbol `_gnome_master_client' referenced
  from text segment
gnome-hello-4-SM.o: Undefined symbol `_gnome_cloned_client' referenced
  from text segment
gnome-hello-4-SM.o: Undefined symbol `_gnome_client_disable_master_connection'
  referenced from text segment
gmake[2]: *** [gnome-hello-4-SM] Error 1



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