I'm trying to build PyGtk from CVS and get this compilation error:
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/python2.2
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -g -O2 -c gobjectmodule.c -MT gobjectmodule.lo -MD
-MP -MF .deps/gobjectmodule.TPlo -fPIC -DPIC -o gobjectmodule.o
gobjectmodule.c: In function `pygobject_register_class':
gobjectmodule.c:262: structure has no member named `tp_defined'
gobjectmodule.c: At top level:
gobjectmodule.c:446: warning: initialization from incompatible pointer type
gobjectmodule.c: In function `pyg_register_boxed':
gobjectmodule.c:476: structure has no member named `tp_defined'
gobjectmodule.c: At top level:
gobjectmodule.c:1687: warning: initialization from incompatible pointer type
gobjectmodule.c:1747: warning: initialization from incompatible pointer type
gobjectmodule.c: In function `pyg_register_interface':
gobjectmodule.c:1767: structure has no member named `tp_defined'
gobjectmodule.c: In function `pyg_type_register':
gobjectmodule.c:1965: structure has no member named `tp_defined'
gobjectmodule.c: In function `initgobject':
gobjectmodule.c:2359: structure has no member named `tp_defined'
gobjectmodule.c:2368: structure has no member named `tp_defined'
Looks like a .h file got checked in but someone forgot about gobjectmodule.c
(or the .h file got checked in too soon).
--
Skip Montanaro ([EMAIL PROTECTED])
http://www.mojam.com/
http://www.musi-cal.com/
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk