Alright the -f option was a step in the right direction but now i get a bunch of errors. im assuming theres something thats either not installed or not installed correctly thats needed to compile but im not sure what it is.
Ubuntu Hardy Heron
gcc -Wall -O `gtk-config --cflags` -D"USE_GTK" -g -c -o z-util.o z-util.c
/bin/sh: gtk-config: not found
gcc -Wall -O `gtk-config --cflags` -D"USE_GTK" -g -c -o z-virt.o z-virt.c
/bin/sh: gtk-config: not found
gcc -Wall -O `gtk-config --cflags` -D"USE_GTK" -g -c -o z-form.o z-form.c
/bin/sh: gtk-config: not found
i get a bunch of that
object2.c:5184: warning: ‘x_empty’ may be used uninitialized in this function
object2.c:5184: warning: ‘y_empty’ may be used uninitialized in this function
object2.c:5181: warning: ‘x_comb’ may be used uninitialized in this function
object2.c:5181: warning: ‘y_comb’ may be used uninitialized in this function
followed by this
main-gtk.c:18:21: error: gtk/gtk.h: No such file or directory
main-gtk.c:19:28: error: gdk/gdkkeysyms.h: No such file or directory
main-gtk.c:45: error: expected specifier-qualifier-list before ‘GtkWidget’
main-gtk.c: In function ‘Term_clear_gtk’:
main-gtk.c:87: warning: implicit declaration of function ‘g_assert’
main-gtk.c:87: error: ‘term_data’ has no member named ‘pixmap’
main-gtk.c:88: error: ‘term_data’ has no member named ‘drawing_area’
main-gtk.c:91: warning: implicit declaration of function ‘gdk_window_get_size’
main-gtk.c:91: error: ‘term_data’ has no member named ‘drawing_area’
main-gtk.c:94: warning: implicit declaration of function ‘gdk_draw_rectangle’
main-gtk.c:94: error: ‘term_data’ has no member named ‘pixmap’
main-gtk.c:94: error: ‘term_data’ has no member named ‘drawing_area’
main-gtk.c:98: warning: implicit declaration of function ‘gdk_draw_pixmap’
main-gtk.c:98: error: ‘term_data’ has no member named ‘drawing_area’
main-gtk.c:98: error: ‘term_data’ has no member named ‘gc’
main-gtk.c:98: error: ‘term_data’ has no member named ‘pixmap’
main-gtk.c: In function ‘Term_wipe_gtk’:
main-gtk.c:113: error: ‘term_data’ has no member named ‘pixmap’
main-gtk.c:114: error: ‘term_data’ has no member named ‘drawing_area’
main-gtk.c:116: error: ‘term_data’ has no member named ‘pixmap’
main-gtk.c:116: error: ‘term_data’ has no member named ‘drawing_area’
main-gtk.c:117: error: ‘term_data’ has no member named ‘font_wid’
main-gtk.c:117: error: ‘term_data’ has no member named ‘font_hgt’
main-gtk.c:118: error: ‘term_data’ has no member named ‘font_wid’
main-gtk.c:118: error: ‘term_data’ has no member named ‘font_hgt’
main-gtk.c:121: error: ‘term_data’ has no member named ‘drawing_area’
main-gtk.c:121: error: ‘term_data’ has no member named ‘gc’
main-gtk.c:121: error: ‘term_data’ has no member named ‘pixmap’
main-gtk.c:122: error: ‘term_data’ has no member named ‘font_wid’
main-gtk.c:122: error: ‘term_data’ has no member named ‘font_hgt’
main-gtk.c:123: error: ‘term_data’ has no member named ‘font_wid’
main-gtk.c:123: error: ‘term_data’ has no member named ‘font_hgt’
main-gtk.c:124: error: ‘term_data’ has no member named ‘font_wid’
main-gtk.c:124: error: ‘term_data’ has no member named ‘font_hgt’
main-gtk.c: In function ‘set_foreground_color’:
main-gtk.c:138: error: ‘GdkColor’ undeclared (first use in this function)
main-gtk.c:138: error: (Each undeclared identifier is reported only once
main-gtk.c:138: error: for each function it appears in.)
main-gtk.c:138: error: expected ‘;’ before ‘color’
main-gtk.c:140: error: ‘color’ undeclared (first use in this function)
main-gtk.c:144: error: ‘term_data’ has no member named ‘pixmap’
main-gtk.c:145: error: ‘term_data’ has no member named ‘drawing_area’
main-gtk.c:147: warning: implicit declaration of function ‘gdk_colormap_alloc_color’
main-gtk.c:147: warning: implicit declaration of function ‘gdk_colormap_get_system’
main-gtk.c:148: warning: implicit declaration of function ‘gdk_gc_set_foreground’
main-gtk.c:148: error: ‘term_data’ has no member named ‘gc’
main-gtk.c:150: warning: implicit declaration of function ‘g_print’
main-gtk.c: In function ‘Term_text_gtk’:
main-gtk.c:170: warning: implicit declaration of function ‘gdk_draw_text’
main-gtk.c:170: error: ‘term_data’ has no member named ‘pixmap’
main-gtk.c:170: error: ‘term_data’ has no member named ‘font’
main-gtk.c:170: error: ‘term_data’ has no member named ‘gc’
main-gtk.c:171: error: ‘term_data’ has no member named ‘font_wid’
main-gtk.c:172: error: ‘term_data’ has no member named ‘font’
main-gtk.c:172: error: ‘term_data’ has no member named ‘font_hgt’
main-gtk.c:177: error: ‘term_data’ has no member named ‘drawing_area’
main-gtk.c:177: error: ‘term_data’ has no member named ‘gc’
main-gtk.c:177: error: ‘term_data’ has no member named ‘pixmap’
main-gtk.c:178: error: ‘term_data’ has no member named ‘font_wid’
main-gtk.c:178: error: ‘term_data’ has no member named ‘font_hgt’
main-gtk.c:179: error: ‘term_data’ has no member named ‘font_wid’
main-gtk.c:179: error: ‘term_data’ has no member named ‘font_hgt’
main-gtk.c:180: error: ‘term_data’ has no member named ‘font_wid’
main-gtk.c:180: error: ‘term_data’ has no member named ‘font_hgt’
main-gtk.c: In function ‘CheckEvent’:
main-gtk.c:191: warning: implicit declaration of function ‘gtk_main_iteration’
main-gtk.c:195: warning: implicit declaration of function ‘gtk_events_pending’
main-gtk.c: In function ‘Term_curs_gtk’:
main-gtk.c:259: error: ‘term_data’ has no member named ‘pixmap’
main-gtk.c:259: error: ‘term_data’ has no member named ‘gc’
main-gtk.c:260: error: ‘term_data’ has no member named ‘font_wid’
main-gtk.c:260: error: ‘term_data’ has no member named ‘font_hgt’
main-gtk.c:260: error: ‘term_data’ has no member named ‘font_wid’
main-gtk.c:260: error: ‘term_data’ has no member named ‘font_hgt’
main-gtk.c:263: error: ‘term_data’ has no member named ‘drawing_area’
main-gtk.c:263: error: ‘term_data’ has no member named ‘gc’
main-gtk.c:263: error: ‘term_data’ has no member named ‘pixmap’
main-gtk.c:264: error: ‘term_data’ has no member named ‘font_wid’
main-gtk.c:264: error: ‘term_data’ has no member named ‘font_hgt’
main-gtk.c:265: error: ‘term_data’ has no member named ‘font_wid’
main-gtk.c:265: error: ‘term_data’ has no member named ‘font_hgt’
main-gtk.c:266: error: ‘term_data’ has no member named ‘font_wid’
main-gtk.c:266: error: ‘term_data’ has no member named ‘font_hgt’
main-gtk.c: In function ‘hook_quit’:
main-gtk.c:300: warning: implicit declaration of function ‘gtk_exit’
main-gtk.c: At top level:
main-gtk.c:304: error: expected ‘)’ before ‘*’ token
main-gtk.c:312: error: expected ‘)’ before ‘*’ token
main-gtk.c:318: error: expected ‘)’ before ‘*’ token
main-gtk.c:324: error: expected ‘)’ before ‘*’ token
main-gtk.c: In function ‘load_font’:
main-gtk.c:342: error: ‘term_data’ has no member named ‘font’
main-gtk.c:342: warning: implicit declaration of function ‘gdk_font_load’
main-gtk.c:345: error: ‘term_data’ has no member named ‘font_wid’
main-gtk.c:345: warning: implicit declaration of function ‘gdk_char_width’
main-gtk.c:345: error: ‘term_data’ has no member named ‘font’
main-gtk.c:346: error: ‘term_data’ has no member named ‘font_hgt’
main-gtk.c:346: error: ‘term_data’ has no member named ‘font’
main-gtk.c:346: error: ‘term_data’ has no member named ‘font’
main-gtk.c: At top level:
main-gtk.c:350: error: expected ‘)’ before ‘*’ token
main-gtk.c:365: error: expected ‘)’ before ‘*’ token
main-gtk.c:396: error: expected ‘)’ before ‘*’ token
main-gtk.c:412: error: expected ‘)’ before ‘*’ token
main-gtk.c:446: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘delete_event_handler’
main-gtk.c:455: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘keypress_event_handler’
main-gtk.c:569: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘expose_event_handler’
main-gtk.c: In function ‘term_data_init’:
main-gtk.c:607: error: ‘term_data’ has no member named ‘cols’
main-gtk.c:608: error: ‘term_data’ has no member named ‘rows’
main-gtk.c:611: error: ‘term_data’ has no member named ‘cols’
main-gtk.c:611: error: ‘term_data’ has no member named ‘rows’
main-gtk.c:614: error: ‘term_data’ has no member named ‘name’
main-gtk.c: In function ‘init_gtk_window’:
main-gtk.c:646: error: ‘GtkWidget’ undeclared (first use in this function)
main-gtk.c:646: error: ‘menu_bar’ undeclared (first use in this function)
main-gtk.c:646: error: ‘file_item’ undeclared (first use in this function)
main-gtk.c:646: warning: left-hand operand of comma expression has no effect
main-gtk.c:646: error: ‘file_menu’ undeclared (first use in this function)
main-gtk.c:646: warning: left-hand operand of comma expression has no effect
main-gtk.c:646: error: ‘box’ undeclared (first use in this function)
main-gtk.c:646: warning: left-hand operand of comma expression has no effect
main-gtk.c:647: error: ‘seperator_item’ undeclared (first use in this function)
main-gtk.c:647: error: ‘file_exit_item’ undeclared (first use in this function)
main-gtk.c:647: warning: left-hand operand of comma expression has no effect
main-gtk.c:647: error: ‘file_new_item’ undeclared (first use in this function)
main-gtk.c:647: warning: left-hand operand of comma expression has no effect
main-gtk.c:647: error: ‘file_open_item’ undeclared (first use in this function)
main-gtk.c:647: warning: left-hand operand of comma expression has no effect
main-gtk.c:648: error: ‘options_item’ undeclared (first use in this function)
main-gtk.c:648: error: ‘options_menu’ undeclared (first use in this function)
main-gtk.c:648: warning: left-hand operand of comma expression has no effect
main-gtk.c:648: error: ‘options_font_item’ undeclared (first use in this function)
main-gtk.c:648: warning: left-hand operand of comma expression has no effect
main-gtk.c:656: error: ‘term_data’ has no member named ‘window’
main-gtk.c:656: warning: implicit declaration of function ‘gtk_window_new’
main-gtk.c:656: error: ‘GTK_WINDOW_TOPLEVEL’ undeclared (first use in this function)
main-gtk.c:657: warning: implicit declaration of function ‘gtk_vbox_new’
main-gtk.c:658: error: ‘term_data’ has no member named ‘drawing_area’
main-gtk.c:658: warning: implicit declaration of function ‘gtk_drawing_area_new’
main-gtk.c:661: warning: implicit declaration of function ‘gtk_window_set_title’
main-gtk.c:661: warning: implicit declaration of function ‘GTK_WINDOW’
main-gtk.c:661: error: ‘term_data’ has no member named ‘window’
main-gtk.c:661: error: ‘term_data’ has no member named ‘name’
main-gtk.c:662: warning: implicit declaration of function ‘gtk_drawing_area_size’
main-gtk.c:662: warning: implicit declaration of function ‘GTK_DRAWING_AREA’
main-gtk.c:662: error: ‘term_data’ has no member named ‘drawing_area’
main-gtk.c:662: error: ‘term_data’ has no member named ‘cols’
main-gtk.c:662: error: ‘term_data’ has no member named ‘font_wid’
main-gtk.c:662: error: ‘term_data’ has no member named ‘rows’
main-gtk.c:662: error: ‘term_data’ has no member named ‘font_hgt’
main-gtk.c:664: warning: implicit declaration of function ‘gtk_signal_connect’
main-gtk.c:664: warning: implicit declaration of function ‘GTK_OBJECT’
main-gtk.c:664: error: ‘term_data’ has no member named ‘window’
main-gtk.c:664: warning: implicit declaration of function ‘GTK_SIGNAL_FUNC’
main-gtk.c:664: error: ‘delete_event_handler’ undeclared (first use in this function)
main-gtk.c:665: error: ‘term_data’ has no member named ‘window’
main-gtk.c:665: error: ‘keypress_event_handler’ undeclared (first use in this function)
main-gtk.c:666: error: ‘term_data’ has no member named ‘drawing_area’
main-gtk.c:666: error: ‘expose_event_handler’ undeclared (first use in this function)
main-gtk.c:669: error: ‘term_data’ has no member named ‘window’
main-gtk.c:669: error: ‘destroy_event_handler’ undeclared (first use in this function)
main-gtk.c:671: error: ‘term_data’ has no member named ‘window’
main-gtk.c:671: error: ‘hide_event_handler’ undeclared (first use in this function)
main-gtk.c:673: warning: implicit declaration of function ‘gtk_container_add’
main-gtk.c:673: warning: implicit declaration of function ‘GTK_CONTAINER’
main-gtk.c:673: error: ‘term_data’ has no member named ‘window’
main-gtk.c:679: warning: implicit declaration of function ‘gtk_menu_bar_new’
main-gtk.c:680: warning: implicit declaration of function ‘gtk_menu_item_new_with_label’
main-gtk.c:681: warning: implicit declaration of function ‘gtk_menu_new’
main-gtk.c:684: warning: implicit declaration of function ‘gtk_menu_item_new’
main-gtk.c:691: error: ‘quit_event_handler’ undeclared (first use in this function)
main-gtk.c:692: error: ‘new_event_handler’ undeclared (first use in this function)
main-gtk.c:693: error: ‘open_event_handler’ undeclared (first use in this function)
main-gtk.c:694: error: ‘change_font_event_handler’ undeclared (first use in this function)
main-gtk.c:697: warning: implicit declaration of function ‘gtk_menu_bar_append’
main-gtk.c:697: warning: implicit declaration of function ‘GTK_MENU_BAR’
main-gtk.c:699: warning: implicit declaration of function ‘gtk_menu_item_set_submenu’
main-gtk.c:699: warning: implicit declaration of function ‘GTK_MENU_ITEM’
main-gtk.c:701: warning: implicit declaration of function ‘gtk_menu_append’
main-gtk.c:701: warning: implicit declaration of function ‘GTK_MENU’
main-gtk.c:708: warning: implicit declaration of function ‘gtk_box_pack_start’
main-gtk.c:708: warning: implicit declaration of function ‘GTK_BOX’
main-gtk.c:712: warning: implicit declaration of function ‘gtk_box_pack_start_defaults’
main-gtk.c:712: error: ‘term_data’ has no member named ‘drawing_area’
main-gtk.c:715: warning: implicit declaration of function ‘gtk_widget_show_all’
main-gtk.c:715: error: ‘term_data’ has no member named ‘window’
main-gtk.c:718: error: ‘term_data’ has no member named ‘pixmap’
main-gtk.c:718: warning: implicit declaration of function ‘gdk_pixmap_new’
main-gtk.c:718: error: ‘term_data’ has no member named ‘drawing_area’
main-gtk.c:718: error: ‘term_data’ has no member named ‘cols’
main-gtk.c:718: error: ‘term_data’ has no member named ‘font_wid’
main-gtk.c:718: error: ‘term_data’ has no member named ‘rows’
main-gtk.c:718: error: ‘term_data’ has no member named ‘font_hgt’
main-gtk.c:719: warning: implicit declaration of function ‘gtk_object_set_data’
main-gtk.c:719: error: ‘term_data’ has no member named ‘drawing_area’
main-gtk.c:719: error: ‘term_data’ has no member named ‘pixmap’
main-gtk.c:720: error: ‘term_data’ has no member named ‘gc’
main-gtk.c:720: warning: implicit declaration of function ‘gdk_gc_new’
main-gtk.c:720: error: ‘term_data’ has no member named ‘drawing_area’
main-gtk.c:723: error: ‘term_data’ has no member named ‘pixmap’
main-gtk.c:723: error: ‘term_data’ has no member named ‘drawing_area’
main-gtk.c:725: error: ‘term_data’ has no member named ‘cols’
main-gtk.c:725: error: ‘term_data’ has no member named ‘font_wid’
main-gtk.c:725: error: ‘term_data’ has no member named ‘rows’
main-gtk.c:725: error: ‘term_data’ has no member named ‘font_hgt’
main-gtk.c:728: error: ‘term_data’ has no member named ‘drawing_area’
main-gtk.c:728: error: ‘term_data’ has no member named ‘gc’
main-gtk.c:728: error: ‘term_data’ has no member named ‘pixmap’
main-gtk.c:730: error: ‘term_data’ has no member named ‘cols’
main-gtk.c:730: error: ‘term_data’ has no member named ‘font_wid’
main-gtk.c:730: error: ‘term_data’ has no member named ‘rows’
main-gtk.c:730: error: ‘term_data’ has no member named ‘font_hgt’
main-gtk.c: In function ‘init_gtk’:
main-gtk.c:746: warning: implicit declaration of function ‘gtk_init’
main-gtk.c:800: warning: implicit declaration of function ‘gtk_main’
make: *** [main-gtk.o] Error 1