Errors while compiling Plug-ins
Hi,
I tried to install some new plug-ins. The plug-ins that didn't compile all
gave the same parse errors.
$ gimptool --install fsdither.c
gcc -O2 -march=i386 -mcpu=i686 -Wall -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o
/home/nat/.gimp-1.2/plug-ins/fsdither fsdither.c -L/usr/lib -lgimpui -lgimp
-L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext
-lX11 -lm
fsdither.c:61: parse error before `GParam'
fsdither.c:65: parse error before `*'
fsdither.c:103: parse error before `PLUG_IN_INFO'
fsdither.c:103: warning: type defaults to `int' in declaration of
`PLUG_IN_INFO'fsdither.c:105: warning: initialization makes integer from
pointer without a cast
fsdither.c:106: warning: excess elements in scalar initializer
fsdither.c:106: warning: (near initialization for `PLUG_IN_INFO')
fsdither.c:107: warning: excess elements in scalar initializer
fsdither.c:107: warning: (near initialization for `PLUG_IN_INFO')
fsdither.c:108: warning: excess elements in scalar initializer
fsdither.c:108: warning: (near initialization for `PLUG_IN_INFO')
fsdither.c:109: warning: data definition has no type or storage class
[rest snipped]
Anyone any ideas what went wrong?
Thanks!
Nat