undefined reference to `g_type_check_instance_cast



thanks to Sven Neumann for his precious help on my gtk-config problem. 
Effectively the problem was that gtk+-2.0 doesn't work with gtk-config, and 
in conseqüence, the application I was trying to compile wasn't compatible 
with 2.0 version of gtk.

Now i'm trying to compile another app (the above one was succesfully compiled 
and installed ;) ) which needs also gtk and glib, and once ./configure has 
succesfully finished, in the compilation it seems not to find a reference to 
a procedure named g_type_check_instance_cast. I've been taking a look into 
the source code and i haven't found any reference to this call. 

I attach the error output for if someone come up with some idea that could 
help me.
Thanks.

---------output------------------------------------------
parse_message.o: In function `receive_options':
parse_message.o(.text+0x8ed): undefined reference to 
`g_type_check_instance_is_a'
parse_message.o(.text+0x90f): undefined reference to 
`g_type_check_instance_cast'
parse_message.o(.text+0x92b): undefined reference to 
`g_type_check_instance_cast'
parse_message.o: In function `parse_status_message_from_core':
parse_message.o(.text+0xbe5): undefined reference to 
`g_type_check_instance_is_a'
parse_message.o(.text+0xc04): undefined reference to 
`g_type_check_instance_cast'
parse_message.o(.text+0xed6): undefined reference to 
`g_type_check_instance_cast'
parse_message.o: In function `parse_message_from_client':
parse_message.o(.text+0x1e87): undefined reference to 
`g_type_check_instance_cast'
parse_message.o(.text+0x1ea7): undefined reference to 
`g_type_check_instance_cast'
parse_message.o(.text+0x2013): undefined reference to 
`g_type_check_instance_cast'
parse_message.o(.text+0x2030): more undefined references to 
`g_type_check_instance_cast' follow
http_get.o: In function `extract_ed2k_links':
http_get.o(.text+0x47d): undefined reference to 
`gtk_notebook_set_current_page'
guicoreconn.o: In function `guicoreconn_connected':
guicoreconn.o(.text+0xa2): undefined reference to `g_type_check_instance_cast'
guicoreconn.o(.text+0xab): undefined reference to 
`gtk_notebook_set_current_page'
guicoreconn.o: In function `guicoreconn_callback_function':
guicoreconn.o(.text+0x160): undefined reference to 
`g_type_check_instance_cast'
guicoreconn.o(.text+0x176): undefined reference to 
`g_type_check_instance_cast'
guicoreconn.o: In function `guicoreconn_close_and_cleanup':
guicoreconn.o(.text+0x828): undefined reference to 
`g_type_check_instance_cast'
guicoreconn.o(.text+0x831): undefined reference to 
`gtk_notebook_set_current_page'
guicoreconn.o: In function `guicoreconn_connect':
guicoreconn.o(.text+0xac1): undefined reference to 
`g_type_check_instance_cast'
guicoreconn.o(.text+0xaca): undefined reference to 
`gtk_notebook_set_current_page'
guicoreconn.o: In function `guicoreconn_reconnect_connect_now_button_clicked':
guicoreconn.o(.text+0xec5): undefined reference to 
`g_type_check_instance_is_a'
guicoreconn.o(.text+0xee0): undefined reference to 
`g_type_check_instance_cast'
guicoreconn.o(.text+0xef6): undefined reference to 
`g_type_check_instance_cast'
guicoreconn.o: In function `guicoreconn_reconnect_stop_button_clicked':
guicoreconn.o(.text+0xf7b): undefined reference to 
`g_type_check_instance_is_a'
guicoreconn.o(.text+0xf96): undefined reference to 
`g_type_check_instance_cast'
guicoreconn.o(.text+0xfac): undefined reference to 
`g_type_check_instance_cast'
guicoreconn.o: In function `guicoreconn_reconnect_timeout_callback':
guicoreconn.o(.text+0x104e): undefined reference to 
`g_type_check_instance_cast'
guicoreconn.o: In function `guicoreconn_reconnect':
guicoreconn.o(.text+0x1114): undefined reference to 
`g_type_check_instance_cast'
guicoreconn.o(.text+0x1139): undefined reference to 
`g_type_check_instance_cast'
guicoreconn.o(.text+0x116e): more undefined references to 
`g_type_check_instance_cast' follow
statusbar.o: In function `statusbar_set_not_connected':
statusbar.o(.text+0x1d6): undefined reference to `g_type_check_instance_is_a'
statusbar.o(.text+0x1f9): undefined reference to `g_type_check_instance_cast'
statusbar.o: In function `statusbar_set_not_connected_to_core':
statusbar.o(.text+0x249): undefined reference to `g_type_check_instance_cast'
statusbar.o(.text+0x26f): undefined reference to `g_type_check_instance_cast'
statusbar.o(.text+0x29e): undefined reference to `g_type_check_instance_is_a'
statusbar.o(.text+0x2c1): undefined reference to `g_type_check_instance_cast'
statusbar.o: In function `statusbar_extra_message_real':
statusbar.o(.text+0x363): undefined reference to `g_type_check_instance_cast'
statusbar.o(.text+0x385): undefined reference to `g_type_check_instance_cast'
statusbar.o(.text+0x3ac): undefined reference to `g_type_check_instance_cast'
statusbar.o(.text+0x3c7): undefined reference to `g_type_check_instance_cast'
statusbar.o(.text+0x464): more undefined references to 
`g_type_check_instance_cast' follow
collect2: ld returned 1 exit status
make[1]: *** [ed2k_gui] Error 1
make[1]: Leaving directory `/usr/share/ed2k_gui-0.3.0/ed2k_gui'
make: *** [all-recursive] Error 1
gusage:/usr/share/ed2k_gui-0.3.0/ed2k_gui# vi guicoreconn.c
gusage:/usr/share/ed2k_gui-0.3.0/ed2k_gui# glib-config
glib-config      glib-config.old
gusage:/usr/share/ed2k_gui-0.3.0/ed2k_gui# glib-config --version
1.2.10
gusage:/usr/share/ed2k_gui-0.3.0/ed2k_gui# glib-config --libs gmodule gobject
Usage: glib-config [OPTIONS] [LIBRARIES]
Options:
        [--prefix[=DIR]]
        [--exec-prefix[=DIR]]



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