$ make gcc `gimptool-2.0 --cflags` -I/opt/local/include -c main.c -o main.o /bin/sh: line 1: gimptool-2.0: command not found main.c:27:21: error: gtk/gtk.h: No such file or directory main.c:29:26: error: libgimp/gimp.h: No such file or directory main.c:30:28: error: libgimp/gimpui.h: No such file or directory In file included from main.c:34: main.h:25: error: parse error before 'interactive_ico' main.h:25: warning: data definition has no type or storage class main.h:40: error: parse error before 'gint32' main.h:40: warning: no semicolon at end of struct or union main.h:41: warning: data definition has no type or storage class main.h:42: warning: data definition has no type or storage class main.h:46: error: parse error before 'gint32' main.h:46: warning: no semicolon at end of struct or union main.h:47: warning: data definition has no type or storage class main.h:48: error: parse error before 'cursor' main.h:48: warning: data definition has no type or storage class main.h:49: error: parse error before '*' token main.h:49: warning: data definition has no type or storage class main.h:50: error: parse error before '}' token main.h:50: warning: data definition has no type or storage class main.h:54: error: parse error before 'fourcc' main.h:55: error: parse error before '*' token In file included from main.c:35: icnsdata.h:6: error: parse error before 'gint32' icnsdata.h:6: warning: no semicolon at end of struct or union icnsdata.h:7: warning: data definition has no type or storage class icnsdata.h:8: error: parse error before 'height' icnsdata.h:8: warning: data definition has no type or storage class icnsdata.h:9: error: parse error before 'bits' icnsdata.h:9: warning: data definition has no type or storage class icnsdata.h:10: error: parse error before 'mask' icnsdata.h:10: warning: data definition has no type or storage class icnsdata.h:11: warning: data definition has no type or storage class icnsdata.h:13: error: parse error before 'iconTypes' icnsdata.h:13: warning: data definition has no type or storage class icnsdata.h:14: error: parse error before 'maskTypes' icnsdata.h:14: warning: data definition has no type or storage class icnsdata.h:15: error: parse error before 'icns_colormap_4' icnsdata.h:15: warning: data definition has no type or storage class icnsdata.h:16: error: parse error before 'icns_colormap_8' icnsdata.h:16: warning: data definition has no type or storage class In file included from main.c:36: icnsload.h:25: error: parse error before 'LoadICNS' icnsload.h:25: error: parse error before '*' token icnsload.h:25: warning: data definition has no type or storage class main.c:43: error: parse error before 'interactive_ico' main.c:43: error: 'FALSE' undeclared here (not in a function) main.c:43: warning: data definition has no type or storage class main.c:46: error: parse error before '*' token main.c:53: error: parse error before 'PLUG_IN_INFO' main.c:55: warning: initialization makes integer from pointer without a cast main.c:56: warning: excess elements in scalar initializer main.c:56: warning: (near initialization for 'PLUG_IN_INFO') main.c:57: warning: excess elements in scalar initializer main.c:57: warning: (near initialization for 'PLUG_IN_INFO') main.c:58: warning: excess elements in scalar initializer main.c:58: warning: (near initialization for 'PLUG_IN_INFO') main.c:59: warning: data definition has no type or storage class main.c: In function 'MAIN': main.c:65: error: storage class specified for parameter 'query' main.c:65: error: parse error before '{' token main.c:72: error: storage class specified for parameter 'GimpParamDef' main.c:72: error: parse error before 'load_return_vals' main.c:72: error: declaration for parameter 'GimpParamDef' but no such parameter main.c:65: error: declaration for parameter 'query' but no such parameter main.c:74: error: 'GIMP_PDB_IMAGE' undeclared (first use in this function) main.c:74: error: (Each undeclared identifier is reported only once main.c:74: error: for each function it appears in.) main.c:74: error: parse error before '}' token main.c:77: error: nested functions are disabled, use -fnested-functions to re-enable main.c:77: error: syntax error before 'save_args' main.c:94: error: 'GIMP_PLUGIN' undeclared (first use in this function) main.c:95: error: 'load_args' undeclared (first use in this function) main.c:96: error: 'load_return_vals' undeclared (first use in this function) main.c:113: error: 'save_args' undeclared (first use in this function) main.c: At top level: main.c:122: error: parse error before '*' token main.c: In function 'run': main.c:128: error: nested functions are disabled, use -fnested-functions to re-enable main.c:128: error: syntax error before 'values' main.c:129: error: 'gint32' undeclared (first use in this function) main.c:131: error: 'GimpRunMode' undeclared (first use in this function) main.c:132: error: 'GimpPDBStatusType' undeclared (first use in this function) main.c:133: error: 'GimpExportReturn' undeclared (first use in this function) main.c:135: error: 'run_mode' undeclared (first use in this function) main.c:135: error: 'param' undeclared (first use in this function) main.c:137: error: 'nreturn_vals' undeclared (first use in this function) main.c:138: error: 'return_vals' undeclared (first use in this function) main.c:138: error: 'values' undeclared (first use in this function) main.c:139: error: 'GIMP_PDB_STATUS' undeclared (first use in this function) main.c:140: error: 'GIMP_PDB_EXECUTION_ERROR' undeclared (first use in this function) main.c:142: error: 'name' undeclared (first use in this function) main.c:146: error: 'GIMP_RUN_INTERACTIVE' undeclared (first use in this function) main.c:147: error: 'TRUE' undeclared (first use in this function) main.c:150: error: 'GIMP_RUN_NONINTERACTIVE' undeclared (first use in this function) main.c:152: error: 'nparams' undeclared (first use in this function) main.c:153: error: 'status' undeclared (first use in this function) main.c:153: error: 'GIMP_PDB_CALLING_ERROR' undeclared (first use in this function) main.c:160: error: 'GIMP_PDB_SUCCESS' undeclared (first use in this function) main.c:162: error: 'image_ID' undeclared (first use in this function) main.c:167: error: 'GIMP_PDB_IMAGE' undeclared (first use in this function) main.c: At top level: main.c:226: error: parse error before 'fourcc' main.c: In function 'fourcc_get_string': main.c:228: error: 'gint32' undeclared (first use in this function) main.c:228: error: parse error before ')' token main.c:228: error: 'fourcc' undeclared (first use in this function) main.c:229: error: 'buf' undeclared (first use in this function) main.c: At top level: main.c:232: error: parse error before '*' token main.c: In function 'hexdump': main.c:234: error: 'guint' undeclared (first use in this function) main.c:234: error: parse error before 'i' main.c:235: error: 'i' undeclared (first use in this function) main.c:235: error: 'nbytes' undeclared (first use in this function) make: *** [main.o] Error 1