 |
 |
where does glibconfig.h come from?
|
 |
|
 |
|
Professional Poster
Join Date: Feb 2001
Status:
Offline
|
|
I have a fink install of glib but it didn't have glibconfig.h. I was able to just copy the glibconfig.h file from Fire's source code and it seems to work.
My main question is I am compiling a gtk freeciv client and I get the error
cc --traditional-cpp -g -O2 -Wall -o civclient cityrepdata.o civclient.o climisc.o clinet.o control.o helpdata.o packhand.o options.o tilespec.o gui-gtk/libguiclient.a ../common/libcivcommon.a ../intl/libintl.a gui-gtk/libguiclient.a ../common/libcivcommon.a -L/Volumes/Scratch/fink/lib -lgdk_imlib -ljpeg -ltiff -lgif -lpng -lz -lm -lz
/usr/bin/ld: Undefined symbols:
_gtk_box_get_type
_gtk_box_pack_start
_gtk_button_new_with_label
_gtk_clist_append
_gtk_clist_clear
_gtk_clist_column_titles_passive
_gtk_clist_freeze
_gtk_clist_get_type
_gtk_clist_moveto
_gtk_clist_new_with_titles
_gtk_clist_set_row_style
_gtk_clist_thaw
_gtk_container_add
_gtk_container_get_type
_gtk_dialog_get_type
_gtk_dialog_new
_gtk_scrolled_window_get_type
_gtk_scrolled_window_new
_gtk_scrolled_window_set_policy
_gtk_signal_connect
_gtk_style_new
_gtk_style_unref
_gtk_type_check_object_cast
_gtk_widget_destroy
_gtk_widget_grab_default
_gtk_widget_set_sensitive
_gtk_widget_set_usize
_gtk_widget_show
_gtk_widget_show_all
_gtk_window_get_type
_gtk_window_set_title
_gtk_clist_get_text
_gtk_clist_set_column_auto_resize
_gtk_container_set_border_width
_gtk_entry_get_text
_gtk_entry_get_type
_gtk_entry_new
_gtk_entry_set_text
_gtk_label_new
_gtk_main_quit
_gtk_misc_get_type
_gtk_misc_set_alignment
_gtk_notebook_append_page
_gtk_notebook_get_type
_gtk_notebook_new
_gtk_table_attach
_gtk_table_attach_defaults
_gtk_table_get_type
_gtk_table_new
_gtk_table_set_col_spacings
_gtk_table_set_row_spacings
_gtk_vbox_new
_gtk_widget_get_type
_gtk_widget_grab_focus
_gtk_frame_new
_gtk_hbox_new
_gtk_menu_append
_gtk_menu_get_type
_gtk_menu_item_new_with_label
_gtk_menu_new
_gtk_menu_popup
_gtk_pixmap_get_type
_gtk_pixmap_new
_gtk_pixmap_set_build_insensitive
_gtk_signal_connect_object
_gtk_widget_realize
_gdk_bitmap_create_from_data
_gdk_window_set_icon
_gtk_accel_group_attach
_gtk_accel_group_new
_gtk_check_button_new_with_label
_gtk_clist_new
_gtk_clist_set_column_justification
_gtk_clist_set_column_width
_gtk_drawing_area_get_type
_gtk_drawing_area_new
_gtk_drawing_area_size
_gtk_event_box_new
_gtk_frame_get_type
_gtk_frame_set_label
_gtk_label_get_type
_gtk_label_set_justify
_gtk_progress_bar_get_type
_gtk_progress_bar_new
_gtk_progress_bar_set_bar_style
_gtk_progress_get_type
_gtk_progress_set_format_string
_gtk_progress_set_percentage
_gtk_progress_set_show_text
_gtk_radio_button_get_type
_gtk_radio_button_group
_gtk_radio_button_new_with_label
_gtk_signal_handlers_destroy
_gtk_style_copy
_gtk_toggle_button_get_type
_gtk_toggle_button_set_active
_gtk_widget_add_accelerator
_gtk_widget_hide
_gtk_widget_set_events
_gtk_widget_set_name
_gtk_widget_set_style
_gtk_window_set_position
_g_free
_g_get_home_dir
_g_strdup_printf
_gdk_beep
_gdk_draw_rectangle
_gdk_font_load
_gdk_gc_new
_gdk_gc_set_fill
_gdk_gc_set_foreground
_gdk_gc_set_function
_gdk_input_add
_gdk_input_remove
_gdk_pixmap_new
_gdk_pointer_grab
_gdk_pointer_ungrab
_gdk_window_set_cursor
_gtk_grab_add
_gtk_grab_remove
_gtk_hscrollbar_new
_gtk_init
_gtk_main
_gtk_object_get_user_data
_gtk_object_set_user_data
_gtk_paned_get_type
_gtk_paned_pack1
_gtk_paned_pack2
_gtk_rc_parse
_gtk_rc_parse_string
_gtk_set_locale
_gtk_signal_connect_after
_gtk_signal_emit_stop_by_name
_gtk_table_set_col_spacing
_gtk_table_set_row_spacing
_gtk_text_get_type
_gtk_text_new
_gtk_text_set_editable
_gtk_timeout_add
_gtk_toggle_button_new
_gtk_vpaned_new
_gtk_vscrollbar_new
_gtk_vseparator_new
_gtk_widget_new
_gtk_widget_popup
_gtk_widget_reparent
_gtk_window_new
_gtk_bin_get_type
_gtk_check_menu_item_get_type
_gtk_check_menu_item_set_active
_gtk_item_factory_create_items
_gtk_item_factory_get_widget
_gtk_item_factory_new
_gtk_menu_bar_get_type
_gtk_menu_get_attach_widget
_gtk_type_is_a
_g_list_append
_g_list_find
_g_list_free
_g_list_nth
_g_log
_g_malloc
_g_malloc0
_gtk_clist_column_titles_active
_gtk_clist_find_row_from_data
_gtk_clist_get_row_data
_gtk_clist_select_all
_gtk_clist_select_row
_gtk_clist_set_auto_sort
_gtk_clist_set_column_visibility
_gtk_clist_set_row_data
_gtk_clist_set_selection_mode
_gtk_clist_set_sort_column
_gtk_clist_set_sort_type
_gtk_clist_set_text
_gtk_clist_sort
_gtk_clist_unselect_all
_gtk_clist_unselect_row
_gtk_menu_item_get_type
_gtk_menu_item_new
_gtk_menu_item_set_submenu
_gtk_object_get_data
_gtk_object_set_data
_gdk_draw_line
_gdk_draw_pixmap
_gdk_draw_string
_gdk_flush
_gdk_gc_set_clip_mask
_gdk_gc_set_clip_origin
_gdk_gc_set_stipple
_gdk_pixmap_unref
_gdk_string_width
_gdk_window_get_size
_gtk_adjustment_get_type
_gtk_adjustment_new
_gtk_adjustment_set_value
_gtk_pixmap_set
_gtk_range_get_type
_gtk_range_set_adjustment
_gtk_editable_delete_text
_gtk_editable_get_chars
_gtk_editable_get_type
_gtk_range_default_vmotion
_gtk_text_freeze
...
and on and on. Is my gtk installation no good?
[This message has been edited by tie (edited 04-09-2001).]
|
|
The 4 o'clock train will be a bus.
It will depart at 20 minutes to 5.
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
Your installation is fine, it's just everything fink compiled is in /sw, and that's a nonstandard directory.
If you put this in your ~/.cshrc:
source /sw/bin/init.csh
Then you should lose the linker problems.
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Feb 2001
Status:
Offline
|
|
Thanks, Angus. That worked. So now I have a gtk+freeciv client.
I'm not actually that big a fan of civ-type games but it was a good exercise for future compiling attempts.
|
|
The 4 o'clock train will be a bus.
It will depart at 20 minutes to 5.
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
I was just about to ask where you got the rootless from and then I realised it was VNC 
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |