Re: build fails



I had this problem too... let me guess, you're using gdkxft?

You need to unset LD_PRELOAD before building gnome2 - gdkxft doesn't play nicely with gdk2, since, well, gdk2 is very different in the places gdkxft replaces, afaik. gdkxft isn't needed for gtk2 anyway.

Julian
--
email: julian jabber org
jabber:julian jabber org

Frank wrote:

Hi all,

I am trying to build gnome 2 with the vicious build scripts. However,
the gtk+ build is failing somewhere in gdk-pixbuf. The make output is
below. If someone could figure this out that would be great. I'm really
itching to try the new stuff.
Keep up all the great work guys and have a good Christmas! :)

- Frank


gdk-pixbuf-scan.c: In function `main':
gdk-pixbuf-scan.c:64: warning: implicit declaration of function
`gtk_init'
gcc -g -O2 -g -Wall -I../../.. -I../../.. -I../../../gdk
-DG_ENABLE_DEBUG -I/gnome/head/INSTALL/include/pango-1.0
-I/usr/X11R6/include -I/gnome/head/INSTALL/include/glib-2.0
-I/gnome/head/INSTALL/lib/glib-2.0/include -I/usr/include/freetype2
-I/gnome/head/INSTALL/include/atk-1.0 -c gdk-pixbuf-scan.c -o
gdk-pixbuf-scan.o >/dev/null 2>&1
mv -f .libs/gdk-pixbuf-scan.lo gdk-pixbuf-scan.lo
gcc -o .libs/gdk-pixbuf-scan gdk-pixbuf-scan.o ../../../gdk-pixbuf/.libs/libgdk_pixbuf-1.3.so -L/gnome/head/INSTALL/lib
../../../gdk/.libs/libgdk-x11-1.3.so -L/usr/X11R6/lib -L/usr/lib
../../../gtk/.libs/libgtk-x11-1.3.so
/gnome/head/cvs/gtk+/gdk/.libs/libgdk-x11-1.3.so
/gnome/head/cvs/gtk+/gdk-pixbuf/.libs/libgdk_pixbuf-1.3.so
/gnome/head/INSTALL/lib/libpangox.so
/gnome/head/INSTALL/lib/libpangoxft.so -lXft -lXrender -lXext -lX11
/usr/lib/libfreetype.so /gnome/head/INSTALL/lib/libpango.so
/gnome/head/INSTALL/lib/libatk.so
/gnome/head/INSTALL/lib/libgobject-1.3.so
/gnome/head/INSTALL/lib/libgmodule-1.3.so -ldl
/gnome/head/INSTALL/lib/libglib-1.3.so -lm  -Wl,--rpath
-Wl,/gnome/head/INSTALL/lib
creating gdk-pixbuf-scan

lt-gdk-pixbuf-scan (pid:16531): GLib-GObject-CRITICAL **:
gtype.c:1787:g_type_register_static(): initialization assertion failed,
use g_type_init() prior to this function

lt-gdk-pixbuf-scan (pid:16531): GLib-GObject-CRITICAL **:
gtype.c:1787:g_type_register_static(): initialization assertion failed,
use g_type_init() prior to this function

lt-gdk-pixbuf-scan (pid:16531): GLib-GObject-WARNING **: invalid cast
from (NULL) pointer to `<invalid>'
Scan failed
make[4]: *** [scan-build.stamp] Error 255
make[4]: Leaving directory
`/gnome/head/cvs/gtk+/docs/reference/gdk-pixbuf'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/gnome/head/cvs/gtk+/docs/reference'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/gnome/head/cvs/gtk+/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/gnome/head/cvs/gtk+'
make: *** [all-recursive-am] Error 2

ERROR:gtk+: Cant make all


Build failed on gtk+






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