gdk_pixbuf_marshal link problem



With CVS glib and gtk+, gcc 4.1.2 20060628 prerelease, binutils 2.16.1,

libtool: link: gcc -DG_DISABLE_DEPRECATED -g -O2 -Wall -Wl,-R/usr/local/lib -o .libs/gdk-pixbuf-csource gdk-pixbuf-csource.o  -L/usr/local/lib ./.libs/libgdk_pixbuf-2.0.so /usr/local/lib/libgmodule-2.0.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libglib-2.0.so -lintl -lm -Wl,-rpath -Wl,/usr/local/lib
./.libs/libgdk_pixbuf-2.0.so: undefined reference to `_gdk_pixbuf_marshal_VOID__INT_INT'
./.libs/libgdk_pixbuf-2.0.so: undefined reference to `_gdk_pixbuf_marshal_VOID__INT_INT_INT_INT'

and sure enough:

% nm -D gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so | grep gdk_pixbuf_marshal
         U _gdk_pixbuf_marshal_VOID__INT_INT
         U _gdk_pixbuf_marshal_VOID__INT_INT_INT_INT
0000395c T gdk_pixbuf_marshal_VOID__INT_INT
000039f8 T gdk_pixbuf_marshal_VOID__INT_INT_INT_INT

This was after a distclean, remove *stamp* files, autogen.sh run.

Now, the two undefined symbols are declared extern void in gdk-pixbuf-marshal.h,
and defined in gdk-pixbuf-marshal.c, but I don't see gdk-pixbuf-marshal.c
ever getting compiled in Makefile.am. I do see it being created from
gdk-pixbuf-marshal.list, but not compiled..

What am I missing?

Cheers,

Patrick



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