help-browser linking error

When trying to link gnome-help-browser in the gnome-core package I get:

gcc -g -O2 -Wall -o gnome-help-browser gnome-helpwin.o gnome-help-browser.o 
toc2.o toc2-man.o toc2-ghelp.o toc2-info.o docobj.o mime.o transport.o 
HTParse.o cache.o parseUrl.o queue.o history.o misc.o window.o visit.o magic.o 
bookmarks.o -L/usr/local/lib -lgnomeui -lgnome -lgnomesupport -ldl -lgdk_imlib 
-ltiff -lgif -ljpeg -lpng -lz -lgtk -lgdk -lglib -lm -L/usr/X11R6/lib -lSM 
-lICE -lX11 -lXext -lgtkxmhtml -lgtk -lgdk -lglib -lm -lXpm -ljpeg -lpng -lz 
-L/usr/X11R6/lib -lSM -lICE -lX11 -lXext
misc.o: In function `loadFileToBuf':
/usr/src/gnome-core-0.13/help-browser/misc.c:145: undefined reference to 
/usr/src/gnome-core-0.13/help-browser/misc.c:148: undefined reference to 
/usr/src/gnome-core-0.13/help-browser/misc.c:157: undefined reference to 
/usr/src/gnome-core-0.13/help-browser/misc.c:159: undefined reference to 
make[2]: *** [gnome-help-browser] Error 1
make[2]: Leaving directory `/usr/src/gnome-core-0.13/help-browser'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gnome-core-0.13'
make: *** [all-recursive-am] Error 2

I don't understand why this can happen, -lz is included in the list of 
libraries and running objdump -x on lists the required symbols. 
The rest of the package compiles fine, and I have alreday installed gnome-libs.

I am using gcc 2.8.0, on a redhat 5.0 (i386) system.


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