Re: [gtk-list] Re: gtk+-1.2.0 compile problems



Havoc Pennington wrote:

> For gcc, the GNU toolset will choose the optimizations considered "best"
> by the experts so it is probably best to leave the defaults.
> 
> (it's worth trying anyway - start with an untouched tarball.)

Well, I just gave this a shot...to no avail.  I went ahead and removed
the glib-1.1.13 and gtk+-1.1.13 rpms and then ran "make install" of
my successfully compiled glib-1.2.0.  It installed fine.  I ran
"ldconfig"
and then re-ran ./configure in my gtk+-1.2.0 source directory (I had
removed the config.log and config.status files first).  It configured
fine with no errors.  I then ran "make" and it crapped out again:

gcc -g -O2 -Wall -o .libs/testgtk testgtk.o -Wl,--rpath
-Wl,/usr/local/lib .libs
/libgtk.so -L/usr/X11R6/lib -lXext -lX11 -lm -Wl,--rpath
-Wl,/usr/local/lib ../g
dk/.libs/libgdk.so -L/usr/X11R6/lib -lXext -lX11 -lm -L/usr/X11R6/lib
-lXext -lX
11 -L/usr/local/lib -rdynamic -lgmodule -lglib -ldl -lm
../gdk/.libs/libgdk.so: undefined reference to `XGetDeviceMotionEvents'
../gdk/.libs/libgdk.so: undefined reference to `XFreeDeviceList'
../gdk/.libs/libgdk.so: undefined reference to `XQueryDeviceState'
../gdk/.libs/libgdk.so: undefined reference to `XListInputDevices'
../gdk/.libs/libgdk.so: undefined reference to `XFreeDeviceMotionEvents'
../gdk/.libs/libgdk.so: undefined reference to `XOpenDevice'
../gdk/.libs/libgdk.so: undefined reference to `XSelectExtensionEvent'
../gdk/.libs/libgdk.so: undefined reference to `XUngrabDevice'
../gdk/.libs/libgdk.so: undefined reference to `XGrabDevice'
make[2]: *** [testgtk] Error 1
make[2]: Leaving directory `/usr/src/gtk/gtk+-1.2.0/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gtk/gtk+-1.2.0'
make: *** [all-recursive-am] Error 2 

So yet again...a gtk compile problem.  Any ideas on this?  This is
REALLY getting to be monotonous and supremely irritating.

I have kernel 2.2.1 installed and running, Xfree 3.3.3.1-1.

Now, having removed the previous glib and gtk so I could cleanly 
install these newer libs...gtk just isn't cooperating at all.
-- 
-------------------------------------------
"If a man hasn't discovered something that
he will die for, he isn't fit to live."
	          --Martin Luther King, Jr
-------------------------------------------

Padraig UiNiall



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