Re: Compiling problems



> I was trying to build the gnome-libs to a different subdirectory, and
> I'm getting the following error:
> 
> /bin/sh ../libtool --mode=link pgcc -O6 -mpentium -Wall -Wno-unused -o
> htmltest test.o ../gtk-xmhtml/libgtkxmhtml.la -lXpm -ljpeg
> -lpng -lz -lz -lSM -lICE -L/usr/X11R6/lib -L/usr/X11/lib -lgtk -lgdk
> -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm -lz -lm 
> pgcc -O6 -mpentium -Wall -Wno-unused -o .libs/htmltest test.o
> -Wl,--rpath -Wl,/usr/X11R6/lib ../gtk-xmhtml/.libs/libgtkxmhtml.so
> -lXpm -ljpeg -lpng -lz -lz -lSM -lICE -L/usr/X11R6/lib -L/usr/X11/lib
> -lgtk -lgdk -lgmodule -lglib -ldl -lXext -lX11 -lm -lz -lm
> -lXpm -ljpeg -lpng -lz -lz -lSM -lICE -L/usr/X11R6/lib -L/usr/X11/lib
> -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm
> -lz -lm
> ../gtk-xmhtml/.libs/libgtkxmhtml.so: undefined reference to
> `uncompress'
> ../gtk-xmhtml/.libs/libgtkxmhtml.so: undefined reference to `compress'
> 
> What am I missing?

You have a libz.a in /usr/X11R6/lib.  Get rid of it (rename it whatever)
and it should compile OK.  I have this file on my RH 5.1 NetWinder box
but not on my RH 5.2 box.

b.



--
Brian J. Murrell                              InterLinx Support Services, Inc.
North Vancouver, B.C.                                             604 983 UNIX
        Platform and Brand Independent UNIX Support - R3.2 - R4 - BSD



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