GTK+ 1.2.7: failing to compile gtkmain.c



Hi. I compiled succesfully GLib/GTK+ 1.2.6 and didn't changed
anything on the machine. I compiled GLib 1.2.7 using objdir
(compiling from another directory), and tried the same for
GTK+, configured with --with-xinput=xfree --disable-nls
--disable-glibtest. The error:

/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../../gtk
-I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H
-DGTK_EXE_PREFIX=\"/usr/local\" -DGTK_DATA_PREFIX=\"/usr/local\" -DGTK_SYSCONFDIR=\"/usr/local/etc\" -DGTK_LOCALEDIR=\"/usr/local/share/locale\" -I../.. -DGTK_NO_CHECK_CASTS
-DUSE_XIM -I/usr/local/lib/glib/include -I/usr/local/include
-D_REENTRANT -I/usr/X11R6/include    -g -O2 -Wall -c
../../gtk/gtkmain.c
rm -f .libs/gtkmain.lo
gcc -DHAVE_CONFIG_H -I. -I../../gtk
-I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H
-DGTK_EXE_PREFIX=\"/usr/local\" -DGTK_DATA_PREFIX=\"/usr/local\" -DGTK_SYSCONFDIR=\"/usr/local/etc\" -DGTK_LOCALEDIR=\"/usr/local/share/locale\" -I../.. -DGTK_NO_CHECK_CASTS
-DUSE_XIM -I/usr/local/lib/glib/include -I/usr/local/include
-D_REENTRANT -I/usr/X11R6/include -g -O2 -Wall -c
../../gtk/gtkmain.c  -fPIC -DPIC -o .libs/gtkmain.lo
gcc -DHAVE_CONFIG_H -I. -I../../gtk
-I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H
-DGTK_EXE_PREFIX=\"/usr/local\" -DGTK_DATA_PREFIX=\"/usr/local\" -DGTK_SYSCONFDIR=\"/usr/local/etc\" -DGTK_LOCALEDIR=\"/usr/local/share/locale\" -I../.. -DGTK_NO_CHECK_CASTS
-DUSE_XIM -I/usr/local/lib/glib/include -I/usr/local/include
-D_REENTRANT -I/usr/X11R6/include -g -O2 -Wall -c
../../gtk/gtkmain.c -o gtkmain.o >/dev/null 2>&1
make[2]: *** [gtkmain.lo] Error 1
make[2]: Leaving directory
`/usr/local/src/gtk+-1.2.7/objdir/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/gtk+-1.2.7/objdir'
make: *** [all-recursive-am] Error 2

What's wrong? I don't see any error message. After this I have
-rw-rw-r-- 1 fredlwm fredlwm 111000 Feb 17 07:13 gtkmain.lo in
/usr/local/src/gtk+-1.2.7/objdir/gtk/.libs, but of course no
/usr/local/src/gtk+-1.2.7/objdir/gtk/gtkmain.o

RedHat 5.1 with all the updates, Linux Kernel 2.2.9. XFree86
3.3.5.



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