This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Trouble with gtk/glib cross developing


When i try to compile my gtk app, i get this:

jo@crashforsk src $ i386-mingw32msvc-gcc -I/opt/xmingw/include/gtk-2.0 -I/opt/xmingw/lib/gtk-2.0/include -I/opt/xmingw/include/atk-1.0 -I/opt/xmingw/include/pango-1.0 -I/opt/xmingw/include/glib-2.0 -I/opt/xmingw/lib/glib-2.0/include -L/opt/xmingw/lib -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -L/opt/xmingw/lib *.c -o fpu2sse.exe
main.c: In function `main':
main.c:121: warning: passing arg 1 of `gtk_box_pack_start' from incompatible pointer type
main.c:122: warning: passing arg 1 of `gtk_box_pack_start' from incompatible pointer type
main.c:238: warning: passing arg 1 of `gtk_box_pack_start' from incompatible pointer type
/tmp/ccqOKT2F.o(.text+0x113):main.c: undefined reference to `gtk_statusbar_pop'
/tmp/ccqOKT2F.o(.text+0x130):main.c: undefined reference to `gtk_statusbar_push'
/tmp/ccqOKT2F.o(.text+0x135):main.c: undefined reference to `gtk_dialog_get_type'
/tmp/ccqOKT2F.o(.text+0x146):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0x14e):main.c: undefined reference to `gtk_dialog_run'
/tmp/ccqOKT2F.o(.text+0x158):main.c: undefined reference to `gtk_file_chooser_get_type'
/tmp/ccqOKT2F.o(.text+0x169):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0x171):main.c: undefined reference to `gtk_file_chooser_get_filename_utf8'
/tmp/ccqOKT2F.o(.text+0x183):main.c: undefined reference to `gtk_widget_hide'
/tmp/ccqOKT2F.o(.text+0x195):main.c: undefined reference to `gtk_widget_hide'
/tmp/ccqOKT2F.o(.text+0x1df):main.c: undefined reference to `g_thread_create_full'
/tmp/ccqOKT2F.o(.text+0x229):main.c: undefined reference to `g_thread_create_full'
/tmp/ccqOKT2F.o(.text+0x24f):main.c: undefined reference to `gdk_pixbuf_new_from_file_utf8'
/tmp/ccqOKT2F.o(.text+0x257):main.c: undefined reference to `gtk_about_dialog_get_type'
/tmp/ccqOKT2F.o(.text+0x2b8):main.c: undefined reference to `g_object_new'
/tmp/ccqOKT2F.o(.text+0x2ea):main.c: undefined reference to `gtk_show_about_dialog'
/tmp/ccqOKT2F.o(.text+0x2ff):main.c: undefined reference to `g_str_has_prefix'
/tmp/ccqOKT2F.o(.text+0x333):main.c: undefined reference to `g_strjoin'
/tmp/ccqOKT2F.o(.text+0x33b):main.c: undefined reference to `g_print'
/tmp/ccqOKT2F.o(.text+0x348):main.c: undefined reference to `gtk_main_quit'
/tmp/ccqOKT2F.o(.text+0x52c):main.c: undefined reference to `gtk_init_abi_check'
/tmp/ccqOKT2F.o(.text+0x538):main.c: undefined reference to `g_thread_init'
/tmp/ccqOKT2F.o(.text+0x544):main.c: undefined reference to `gtk_window_new'
/tmp/ccqOKT2F.o(.text+0x54e):main.c: undefined reference to `gtk_window_get_type'
/tmp/ccqOKT2F.o(.text+0x55f):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0x56f):main.c: undefined reference to `gtk_window_set_title'
/tmp/ccqOKT2F.o(.text+0x584):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0x5b4):main.c: undefined reference to `g_signal_connect_data'
/tmp/ccqOKT2F.o(.text+0x5b9):main.c: undefined reference to `gtk_container_get_type'
/tmp/ccqOKT2F.o(.text+0x5ca):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0x5da):main.c: undefined reference to `gtk_container_set_border_width'
/tmp/ccqOKT2F.o(.text+0x5e6):main.c: undefined reference to `gtk_expander_new'
/tmp/ccqOKT2F.o(.text+0x605):main.c: undefined reference to `gtk_table_new'
/tmp/ccqOKT2F.o(.text+0x624):main.c: undefined reference to `gtk_table_new'
/tmp/ccqOKT2F.o(.text+0x62c):main.c: undefined reference to `gtk_container_get_type'
/tmp/ccqOKT2F.o(.text+0x63b):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0x64c):main.c: undefined reference to `gtk_container_add'
/tmp/ccqOKT2F.o(.text+0x660):main.c: undefined reference to `gtk_vbox_new'
/tmp/ccqOKT2F.o(.text+0x68d):main.c: undefined reference to `gtk_box_pack_start'
/tmp/ccqOKT2F.o(.text+0x6b7):main.c: undefined reference to `gtk_box_pack_start'
/tmp/ccqOKT2F.o(.text+0x6bc):main.c: undefined reference to `gtk_container_get_type'
/tmp/ccqOKT2F.o(.text+0x6cd):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0x6de):main.c: undefined reference to `gtk_container_add'
/tmp/ccqOKT2F.o(.text+0x6ea):main.c: undefined reference to `gtk_button_new_with_label'
/tmp/ccqOKT2F.o(.text+0x700):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0x730):main.c: undefined reference to `g_signal_connect_data'
/tmp/ccqOKT2F.o(.text+0x735):main.c: undefined reference to `gtk_table_get_type'
/tmp/ccqOKT2F.o(.text+0x744):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0x775):main.c: undefined reference to `gtk_table_attach_defaults'
/tmp/ccqOKT2F.o(.text+0x780):main.c: undefined reference to `gtk_widget_show'
/tmp/ccqOKT2F.o(.text+0x78c):main.c: undefined reference to `gtk_button_new_with_label'
/tmp/ccqOKT2F.o(.text+0x7a2):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0x7d2):main.c: undefined reference to `g_signal_connect_data'
/tmp/ccqOKT2F.o(.text+0x7d7):main.c: undefined reference to `gtk_table_get_type'
/tmp/ccqOKT2F.o(.text+0x7e6):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0x817):main.c: undefined reference to `gtk_table_attach_defaults'
/tmp/ccqOKT2F.o(.text+0x822):main.c: undefined reference to `gtk_widget_show'
/tmp/ccqOKT2F.o(.text+0x82e):main.c: undefined reference to `gtk_button_new_with_label'
/tmp/ccqOKT2F.o(.text+0x844):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0x874):main.c: undefined reference to `g_signal_connect_data'
/tmp/ccqOKT2F.o(.text+0x879):main.c: undefined reference to `gtk_table_get_type'
/tmp/ccqOKT2F.o(.text+0x888):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0x8b9):main.c: undefined reference to `gtk_table_attach_defaults'
/tmp/ccqOKT2F.o(.text+0x8c4):main.c: undefined reference to `gtk_widget_show'
/tmp/ccqOKT2F.o(.text+0x8d0):main.c: undefined reference to `gtk_button_new_with_label'
/tmp/ccqOKT2F.o(.text+0x8e6):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0x916):main.c: undefined reference to `g_signal_connect_data'
/tmp/ccqOKT2F.o(.text+0x91b):main.c: undefined reference to `gtk_table_get_type'
/tmp/ccqOKT2F.o(.text+0x92a):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0x95b):main.c: undefined reference to `gtk_table_attach_defaults'
/tmp/ccqOKT2F.o(.text+0x966):main.c: undefined reference to `gtk_widget_show'
/tmp/ccqOKT2F.o(.text+0x972):main.c: undefined reference to `gtk_button_new_with_label'
/tmp/ccqOKT2F.o(.text+0x988):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0x9b8):main.c: undefined reference to `g_signal_connect_data'
/tmp/ccqOKT2F.o(.text+0x9bd):main.c: undefined reference to `gtk_table_get_type'
/tmp/ccqOKT2F.o(.text+0x9cc):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0x9fd):main.c: undefined reference to `gtk_table_attach_defaults'
/tmp/ccqOKT2F.o(.text+0xa08):main.c: undefined reference to `gtk_widget_show'
/tmp/ccqOKT2F.o(.text+0xa4d):main.c: undefined reference to `gtk_file_chooser_dialog_new'
/tmp/ccqOKT2F.o(.text+0xa57):main.c: undefined reference to `gtk_progress_bar_new'
/tmp/ccqOKT2F.o(.text+0xa61):main.c: undefined reference to `gtk_table_get_type'
/tmp/ccqOKT2F.o(.text+0xa70):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0xaa3):main.c: undefined reference to `gtk_table_attach_defaults'
/tmp/ccqOKT2F.o(.text+0xab0):main.c: undefined reference to `gtk_widget_show'
/tmp/ccqOKT2F.o(.text+0xabc):main.c: undefined reference to `gtk_check_button_new_with_label'
/tmp/ccqOKT2F.o(.text+0xad2):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0xb02):main.c: undefined reference to `g_signal_connect_data'
/tmp/ccqOKT2F.o(.text+0xb07):main.c: undefined reference to `gtk_table_get_type'
/tmp/ccqOKT2F.o(.text+0xb16):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0xb47):main.c: undefined reference to `gtk_table_attach_defaults'
/tmp/ccqOKT2F.o(.text+0xb52):main.c: undefined reference to `gtk_widget_show'
/tmp/ccqOKT2F.o(.text+0xb5e):main.c: undefined reference to `gtk_check_button_new_with_label'
/tmp/ccqOKT2F.o(.text+0xb74):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0xba4):main.c: undefined reference to `g_signal_connect_data'
/tmp/ccqOKT2F.o(.text+0xba9):main.c: undefined reference to `gtk_table_get_type'
/tmp/ccqOKT2F.o(.text+0xbb8):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0xbe9):main.c: undefined reference to `gtk_table_attach_defaults'
/tmp/ccqOKT2F.o(.text+0xbf4):main.c: undefined reference to `gtk_widget_show'
/tmp/ccqOKT2F.o(.text+0xc00):main.c: undefined reference to `gtk_check_button_new_with_label'
/tmp/ccqOKT2F.o(.text+0xc16):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0xc46):main.c: undefined reference to `g_signal_connect_data'
/tmp/ccqOKT2F.o(.text+0xc4b):main.c: undefined reference to `gtk_table_get_type'
/tmp/ccqOKT2F.o(.text+0xc5a):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0xc8b):main.c: undefined reference to `gtk_table_attach_defaults'
/tmp/ccqOKT2F.o(.text+0xc96):main.c: undefined reference to `gtk_widget_show'
/tmp/ccqOKT2F.o(.text+0xca2):main.c: undefined reference to `gtk_check_button_new_with_label'
/tmp/ccqOKT2F.o(.text+0xcb8):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0xce8):main.c: undefined reference to `g_signal_connect_data'
/tmp/ccqOKT2F.o(.text+0xced):main.c: undefined reference to `gtk_table_get_type'
/tmp/ccqOKT2F.o(.text+0xcfc):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0xd2d):main.c: undefined reference to `gtk_table_attach_defaults'
/tmp/ccqOKT2F.o(.text+0xd38):main.c: undefined reference to `gtk_widget_show'
/tmp/ccqOKT2F.o(.text+0xd44):main.c: undefined reference to `gtk_check_button_new_with_label'
/tmp/ccqOKT2F.o(.text+0xd5a):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0xd8a):main.c: undefined reference to `g_signal_connect_data'
/tmp/ccqOKT2F.o(.text+0xd8f):main.c: undefined reference to `gtk_table_get_type'
/tmp/ccqOKT2F.o(.text+0xd9e):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0xdcf):main.c: undefined reference to `gtk_table_attach_defaults'
/tmp/ccqOKT2F.o(.text+0xdda):main.c: undefined reference to `gtk_widget_show'
/tmp/ccqOKT2F.o(.text+0xde6):main.c: undefined reference to `gtk_check_button_new_with_label'
/tmp/ccqOKT2F.o(.text+0xdfc):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0xe2c):main.c: undefined reference to `g_signal_connect_data'
/tmp/ccqOKT2F.o(.text+0xe31):main.c: undefined reference to `gtk_table_get_type'
/tmp/ccqOKT2F.o(.text+0xe40):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0xe71):main.c: undefined reference to `gtk_table_attach_defaults'
/tmp/ccqOKT2F.o(.text+0xe7c):main.c: undefined reference to `gtk_widget_show'
/tmp/ccqOKT2F.o(.text+0xe88):main.c: undefined reference to `gtk_check_button_new_with_label'
/tmp/ccqOKT2F.o(.text+0xe9e):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0xece):main.c: undefined reference to `g_signal_connect_data'
/tmp/ccqOKT2F.o(.text+0xed3):main.c: undefined reference to `gtk_table_get_type'
/tmp/ccqOKT2F.o(.text+0xee2):main.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccqOKT2F.o(.text+0xf13):main.c: undefined reference to `gtk_table_attach_defaults'
/tmp/ccqOKT2F.o(.text+0xf1e):main.c: undefined reference to `gtk_widget_show'
/tmp/ccqOKT2F.o(.text+0xf23):main.c: undefined reference to `gtk_statusbar_new'
/tmp/ccqOKT2F.o(.text+0xf54):main.c: undefined reference to `gtk_box_pack_start'
/tmp/ccqOKT2F.o(.text+0xf61):main.c: undefined reference to `gtk_widget_show'
/tmp/ccqOKT2F.o(.text+0xf76):main.c: undefined reference to `gtk_statusbar_pop'
/tmp/ccqOKT2F.o(.text+0xf93):main.c: undefined reference to `gtk_statusbar_push'
/tmp/ccqOKT2F.o(.text+0xf9e):main.c: undefined reference to `gtk_widget_show'
/tmp/ccqOKT2F.o(.text+0xfa9):main.c: undefined reference to `gtk_widget_show'
/tmp/ccqOKT2F.o(.text+0xfb4):main.c: undefined reference to `gtk_widget_show'
/tmp/ccqOKT2F.o(.text+0xfbf):main.c: undefined reference to `gtk_widget_show'
/tmp/ccqOKT2F.o(.text+0xfcc):main.c: undefined reference to `gtk_widget_show'
/tmp/ccqOKT2F.o(.text+0x101c):main.c: undefined reference to `g_strjoin'
/tmp/ccqOKT2F.o(.text+0x1026):main.c: undefined reference to `gtk_main'
/tmp/ccDl8MqJ.o(.text+0x5f):patch.c: undefined reference to `g_return_if_fail_warning'
/tmp/ccDl8MqJ.o(.text+0x8c):patch.c: undefined reference to `g_shell_parse_argv'
/tmp/ccDl8MqJ.o(.text+0xe7):patch.c: undefined reference to `g_spawn_sync'
/tmp/ccDl8MqJ.o(.text+0xf5):patch.c: undefined reference to `g_strfreev'
/tmp/ccDl8MqJ.o(.text+0x248):patch.c: undefined reference to `gtk_file_chooser_get_type'
/tmp/ccDl8MqJ.o(.text+0x259):patch.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccDl8MqJ.o(.text+0x261):patch.c: undefined reference to `gtk_file_chooser_get_filename_utf8'
/tmp/ccDl8MqJ.o(.text+0x26e):patch.c: undefined reference to `gtk_file_chooser_get_type'
/tmp/ccDl8MqJ.o(.text+0x27f):patch.c: undefined reference to `g_type_check_instance_cast'
/tmp/ccDl8MqJ.o(.text+0x287):patch.c: undefined reference to `gtk_file_chooser_get_filename_utf8'
/tmp/ccDl8MqJ.o(.text+0x2da):patch.c: undefined reference to `gtk_statusbar_pop'
/tmp/ccDl8MqJ.o(.text+0x2f7):patch.c: undefined reference to `gtk_statusbar_push'
/tmp/ccDl8MqJ.o(.text+0x304):patch.c: undefined reference to `g_path_get_dirname'
/tmp/ccDl8MqJ.o(.text+0x326):patch.c: undefined reference to `g_dir_open_utf8'
/tmp/ccDl8MqJ.o(.text+0x34d):patch.c: undefined reference to `g_dir_read_name_utf8'
/tmp/ccDl8MqJ.o(.text+0x375):patch.c: undefined reference to `g_str_has_suffix'
/tmp/ccDl8MqJ.o(.text+0x396):patch.c: undefined reference to `g_build_filename'
/tmp/ccDl8MqJ.o(.text+0x3ad):patch.c: undefined reference to `g_dir_close'
/tmp/ccDl8MqJ.o(.text+0x3c4):patch.c: undefined reference to `gtk_progress_bar_set_fraction'
/tmp/ccDl8MqJ.o(.text+0x3e1):patch.c: undefined reference to `g_strjoin'
/tmp/ccDl8MqJ.o(.text+0x417):patch.c: undefined reference to `g_strjoin'
/tmp/ccDl8MqJ.o(.text+0x42f):patch.c: undefined reference to `gtk_statusbar_pop'
/tmp/ccDl8MqJ.o(.text+0x44c):patch.c: undefined reference to `gtk_statusbar_push'
/tmp/ccDl8MqJ.o(.text+0x476):patch.c: undefined reference to `g_spawn_command_line_sync'
/tmp/ccDl8MqJ.o(.text+0x49b):patch.c: undefined reference to `g_strjoin'
/tmp/ccDl8MqJ.o(.text+0x4b3):patch.c: undefined reference to `g_io_channel_new_file_utf8'
/tmp/ccDl8MqJ.o(.text+0x4db):patch.c: undefined reference to `g_io_channel_set_encoding'
/tmp/ccDl8MqJ.o(.text+0x509):patch.c: undefined reference to `g_io_channel_write_chars'
/tmp/ccDl8MqJ.o(.text+0x520):patch.c: undefined reference to `gtk_progress_bar_set_fraction'
/tmp/ccDl8MqJ.o(.text+0x535):patch.c: undefined reference to `gtk_statusbar_pop'
/tmp/ccDl8MqJ.o(.text+0x552):patch.c: undefined reference to `gtk_statusbar_push'
/tmp/ccDl8MqJ.o(.text+0x5a5):patch.c: undefined reference to `g_strjoin'
/tmp/ccDl8MqJ.o(.text+0x5d9):patch.c: undefined reference to `g_spawn_command_line_sync'
/tmp/ccDl8MqJ.o(.text+0x5f0):patch.c: undefined reference to `gtk_progress_bar_set_fraction'
/tmp/ccDl8MqJ.o(.text+0x605):patch.c: undefined reference to `gtk_statusbar_pop'
/tmp/ccDl8MqJ.o(.text+0x622):patch.c: undefined reference to `gtk_statusbar_push'
/tmp/ccDl8MqJ.o(.text+0x64d):patch.c: undefined reference to `g_file_get_contents_utf8'
/tmp/ccDl8MqJ.o(.text+0x679):patch.c: undefined reference to `g_strjoin'
/tmp/ccDl8MqJ.o(.text+0x691):patch.c: undefined reference to `g_io_channel_new_file_utf8'
/tmp/ccDl8MqJ.o(.text+0x6b9):patch.c: undefined reference to `g_io_channel_set_encoding'
/tmp/ccDl8MqJ.o(.text+0x6e8):patch.c: undefined reference to `g_io_channel_write_chars'
/tmp/ccDl8MqJ.o(.text+0x70f):patch.c: undefined reference to `g_dir_open_utf8'
/tmp/ccDl8MqJ.o(.text+0x72f):patch.c: undefined reference to `g_dir_read_name_utf8'
/tmp/ccDl8MqJ.o(.text+0x757):patch.c: undefined reference to `g_str_has_suffix'
/tmp/ccDl8MqJ.o(.text+0x770):patch.c: undefined reference to `g_basename'
/tmp/ccDl8MqJ.o(.text+0x777):patch.c: undefined reference to `g_get_current_dir_utf8'
/tmp/ccDl8MqJ.o(.text+0x7c5):patch.c: undefined reference to `g_strjoin'
/tmp/ccDl8MqJ.o(.text+0x81e):patch.c: undefined reference to `g_build_filename'
/tmp/ccDl8MqJ.o(.text+0x842):patch.c: undefined reference to `gtk_progress_bar_set_fraction'
/tmp/ccDl8MqJ.o(.text+0x84f):patch.c: undefined reference to `g_dir_close'
/tmp/ccDl8MqJ.o(.text+0x86c):patch.c: undefined reference to `g_strjoin'
/tmp/ccDl8MqJ.o(.text+0x887):patch.c: undefined reference to `gtk_progress_bar_set_fraction'
/tmp/ccDl8MqJ.o(.text+0x89c):patch.c: undefined reference to `gtk_statusbar_pop'
/tmp/ccDl8MqJ.o(.text+0x8b9):patch.c: undefined reference to `gtk_statusbar_push'
/tmp/ccDl8MqJ.o(.text+0x8d0):patch.c: undefined reference to `gtk_statusbar_pop'
/tmp/ccDl8MqJ.o(.text+0x8ed):patch.c: undefined reference to `gtk_statusbar_push'
/tmp/ccejfRe6.o(.text+0x60):stats.c: undefined reference to `gtk_message_dialog_new'
/tmp/ccejfRe6.o(.text+0x86):stats.c: undefined reference to `gtk_widget_hide'
/tmp/ccejfRe6.o(.text+0x9b):stats.c: undefined reference to `g_signal_connect_data'
/tmp/ccejfRe6.o(.text+0xa8):stats.c: undefined reference to `gtk_widget_show'


I suspect i need mingw to pass something to the linker, but what, and how?

When i try to compile the individual sources into objects, i get this:

jo@crashforsk src $ i386-mingw32msvc-gcc -I/opt/xmingw/include/gtk-2.0 -I/opt/xmingw/lib/gtk-2.0/include -I/opt/xmingw/include/atk-1.0 -I/opt/xmingw/include/pango-1.0 -I/opt/xmingw/include/glib-2.0 -I/opt/xmingw/lib/glib-2.0/include -L/opt/xmingw/lib -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -L/opt/xmingw/lib about.c -o about.o /opt/xmingw/lib/gcc-lib/i386-mingw32msvc/3.3.1/../../../../i386-mingw32msvc/lib/libmingw32.a(main.o)(.text+0xae): In function `main':
/var/tmp/portage/xmingw-runtime-3.2/work/mingw-runtime-3.2/main.c:90: undefined reference to `WinMain@16'


Anybody got a solution?

Jann - Ove Risvik - jann.ove@gmail.com

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]