System: Linux 2.6.8-1-386
Distribution: Debian-Sarge
Gimp-Version: Version 2.0.5
gcc-Version: 3.3.4
When compiling the plugin the following error occurs:
# ./configure
creating cache ./config.cache
checking for a BSD compatible install...
/usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc3... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for ranlib... ranlib
checking for clapack_dgesv in -llapack... no
using unoptimized lapack in lib
checking for gimptool... /usr/bin/gimptool
checking for GIMP - version >= 1.2.0... yes
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... yes (version
2.4.13)
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... yes (version 2.4.7)
checking for gtkdoc-mkdb... false
checking for erf in -lm... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating lib/Makefile
creating doc/Makefile
creating gtk-doc/Makefile
# make
Making all in src
make[1]: Entering directory `/root/tmp/refocus-0.9.0/src'
gcc -DPACKAGE=\"refocus\" -DVERSION=\"0.9.0\"
-DSTDC_HEADERS=1 -DHAVE_ERF=1 -I. -I. -DXTHREADS
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/X11R6/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gimp-2.0 -DXTHREADS
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/X11R6/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I
../lib -Wall -ansi -pedantic -ggdb
-fomit-frame-pointer -O3 -funroll-all-loops -c refocus.c
refocus.c:60: Warnung: Initialisierung von
inkompatiblem Zeigertyp
refocus.c: In Funktion ťrunŤ:
refocus.c:134: error: `GimpRunModeType' undeclared
(first use in this function)
refocus.c:134: error: (Each undeclared identifier is
reported only once
refocus.c:134: error: for each function it appears in.)
refocus.c:134: error: Fehler beim Parsen before "run_mode"
refocus.c:143: error: `run_mode' undeclared (first use
in this function)
refocus.c:189: error: structure has no member named `id'
refocus.c:190: error: structure has no member named `id'
refocus.c: In Funktion ťpreview_callbackŤ:
refocus.c:414: error: structure has no member named `id'
refocus.c: In Funktion ťdoitŤ:
refocus.c:611: error: structure has no member named `id'
refocus.c:621: error: structure has no member named `id'
refocus.c:622: error: structure has no member named `id'
make[1]: *** [refocus.o] Fehler 1
make[1]: Leaving directory `/root/tmp/refocus-0.9.0/src'
make: *** [all-recursive] Fehler 1
Logged In: YES
user_id=828797
I have the same problem. Debian Sarge, Gimp 2.0.6, gtk2.0
(Debian 2.4.14-2), glib2.0 (Debian 2.4.8-1), gcc 3.3.4
(Debian 1:3.3.4-13), vanilla kernel 2.4.26.
Logged In: NO
The same error (id) occurs in Ubuntu hoary
Logged In: NO
I also have the same problem.
Logged In: NO
i get a syntax error in the make. carried through a few
lines of code too.