strange problem w/ gnome-core and zlib



Hi,

I haven't been able to compile gnome-core (from CVS) for a week or so. I'm
not sure if the problem is in gnome-core or if I've accidentally broken
something..

This is what I get:

gcc -O6 -mpentium -march=pentium -funroll-loops -mstack-align-double
-fomit-frame-pointer -Wall -W -Wmissing-prototypes -Wmissing-declarations
-Wpointer-arith -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 check-running.o -rdynamic
-L/opt/gnome/lib -L/usr/X11R6/lib -L/usr/lib -rdynamic -lgnomeui
-lgdk_imlib -ljpeg -ltiff -lungif -lpng -lz -lSM -lICE -lgtk-1.1 -lgdk-1.1
-lgmodule-1.1 -lXext -lX11 -lm -lgnome -lgnomesupport -ldb -lglib-1.1 -ldl
-rdynamic -lgtkxmhtml -lXpm -ljpeg -lpng -lz -lSM -lICE -lgtk-1.1
-lgdk-1.1 -lgmodule-1.1 -lglib-1.1 -ldl -lXext -lX11 -lm
misc.o: In function `loadFileToBuf':
misc.o(.text+0x33a): undefined reference to `gzopen'
misc.o(.text+0x368): undefined reference to `gzread'
misc.o(.text+0x3bb): undefined reference to `gzread'
misc.o(.text+0x3cf): undefined reference to `gzclose'
make[2]: *** [gnome-help-browser] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/gnome-core/help-browser'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/gnome-core'
make: *** [all-recursive-am] Error 2

I do have zlib (1.1.3) installed and the example program that comes with
zlib compiles just fine. I don't understand what causes those "undefined
reference" messages...

By the way, shouldn't configure check for zlib? Currently it doesn't.

Thanks in advance,

  Mika



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