SGI: Development

Building GLchess on 6.2 - Page 2

Thanks, I tried that. It's still not compiling. I do see some errors looking for stuff like malloc and free, which should be included by default, right?
johnsmith wrote:
Thanks, I tried that. It's still not compiling. I do see some errors looking for stuff like malloc and free, which should be included by default, right?


as usual the output would help ...
Pages of errors!

Code:
ld  -n32  -o glchess *.o -L/usr/lib32 -L/usr/freeware/lib3
2 -L/usr/X11R6/lib -lgtkgl -lGL -lGLU  -lXi -lXmu -lm
ld32: WARNING 15 : Multiply defined:(CECP_Mode) in anim.o and config.o (2nd definition ignored).
ld32: WARNING 15 : Multiply defined:(CECP_Mode) in anim.o and dialog.o (2nd definition ignored).
ld32: WARNING 15 : Multiply defined:(CECP_Mode) in anim.o and draw.o (2nd definition ignored).
ld32: WARNING 15 : Multiply defined:(CECP_Mode) in anim.o and engine.o (2nd definition ignored).
ld32: WARNING 15 : Multiply defined:(CECP_Mode) in anim.o and game.o (2nd definition ignored).
ld32: WARNING 15 : Multiply defined:(CECP_Mode) in anim.o and global.o (2nd definition ignored).
ld32: WARNING 84 : /usr/lib32/libXi.so is not used for resolving any symbol.
ld32: WARNING 84 : /usr/lib32/libXmu.so is not used for resolving any symbol.
ld32: ERROR   33 : Unresolved text symbol "fgetc" -- 1st referenced by config.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "malloc" -- 1st referenced by config.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "realloc" -- 1st referenced by config.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "fopen" -- 1st referenced by config.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "fprintf" -- 1st referenced by config.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "free" -- 1st referenced by config.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "fclose" -- 1st referenced by config.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "atof" -- 1st referenced by config.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "atoi" -- 1st referenced by config.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "strcmp" -- 1st referenced by config.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "strdup" -- 1st referenced by config.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved data symbol "__ctype" -- 1st referenced by config.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved data symbol "__iob" -- 1st referenced by config.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_dialog_new" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_window_get_type" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_type_check_object_cast" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_window_set_title" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_window_set_modal" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_window_set_position" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_hbox_new" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_label_new" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_button_new_with_label" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_signal_connect_object" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_dialog_get_type" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_box_get_type" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_box_pack_start" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_widget_show_all" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_signal_connect" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_widget_realize" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gdk_pixmap_create_from_xpm_d" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_pixmap_new" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_main_quit" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_radio_button_new_with_label" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_radio_button_get_type" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_radio_button_group" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_box_pack_end" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_toggle_button_get_type" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_container_get_type" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_container_set_border_width" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_entry_new" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_check_button_new_with_label" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_entry_get_type" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_entry_set_text" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "g_strdup" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_entry_set_editable" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "getenv" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "snprintf" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_entry_get_text" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "g_free" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_file_selection_new" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_file_selection_get_type" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_file_selection_get_filename" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_widget_destroy" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "glBindTexture" -- 1st referenced by draw.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "pipe" -- 1st referenced by engine.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "exit" -- 1st referenced by engine.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "signal" -- 1st referenced by engine.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "fork" -- 1st referenced by engine.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "dup2" -- 1st referenced by engine.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "close" -- 1st referenced by engine.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "getpid" -- 1st referenced by engine.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "setpgid" -- 1st referenced by engine.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "execvp" -- 1st referenced by engine.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "_exit" -- 1st referenced by engine.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "poll" -- 1st referenced by engine.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "read" -- 1st referenced by engine.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "kill" -- 1st referenced by engine.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "strchr" -- 1st referenced by engine.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "sprintf" -- 1st referenced by engine.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "strlen" -- 1st referenced by engine.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "write" -- 1st referenced by engine.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "strstr" -- 1st referenced by engine.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "__semputc" -- 1st referenced by engine.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "__flsbuf" -- 1st referenced by engine.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "vfprintf" -- 1st referenced by engine.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "tolower" -- 1st referenced by engine.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved data symbol "__us_rsthread_stdio" -- 1st referenced by engine.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "fread" -- 1st referenced by image.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "fseek" -- 1st referenced by image.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_init" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "g_print" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "g_timer_new" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_idle_add" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_label_get_type" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_label_set_text" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "g_timer_start" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "g_timer_destroy" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_idle_remove" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_clist_get_type" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_clist_clear" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_signal_disconnect" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "g_timer_elapsed" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "g_timer_reset" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "select" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_window_new" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_quit_add_destroy" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_vbox_new" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_container_add" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_radio_button_new" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_scrolled_window_new" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_scrolled_window_get_type" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_scrolled_window_set_policy" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_widget_set_usize" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_clist_new_with_titles" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_clist_set_column_width" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_clist_set_column_resizeable" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_clist_column_titles_passive" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_widget_get_type" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_widget_set_events" -- 1st referenced by interface.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "memset" -- 1st referenced by main.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_main" -- 1st referenced by main.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_accel_group_new" -- 1st referenced by menu.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_menu_bar_get_type" -- 1st referenced by menu.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_item_factory_new" -- 1st referenced by menu.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_item_factory_create_items" -- 1st referenced by menu.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_item_factory_get_widget" -- 1st referenced by menu.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_check_menu_item_get_type" -- 1st referenced by menu.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_check_menu_item_set_active" -- 1st referenced by menu.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_window_add_accel_group" -- 1st referenced by menu.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_clist_append" -- 1st referenced by move.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_clist_moveto" -- 1st referenced by move.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_clist_set_text" -- 1st referenced by move.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "strcpy" -- 1st referenced by player.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_table_get_type" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_table_attach_defaults" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_toggle_button_set_active" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "strncmp" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_signal_emit_by_name" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_file_selection_set_filename" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gdk_window_get_colormap" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gdk_color_alloc" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gdk_window_set_background" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gdk_window_clear" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_color_selection_get_type" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_color_selection_get_color" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_color_selection_new" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_color_selection_set_opacity" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_color_selection_set_color" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_drawing_area_new" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_table_new" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_notebook_get_type" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_notebook_append_page" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "g_list_append" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_combo_new" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_combo_get_type" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_combo_set_popdown_strings" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_adjustment_new" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_spin_button_new" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_spin_button_get_type" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_spin_button_set_numeric" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_label_get" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_notebook_new" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gtk_label_set_line_wrap" -- 1st referenced by prefs.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "glGenTextures" -- 1st referenced by texture.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "glDeleteTextures" -- 1st referenced by texture.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: INFO    152: Output file removed because of error.
johnsmith wrote:
Thanks, I tried that. It's still not compiling. I do see some errors looking for stuff like malloc and free, which should be included by default, right?

Not if you're linking manually with ld :)

Use gcc to link the files:
Code:
gcc -mips3 -n32 -o glchess *.o -L/usr/freeware/lib32 -L/usr/X11R6/lib -lgtkgl -lgtk -lgdk -lgmodule -lglib -lXi -lXext -lX11 -lGLU -lGL -lm

This will automatically link it with libc and any other common runtime files it may require.
I think gcc used Irix ld back then, it gives the exact same error messages. Hmmmmmm.
johnsmith wrote:
I think gcc used Irix ld back then, it gives the exact same error messages. Hmmmmmm.

The order of the libraries is also important. Did you use the exact line I posted?
gcc -mips3 -o glchess *.o -L/usr/freeware/lib32 -L/usr/X1
1R6/lib -lgtkgl -lgtk -lgdk -lgmodule -lglib -lXi -lXext -lX11 -lGLU -lGL -lm
ld32: WARNING 15 : Multiply defined:(CECP_Mode) in anim.o and config.o (2nd definition ignored).
ld32: WARNING 15 : Multiply defined:(CECP_Mode) in anim.o and dialog.o (2nd definition ignored).
ld32: WARNING 15 : Multiply defined:(CECP_Mode) in anim.o and draw.o (2nd definition ignored).
ld32: WARNING 15 : Multiply defined:(CECP_Mode) in anim.o and engine.o (2nd definition ignored).
ld32: WARNING 15 : Multiply defined:(CECP_Mode) in anim.o and game.o (2nd definition ignored).
ld32: WARNING 15 : Multiply defined:(CECP_Mode) in anim.o and global.o (2nd definition ignored).
ld32: ERROR 33 : Unresolved text symbol "snprintf" -- 1st referenced by dialog.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "glBindTexture" -- 1st referenced by draw.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "glGenTextures" -- 1st referenced by texture.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "glDeleteTextures" -- 1st referenced by texture.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: INFO 152: Output file removed because of error.
collect2: ld returned 2 exit status
IRIX 6.2 doesn't have snprintf(), you'll have to code a replacement.

The three GL functions require OpenGL 1.1 or newer and aren't documented for IRIX 6.2 so you probably don't have them. Anything with textures is going to be real slow on an Indy anyway.

_________________
Now this is a deep dark secret, so everybody keep it quiet :)
It turns out that when reset, the WD33C93 defaults to a SCSI ID of 0, and it was simpler to leave it that way... -- Dave Olson, in comp.sys.sgi

Currently in commercial service: Image :Onyx2: (2x) :O3x02L:
In the museum : almost every MIPS/IRIX system.
Wanted : GM1 board for Professional Series GT graphics (030-0076-003, 030-0076-004)
Thanks for this. I tried to get something working from version 0.26, it's still missing some GL stuff. It muct be possible I saw a screenshot on 5.3, but I have no idea. Time to find another project.
jan-jaap wrote:
IRIX 6.2 doesn't have snprintf(), you'll have to code a replacement.

http://www.ijs.si/software/snprintf/

Quote:
The three GL functions require OpenGL 1.1 or newer ...

Woops :(
johnsmith wrote:
I saw a screenshot on 5.3, but I have no idea.

maybe an older version?
johnsmith wrote:
It's been a while since I've done this, so please bear with me. I've got GNUchess to build, and I have GTK installed.

I just took a look at this program ... jesus, johnsmith. This is a Gnome application that depends on Gtk2 and Python, and you want to run it in an Indy on 6.2 ?

Isn't there a time limit per move even in computer chess ? Somewhat less than one hour, I expect ? I wouldn't even try this on a dual-600 Octane.

There must be a chess game out there that's a little less top-heavy ...
I tried compiling with version 0.10, which uses glut not gtk, and still no luck. If I want to play chess, I'll go down the pub. Thanks for all the help!
johnsmith wrote:
If I want to play chess, I'll go down the pub

haha might be more fun anyway :P
I couldn't resist the challenge and with a bit of grunt work glchess 0.4.7 builds on IRIX 6.2.
It seems to work fine on my Indigo2 which has HighImpact graphics, the texturing is nice and fast.
I tried using GNU chess 5.08 but this just spins the cpu when glchess tries to make a move, going back to 5.05 (pre-pthreads) it works fine.

I added the glchess and gtkglarea packages to tgcware and I will build a gnuchess package later today.
Patches are here:
https://github.com/tgc/tgcware-for-irix
Packages available from here as usual:
http://jupiterrise.com/tgcware/tgcware.irix.html

-tgc

_________________
:PI: :Indigo: :Indy: :Indigo2IMP: :Octane:
tgc99 wrote:
I couldn't resist the challenge and with a bit of grunt work glchess 0.4.7 builds on IRIX 6.2.

That's pretty cool. If you could take a moment and write up a short description of your grunt work, that'd be a big help to some of us dummies out here :D
he provided the patch files -> https://github.com/tgc/tgcware-for-irix ... lchess/src , which should bring light into the darkness :lol:

_________________
no plan
yetanother**ixuser wrote:
he provided the patch files ...

You're right of course, but patch files are not searchable ... I'm a little concerned about the ongoing situation with software. If threads like this can get into a searchable structure with some explanation, then even if everyone here gets bored and disappears, at least some day someone else could come along and pick it up.

Also, from the beginner aspect of things ... if it looks like it is way too difficult to even start, no one will. I would hope that with these threads, even a person who was not a C programmer could see that basic tarbaby building is possible.

... somewhere over the rainbow ... ... oh well :D
tgc99 wrote:
I will build a gnuchess package later today.

Now uploaded.
I also built the lot for IRIX 5.3 but the chess board does not show up on my Indy which has an XL24 card.

-tgc

_________________
:PI: :Indigo: :Indy: :Indigo2IMP: :Octane:
great thanks tgc :D
the display might be right with another gfx card. iirc the XL series lacked some stuff like z-buffer or so, don't remember exactly right now