gcc -I.. -I -DPREFIX=\"/usr\" -I. -I./core -I./core/uae -I./core/ti_hw -I./core/ti_sw -I./core/dbg -I./sound -I./gui -I./gui/calc -I./gui/debugger -I./ipc/dcop -I./ipc/dbus -I./ipc/com -I./kde -I./misc -DHAVE_CONFIG_H -DSHARE_DIR=\"/usr/share/tiemu\" -DLOCALEDIR=\"/usr/share/locale\" -c -march=i686 -mtune=generic -O2 -pipe -D__I386__ -D__LINUX__ -fvisibility=hidden -DGTK_DISABLE_DEPRECATED -DDEBUGGER -DNO_GDB -I/usr/include/tilp2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/tilp2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/tilp2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/tilp2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT gui/filesel.c -o gui/filesel.o gui/filesel.c:155: error: expected ')' before '*' token gui/filesel.c: In function 'create_fsel_1': gui/filesel.c:178: warning: assignment makes pointer from integer without a cast gui/filesel.c:188: error: invalid type argument of '->' gui/filesel.c:188: error: 'store_filename' undeclared (first use in this function) gui/filesel.c:188: error: (Each undeclared identifier is reported only once gui/filesel.c:188: error: for each function it appears in.) gui/filesel.c:191: error: invalid type argument of '->' gui/filesel.c:195: error: invalid type argument of '->' gui/filesel.c:201: error: invalid type argument of '->' gui/filesel.c: At top level: gui/filesel.c:502: error: expected ')' before '*' token gui/filesel.c: In function 'create_fsels_1': gui/filesel.c:525: warning: assignment makes pointer from integer without a cast gui/filesel.c:536: error: invalid type argument of '->' gui/filesel.c:536: error: 'store_filenames' undeclared (first use in this function) gui/filesel.c:539: error: invalid type argument of '->' gui/filesel.c:543: error: invalid type argument of '->' gui/filesel.c:549: error: invalid type argument of '->' make[2]: *** [gui/filesel.o] Error 1 make[2]: Leaving directory `/root/ti/tiemu3/src/tiemu/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/ti/tiemu3/src/tiemu' make: *** [all] Error 2 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ gui/filesel.c looks like: 152: static gchar *fname = NULL; 153: static gint action = 0; 154: 155: static void store_filename(GtkFileSelection * file_selector, 156: gpointer user_data) 157: { 158: fname = g_strdup((gchar *)gtk_file_selection_get_filename(GTK_FILE_SELECTION(user_data))); 159: action = 1; 160: } 161: 162: static void cancel_filename(GtkButton * button, gpointer user_data) 163: { 164: fname = NULL; 165: action = 2; 166: }