MAKE fails .. note that i am in src directroy .. ****old record.c srini@ubuntu:~/Desktop$ ls -l record.c -rw-r--r-- 1 srini srini 14442 2006-06-08 09:00 record.c ***new record.c srini@ubuntu:~/Desktop/ldtp/src$ ls -l record.c -rw-r--r-- 1 srini srini 26972 2006-06-18 20:02 record.c note that new record.c is in src dir srini@ubuntu:~/Desktop/ldtp/src$ make if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -DORBIT2=1 -pthread -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -I/opt/gnome/include/at-spi-1.0 -I/opt/gnome/include/libbonobo-2.0 -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I/opt/gnome/include/orbit-2.0 -I/opt/gnome/include/bonobo-activation-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/pango-1.0 -g -O2 -MT ldtp.o -MD -MP -MF ".deps/ldtp.Tpo" -c -o ldtp.o ldtp.c; \ then mv -f ".deps/ldtp.Tpo" ".deps/ldtp.Po"; else rm -f ".deps/ldtp.Tpo"; exit 1; fi In file included from ldtp.c:26: ldtp.h:34:18: error: glib.h: No such file or directory ldtp.h:35:26: error: glib/gprintf.h: No such file or directory ldtp.h:46:22: error: cspi/spi.h: No such file or directory In file included from client-handler.h:33, from ldtp-gui.h:31, from ldtp.c:27: ldtp-request.h:36: error: syntax error before ‘gchar’ ldtp-request.h:36: warning: no semicolon at end of struct or union ldtp-request.h:37: warning: data definition has no type or storage class ldtp-request.h:38: error: syntax error before ‘*’ token ldtp-request.h:38: warning: data definition has no type or storage class ldtp-request.h:39: error: syntax error before ‘*’ token ldtp-request.h:39: warning: data definition has no type or storage class ldtp-request.h:40: error: syntax error before ‘*’ token ldtp-request.h:40: warning: data definition has no type or storage class ldtp-request.h:41: error: syntax error before ‘*’ token ldtp-request.h:41: warning: data definition has no type or storage class ldtp-request.h:42: error: syntax error before ‘}’ token ldtp-request.h:51: error: syntax error before ‘gchar’ In file included from ldtp-gui.h:31, from ldtp.c:27: client-handler.h:42: error: syntax error before ‘Accessible’ client-handler.h:42: warning: no semicolon at end of struct or union client-handler.h:44: error: syntax error before ‘}’ token client-handler.h:49: error: syntax error before ‘gboolean’ client-handler.h:49: warning: no semicolon at end of struct or union client-handler.h:50: warning: data definition has no type or storage class client-handler.h:51: error: syntax error before ‘*’ token client-handler.h:51: warning: data definition has no type or storage class client-handler.h:52: error: syntax error before ‘*’ token client-handler.h:52: warning: data definition has no type or storage class client-handler.h:57: error: syntax error before ‘}’ token In file included from ldtp-gui.h:33, from ldtp.c:27: ldtp-appmap.h:30: error: syntax error before ‘*’ token ldtp-appmap.h:30: warning: data definition has no type or storage class ldtp-appmap.h:31: error: syntax error before ‘*’ token ldtp-appmap.h:32: error: syntax error before ‘*’ token ldtp-appmap.h:33: error: syntax error before ‘*’ token ldtp-appmap.h:33: error: syntax error before ‘*’ token ldtp-appmap.h:33: warning: data definition has no type or storage class ldtp-appmap.h:35: error: syntax error before ‘GHashTable’ ldtp-appmap.h:36: error: syntax error before ‘GHashTable’ In file included from ldtp.c:27: ldtp-gui.h:129: error: syntax error before ‘AccessibleRole’ ldtp-gui.h:129: warning: no semicolon at end of struct or union ldtp-gui.h:140: error: syntax error before ‘*’ token ldtp-gui.h:140: error: syntax error before ‘*’ token ldtp-gui.h:140: warning: data definition has no type or storage class ldtp-gui.h:141: error: syntax error before ‘*’ token ldtp-gui.h:141: error: syntax error before ‘*’ token ldtp-gui.h:141: warning: data definition has no type or storage class ldtp-gui.h:142: error: syntax error before ‘*’ token ldtp-gui.h:142: error: syntax error before ‘*’ token ldtp-gui.h:142: warning: data definition has no type or storage class ldtp-gui.h:144: error: syntax error before ‘*’ token ldtp-gui.h:145: error: syntax error before ‘*’ token ldtp-gui.h:146: error: syntax error before ‘*’ token ldtp-gui.h:149: error: syntax error before ‘*’ token In file included from ldtp.c:28: remap.h:29: error: syntax error before ‘*’ token remap.h:29: error: syntax error before ‘*’ token remap.h:29: warning: data definition has no type or storage class remap.h:30: error: syntax error before ‘*’ token remap.h:30: error: syntax error before ‘*’ token remap.h:30: warning: data definition has no type or storage class remap.h:31: error: syntax error before ‘AccessibleRole’ In file included from ldtp.c:30: ldtp-utils.h:36: error: syntax error before ‘*’ token ldtp-utils.h:36: error: syntax error before ‘*’ token ldtp-utils.h:36: warning: data definition has no type or storage class ldtp-utils.h:37: error: syntax error before ‘*’ token ldtp-utils.h:37: warning: data definition has no type or storage class In file included from ldtp.c:33: ldtp-logger.h:61: error: syntax error before ‘open_log_file’ ldtp-logger.h:61: warning: data definition has no type or storage class ldtp.c:35: error: syntax error before ‘ldtp_gui_timeout’ ldtp.c:35: warning: data definition has no type or storage class ldtp.c:36: error: syntax error before ‘ldtp_debug’ ldtp.c:36: error: ‘FALSE’ undeclared here (not in a function) ldtp.c:36: warning: data definition has no type or storage class ldtp.c:37: error: syntax error before ‘ldtp_usage’ ldtp.c:37: warning: data definition has no type or storage class ldtp.c:38: error: syntax error before ‘ldtp_version’ ldtp.c:38: warning: data definition has no type or storage class ldtp.c:39: error: syntax error before ‘*’ token ldtp.c:39: warning: data definition has no type or storage class ldtp.c:40: error: syntax error before ‘*’ token ldtp.c:40: warning: data definition has no type or storage class ldtp.c:41: error: syntax error before ‘*’ token ldtp.c:41: warning: data definition has no type or storage class ldtp.c:43: error: syntax error before ‘entries’ ldtp.c:45: warning: braces around scalar initializer ldtp.c:45: warning: (near initialization for ‘entries[0]’) ldtp.c:45: warning: initialization makes integer from pointer without a cast ldtp.c:45: warning: excess elements in scalar initializer ldtp.c:45: warning: (near initialization for ‘entries[0]’) ldtp.c:45: warning: excess elements in scalar initializer ldtp.c:45: warning: (near initialization for ‘entries[0]’) ldtp.c:45: error: ‘G_OPTION_ARG_INT’ undeclared here (not in a function) ldtp.c:45: warning: excess elements in scalar initializer ldtp.c:45: warning: (near initialization for ‘entries[0]’) ldtp.c:45: warning: excess elements in scalar initializer ldtp.c:45: warning: (near initialization for ‘entries[0]’) ldtp.c:45: warning: excess elements in scalar initializer ldtp.c:45: warning: (near initialization for ‘entries[0]’) ldtp.c:45: warning: excess elements in scalar initializer ldtp.c:45: warning: (near initialization for ‘entries[0]’) ldtp.c:46: warning: braces around scalar initializer ldtp.c:46: warning: (near initialization for ‘entries[1]’) ldtp.c:46: warning: initialization makes integer from pointer without a cast ldtp.c:46: warning: excess elements in scalar initializer ldtp.c:46: warning: (near initialization for ‘entries[1]’) ldtp.c:46: warning: excess elements in scalar initializer ldtp.c:46: warning: (near initialization for ‘entries[1]’) ldtp.c:46: error: ‘G_OPTION_ARG_NONE’ undeclared here (not in a function) ldtp.c:46: warning: excess elements in scalar initializer ldtp.c:46: warning: (near initialization for ‘entries[1]’) ldtp.c:46: warning: excess elements in scalar initializer ldtp.c:46: warning: (near initialization for ‘entries[1]’) ldtp.c:46: warning: excess elements in scalar initializer ldtp.c:46: warning: (near initialization for ‘entries[1]’) ldtp.c:46: warning: excess elements in scalar initializer ldtp.c:46: warning: (near initialization for ‘entries[1]’) ldtp.c:47: warning: braces around scalar initializer ldtp.c:47: warning: (near initialization for ‘entries[2]’) ldtp.c:47: warning: initialization makes integer from pointer without a cast ldtp.c:47: warning: excess elements in scalar initializer ldtp.c:47: warning: (near initialization for ‘entries[2]’) ldtp.c:47: warning: excess elements in scalar initializer ldtp.c:47: warning: (near initialization for ‘entries[2]’) ldtp.c:47: warning: excess elements in scalar initializer ldtp.c:47: warning: (near initialization for ‘entries[2]’) ldtp.c:47: warning: excess elements in scalar initializer ldtp.c:47: warning: (near initialization for ‘entries[2]’) ldtp.c:47: warning: excess elements in scalar initializer ldtp.c:47: warning: (near initialization for ‘entries[2]’) ldtp.c:47: warning: excess elements in scalar initializer ldtp.c:47: warning: (near initialization for ‘entries[2]’) ldtp.c:48: warning: braces around scalar initializer ldtp.c:48: warning: (near initialization for ‘entries[3]’) ldtp.c:48: warning: initialization makes integer from pointer without a cast ldtp.c:48: warning: excess elements in scalar initializer ldtp.c:48: warning: (near initialization for ‘entries[3]’) ldtp.c:48: warning: excess elements in scalar initializer ldtp.c:48: warning: (near initialization for ‘entries[3]’) ldtp.c:48: warning: excess elements in scalar initializer ldtp.c:48: warning: (near initialization for ‘entries[3]’) ldtp.c:48: warning: excess elements in scalar initializer ldtp.c:48: warning: (near initialization for ‘entries[3]’) ldtp.c:48: warning: excess elements in scalar initializer ldtp.c:48: warning: (near initialization for ‘entries[3]’) ldtp.c:48: warning: excess elements in scalar initializer ldtp.c:48: warning: (near initialization for ‘entries[3]’) ldtp.c:49: warning: braces around scalar initializer ldtp.c:49: warning: (near initialization for ‘entries[4]’) ldtp.c:49: warning: initialization makes integer from pointer without a cast ldtp.c:50: warning: data definition has no type or storage class ldtp.c:53: error: syntax error before ‘search_title_based’ ldtp.c:53: error: syntax error before ‘key’ ldtp.c: In function ‘search_title_based’: ldtp.c:55: error: ‘key’ undeclared (first use in this function) ldtp.c:55: error: (Each undeclared identifier is reported only once ldtp.c:55: error: for each function it appears in.) ldtp.c:55: error: ‘user_data’ undeclared (first use in this function) ldtp.c:56: error: ‘TRUE’ undeclared (first use in this function) ldtp.c: At top level: ldtp.c:63: error: syntax error before ‘*’ token ldtp.c: In function ‘is_window_reg_for_events’: ldtp.c:66: error: ‘event’ undeclared (first use in this function) ldtp.c:66: warning: assignment makes pointer from integer without a cast ldtp.c:68: error: dereferencing pointer to incomplete type ldtp.c: At top level: ldtp.c:73: error: syntax error before ‘*’ token ldtp.c: In function ‘report_window_event’: ldtp.c:75: error: ‘event’ undeclared (first use in this function) ldtp.c:75: warning: initialization makes pointer from integer without a cast ldtp.c:76: warning: assignment makes pointer from integer without a cast ldtp.c:88: error: dereferencing pointer to incomplete type ldtp.c:89: error: dereferencing pointer to incomplete type ldtp.c:91: error: dereferencing pointer to incomplete type ldtp.c:99: error: dereferencing pointer to incomplete type ldtp.c:100: error: dereferencing pointer to incomplete type ldtp.c:101: error: dereferencing pointer to incomplete type ldtp.c:115: error: dereferencing pointer to incomplete type ldtp.c:123: error: dereferencing pointer to incomplete type ldtp.c: At top level: ldtp.c:134: error: syntax error before ‘key’ ldtp.c: In function ‘signal_all_threads’: ldtp.c:136: error: ‘value’ undeclared (first use in this function) ldtp.c: In function ‘init_pollfd’: ldtp.c:242: error: ‘g_int_hash’ undeclared (first use in this function) ldtp.c:242: error: ‘g_int_equal’ undeclared (first use in this function) ldtp.c:242: warning: assignment makes pointer from integer without a cast ldtp.c: In function ‘main’: ldtp.c:321: error: ‘GError’ undeclared (first use in this function) ldtp.c:321: error: ‘error’ undeclared (first use in this function) ldtp.c:325: error: ‘GOptionContext’ undeclared (first use in this function) ldtp.c:327: warning: assignment makes pointer from integer without a cast ldtp.c:370: warning: assignment makes pointer from integer without a cast make: *** [ldtp.o] Error 1 srini@ubuntu:~/Desktop/ldtp/src$