On Sat, 2005-08-13 at 13:36 +0200, redclay wrote: > Hello, > I'm tying to compile pygtk 2.7.3 on win32, I have used this commnd: > > python setup.py build -cmingw32 --enable-threading > > I have modified the file setup.py to build gobject adding this at line 136: > > 'gobject/pygiochannel.c', 'gobject/pygsource.c' > > I get this error when compiling pango:
It seems you are not linking with pango >= 1.9.1, as you should. It's strange also because pygtk automatically includes replacement pango_*_get_type() functions when they're not available, which seems to indicate that you may be including pango headers for one (newer) version but linking with an older version. > > ----------------------- > C:\opt\gnuwin32\bin\gcc.exe -mno-cygwin -shared -s > build\temp.win32-2.3\Release\pango.o buil > d\temp.win32-2.3\Release\pangomodule.o build\temp.win32-2.3\Release\pango.def > -LC:/opt/gnuwin32/lib -LC:\Python23\libs - > LC:\Python23\PCBuild -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl > -liconv -lpython23 -o build\lib.win32-2.3 > \pango.pyd -lgthread-2.0 -lglib-2.0 -lintl -liconv > build\temp.win32-2.3\Release\pango.o:pango.c:(.text+0x229a): undefined > reference > to `pango_item_get_type' > build\temp.win32-2.3\Release\pango.o:pango.c:(.text+0x2461): undefined > reference > to `pango_layout_line_get_type' > build\temp.win32-2.3\Release\pango.o:pango.c:(.text+0x4fda): undefined > reference > to `pango_layout_line_get_type' > build\temp.win32-2.3\Release\pango.o:pango.c:(.text+0x517d): undefined > reference > to `pango_layout_line_get_type' > build\temp.win32-2.3\Release\pango.o:pango.c:(.text+0x6c9c): undefined > reference > to `pango_layout_line_get_type' > build\temp.win32-2.3\Release\pango.o:pango.c:(.text+0x6cc0): undefined > reference > to `pango_item_get_type' > collect2: ld returned 1 exit status > ------------------------ > _______________________________________________ > pygtk mailing list [email protected] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
