Re: cannot compile gtk-xmhtml in gnome-libs



On Sat, 9 May 1998, Chuck Adams wrote:

>I've had this problem for some time.  This latest time I am using a CVS
>tree that was just fetched a couple hours ago and the problem still
>exists.  the xmhtml widget fails to link in the correct libs, and
>unfortunately the missing symbol is in at least a dozen
>different libraries around the system.
>
>../autogen.sh --prefix=/usr/local/gnome
>make
>
>Which goes through and does its thing, until it makes the xmhtml widget:
>
>gcc -g -O2 -o .libs/htmltest test.o -Wl,--rpath -Wl,/usr/local/gnome/lib ../gtk-xmhtml/.libs/libgtkxmhtml.so -lXpm -ljpeg -lpng -lz -lSM -lICE -L/usr/local/gtk/lib -L/usr/X11/lib -lgtk-1.1 -lgdk-1.1 -lglib-1.1 -lXext -lX11 -lm -lm -lXpm -ljpeg -lpng -lz -lSM -lICE -L/usr/local/gtk/lib -L/usr/X11/lib -lgtk-1.1 -lgdk-1.1 -lglib-1.1 -lXext -lX11 -lm -lm
>.../gtk-xmhtml/.libs/libgtkxmhtml.so: undefined reference to `uncompress'
>.../gtk-xmhtml/.libs/libgtkxmhtml.so: undefined reference to `compress'
>make[2]: *** [htmltest] Error 1
>make[2]: Leaving directory `/home/cjadams/proj/gnome/gnome-libs/gtk-xmhtml'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/home/cjadams/proj/gnome/gnome-libs'
>make: *** [all-recursive-am] Error 2

According to GNOME-compile-faq, this may be caused on some Redhat by
/usr/X11R6/lib/libz.a which needs to be removed.

I didn't have the problem although /usr/X11R6/lib/libz.a wasn't
removed. It was only after installing the new zlib (1.1.2) I got it. When
I went back to 1.1.1, the problem disappeared. My linux is a derived
MCC-Interim.

junichi




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