Re: [anjuta-devel] Building anjuta



On Tue, 2010-11-09 at 21:37 -0300, Nancí de Brito Bonfim wrote:
Hi all,

I spent some hours trying to build Anjuta with jhbuild and I have some
issues compiling. I couldn't get through this:

g-ir-scanner: link: /bin/bash ../libtool --mode=link --tag=CC --silent
gcc -o /home/nanci/anjuta/gtk+/gtk/tmp-introspectrS2jB1/Gtk-2.0
-export-dynamic -L. libgtk-x11-2.0.la -pthread -L/home/nanci/local/lib
-lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt
-lglib-2.0 /home/nanci/anjuta/gtk+/gtk/tmp-introspectrS2jB1/Gtk-2.0.o
./.libs/libgtk-x11-2.0.so: undefined reference to
`gdk_window_get_height'
./.libs/libgtk-x11-2.0.so: undefined reference to
`gdk_window_get_width'
./.libs/libgtk-x11-2.0.so: undefined reference to
`gdk_window_get_display'
./.libs/libgtk-x11-2.0.so: undefined reference to
`gdk_window_get_screen'
collect2: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/bash',
'../libtool', '--mode=link', '--tag=CC', '--silent', 'gcc', '-o',
'/home/nanci/anjuta/gtk+/gtk/tmp-introspectrS2jB1/Gtk-2.0',
'-export-dynamic', '-L.', 'libgtk-x11-2.0.la', '-pthread',
'-L/home/nanci/local/lib', '-lgio-2.0', '-lgobject-2.0',
'-lgmodule-2.0', '-lgthread-2.0', '-lrt', '-lglib-2.0',
'/home/nanci/anjuta/gtk+/gtk/tmp-introspectrS2jB1/Gtk-2.0.o']'
returned non-zero exit status 1
make[4]: [Gtk-2.0.gir] Error 1


Apart from the fact that this is gtk+-2.0 you can easily hit that with
3.0 as well.

Try "make uninstall" in the gdk subdirectory of the gtk checkout. If
that doesn't help and you're on a debian-based distro, you might also
need to remove the .la files from the system, see:

http://live.gnome.org/GnomeShell/RemovingLaFiles

HTH




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