Frank Hrebabetzky wrote: > > Dear Carsten, > > I just tried to compile your Gimp/fourier package on > a PC/K6 with SuSe Linux 6.4 and got the error > messages in the attachment upon executing make. > > I know just the basics about Linux and C. > > Any hints? Do you need an further information? > > Cheers from the deep south, > Frank > > ----------------------------------------------- > Frank Hrebabetzky Tel.: +55/48/239-2033 > Fundacao CERTI Fax: +55/48/239-2009 > Campus da UFSC email: fh@xxxxxxxxxxxxx > Florianopolis, SC WWW: www.certi.ufsc.br > 88040-970 > Brazil > > ------------------------------------------------------------------------ > gcc -g `gtk-config --cflags` -O2 -Wall -c fourier.c > fourier.c:40: parse error before `GimpParam' > fourier.c:42: parse error before `*' > fourier.c:44: parse error before `PLUG_IN_INFO' > fourier.c:44: warning: type defaults to `int' in declaration of `PLUG_IN_INFO' > fourier.c:45: warning: initialization makes integer from pointer without a cast > fourier.c:46: warning: excess elements in scalar initializer > fourier.c:46: warning: (near initialization for `PLUG_IN_INFO') > fourier.c:47: warning: excess elements in scalar initializer > fourier.c:47: warning: (near initialization for `PLUG_IN_INFO') > fourier.c:48: warning: excess elements in scalar initializer > fourier.c:48: warning: (near initialization for `PLUG_IN_INFO') > fourier.c:49: warning: data definition has no type or storage class > fourier.c: In function `query': > fourier.c:83: syntax error before `args' > fourier.c: At top level: > fourier.c:90: parse error before `return_vals' > fourier.c:90: warning: type defaults to `int' in declaration of `return_vals' > fourier.c:91: warning: braces around scalar initializer > fourier.c:91: warning: (near initialization for `return_vals[0]') > fourier.c:91: warning: excess elements in scalar initializer > fourier.c:91: warning: (near initialization for `return_vals[0]') > fourier.c:91: warning: excess elements in scalar initializer > fourier.c:91: warning: (near initialization for `return_vals[0]') > fourier.c:92: warning: data definition has no type or storage class > fourier.c:94: `args' undeclared here (not in a function) > fourier.c:94: `args' undeclared here (not in a function) > fourier.c:97: parse error before string constant > fourier.c:98: warning: type defaults to `int' in declaration of `gimp_install_procedure' > fourier.c:98: conflicting types for `gimp_install_procedure' > /usr/include/libgimp/gimp.h:347: previous declaration of `gimp_install_procedure' > fourier.c:99: parse error before string constant > fourier.c:112: parse error before `GimpParam' > fourier.c: In function `run': > fourier.c:114: syntax error before `values' > fourier.c:115: `GimpDrawable' undeclared (first use in this function) > fourier.c:115: (Each undeclared identifier is reported only once > fourier.c:115: for each function it appears in.) > fourier.c:115: `drawable' undeclared (first use in this function) > fourier.c:115: warning: statement with no effect > fourier.c:116: parse error before `image_ID' > fourier.c:121: `values' undeclared (first use in this function) > fourier.c:124: `run_mode' undeclared (first use in this function) > fourier.c:124: `param' undeclared (first use in this function) > fourier.c:125: `image_ID' undeclared (first use in this function) > fourier.c:135: `n_params' undeclared (first use in this function) > fourier.c:137: `status' undeclared (first use in this function) > fourier.c:151: `new_image_ID' undeclared (first use in this function) > fourier.c:174: invalid type argument of `unary *' > fourier.c: At top level: > fourier.c:184: parse error before `*' > fourier.c: In function `doit': > fourier.c:186: `drawable' undeclared (first use in this function) > fourier.c:190: `GimpPixelRgn' undeclared (first use in this function) > fourier.c:190: parse error before `srcPR' > fourier.c:196: `GimpDrawable' undeclared (first use in this function) > fourier.c:196: `ldrawable1' undeclared (first use in this function) > fourier.c:196: warning: statement with no effect > fourier.c:197: parse error before `*' > fourier.c:210: `farbmode' undeclared (first use in this function) > fourier.c:225: `destPR1' undeclared (first use in this function) > fourier.c:229: `srcPR' undeclared (first use in this function) > fourier.c:232: `s' undeclared (first use in this function) > fourier.c:233: `p' undeclared (first use in this function) > fourier.c:262: warning: assignment from incompatible pointer type > fourier.c:305: `vmax' undeclared (first use in this function) > fourier.c:307: `vmin' undeclared (first use in this function) > fourier.c:319: `vdiff' undeclared (first use in this function) > fourier.c: At top level: > fourier.c:94: warning: `nargs' defined but not used > make: *** [fourier.o] Error 1 Anybody here who can help Frank? I dont know whats going on there.. thanks, Carsten