Re: [anjuta-devel] Building anjuta



Hi Nanci!

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

Can someone help me?

Are you using jhbuild for building? This  looks like a Gtk+-2.0 build
while what you need would be Gtk+-3.0.

Regards,
Johannes

Attachment: signature.asc
Description: This is a digitally signed message part



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