#5 spellcheck throws errors when compiling

closed-invalid
spellcheck (9)
5
2008-09-25
2008-09-24
Ray Griffin
No

ray@ray-desktop:~$ cd spellcheck-0.1/

ray@ray-desktop:~/spellcheck-0.1$ ./configure

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /bin/mkdir -p

checking for gawk... no

checking for mawk... mawk

checking whether make sets $(MAKE)... yes

checking for gcc... gcc

checking for C compiler default output file name... a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking for style of include used by make... GNU

checking dependency style of gcc... gcc3

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking for a sed that does not truncate output... /bin/sed

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for ld used by gcc... /usr/bin/ld

checking if the linker (/usr/bin/ld) is GNU ld... yes

checking for /usr/bin/ld option to reload object files... -r

checking for BSD-compatible nm... /usr/bin/nm -B

checking whether ln -s works... yes

checking how to recognize dependent libraries... pass_all

checking how to run the C preprocessor... gcc -E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking dlfcn.h usability... yes

checking dlfcn.h presence... yes

checking for dlfcn.h... yes

checking for g++... g++

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts -g... yes

checking dependency style of g++... gcc3

checking how to run the C++ preprocessor... g++ -E

checking for g77... no

checking for xlf... no

checking for f77... no

checking for frt... no

checking for pgf77... no

checking for cf77... no

checking for fort77... no

checking for fl32... no

checking for af77... no

checking for xlf90... no

checking for f90... no

checking for pgf90... no

checking for pghpf... no

checking for epcf90... no

checking for gfortran... no

checking for g95... no

checking for xlf95... no

checking for f95... no

checking for fort... no

checking for ifort... no

checking for ifc... no

checking for efc... no

checking for pgf95... no

checking for lf95... no

checking for ftn... no

checking whether we are using the GNU Fortran 77 compiler... no

checking whether accepts -g... no

checking the maximum length of command line arguments... 98304

checking command to parse /usr/bin/nm -B output from gcc object... ok

checking for objdir... .libs

checking for ar... ar

checking for ranlib... ranlib

checking for strip... strip

checking if gcc supports -fno-rtti -fno-exceptions... no

checking for gcc option to produce PIC... -fPIC

checking if gcc PIC flag -fPIC works... yes

checking if gcc static flag -static works... yes

checking if gcc supports -c -o file.o... yes

checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes

checking whether -lc should be explicitly linked in... no

checking dynamic linker characteristics... GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... yes

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... no

configure: creating libtool

appending configuration tag "CXX" to libtool

checking for ld used by g++... /usr/bin/ld

checking if the linker (/usr/bin/ld) is GNU ld... yes

checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes

checking for g++ option to produce PIC... -fPIC

checking if g++ PIC flag -fPIC works... yes

checking if g++ static flag -static works... yes

checking if g++ supports -c -o file.o... yes

checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes

checking dynamic linker characteristics... GNU/Linux ld.so

(cached) (cached) checking how to hardcode library paths into programs... immediate

appending configuration tag "F77" to libtool

checking for a BSD-compatible install... /usr/bin/install -c

checking for pkg-config... /usr/bin/pkg-config

checking pkg-config is at least version 0.9.0... yes

checking for GEANY... yes

checking aspell.h usability... yes

checking aspell.h presence... yes

checking for aspell.h... yes

checking for new_aspell_speller in -laspell... yes

checking locale.h usability... yes

checking locale.h presence... yes

checking for locale.h... yes

checking for LC_MESSAGES... yes

checking libintl.h usability... yes

checking libintl.h presence... yes

checking for libintl.h... yes

checking for ngettext in libc... yes

checking for dgettext in libc... yes

checking for bind_textdomain_codeset... yes

checking for msgfmt... /usr/bin/msgfmt

checking for dcgettext... yes

checking if msgfmt accepts -c... yes

checking for gmsgfmt... /usr/bin/msgfmt

checking for xgettext... /usr/bin/xgettext

checking for catalogs to be installed... de

configure: creating ./config.status

config.status: creating Makefile

config.status: creating src/Makefile

config.status: creating po/Makefile.in

config.status: creating config.h

config.status: executing depfiles commands

config.status: executing default-1 commands

----------------------------------------

Install Spell Check in : /usr/local/lib/geany

Using Geany version : 0.14

Using GTK version : 2.12.0

Configuration is done OK.

ray@ray-desktop:~/spellcheck-0.1$ make

make all-recursive

make[1]: Entering directory `/home/ray/spellcheck-0.1'

Making all in src

make[2]: Entering directory `/home/ray/spellcheck-0.1/src'

/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/geany -I/usr/local/include/geany/tagmanager -I/usr/local/include/geany/scintilla -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -DLOCALEDIR=\""/usr/local/share/locale"\" -g -O2 -MT spellcheck.lo -MD -MP -MF .deps/spellcheck.Tpo -c -o spellcheck.lo spellcheck.c

spellcheck.c: In function ‘check_document’:

spellcheck.c:104: error: ‘struct ScintillaFuncs’ has no member named ‘can_copy’

spellcheck.c:111: error: ‘struct MsgWinFuncs’ has no member named ‘msg_add’

spellcheck.c:119: error: ‘struct MsgWinFuncs’ has no member named ‘msg_add’

spellcheck.c:144: error: ‘p_editor’ undeclared (first use in this function)

spellcheck.c:144: error: (Each undeclared identifier is reported only once

spellcheck.c:144: error: for each function it appears in.)

spellcheck.c:155: error: ‘struct MsgWinFuncs’ has no member named ‘msg_add’

spellcheck.c:168: error: ‘struct MsgWinFuncs’ has no member named ‘msg_add’

spellcheck.c: In function ‘perform_check’:

spellcheck.c:183: error: ‘p_editor’ undeclared (first use in this function)

spellcheck.c:184: error: ‘struct MsgWinFuncs’ has no member named ‘clear_tab’

spellcheck.c:185: error: ‘struct MsgWinFuncs’ has no member named ‘switch_tab’

make[2]: *** [spellcheck.lo] Error 1

make[2]: Leaving directory `/home/ray/spellcheck-0.1/src'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/ray/spellcheck-0.1'

make: *** [all] Error 2

ray@ray-desktop:~/spellcheck-0.1$ make install

Making install in src

make[1]: Entering directory `/home/ray/spellcheck-0.1/src'

/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/geany -I/usr/local/include/geany/tagmanager -I/usr/local/include/geany/scintilla -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -DLOCALEDIR=\""/usr/local/share/locale"\" -g -O2 -MT spellcheck.lo -MD -MP -MF .deps/spellcheck.Tpo -c -o spellcheck.lo spellcheck.c

spellcheck.c: In function ‘check_document’:

spellcheck.c:104: error: ‘struct ScintillaFuncs’ has no member named ‘can_copy’

spellcheck.c:111: error: ‘struct MsgWinFuncs’ has no member named ‘msg_add’

spellcheck.c:119: error: ‘struct MsgWinFuncs’ has no member named ‘msg_add’

spellcheck.c:144: error: ‘p_editor’ undeclared (first use in this function)

spellcheck.c:144: error: (Each undeclared identifier is reported only once

spellcheck.c:144: error: for each function it appears in.)

spellcheck.c:155: error: ‘struct MsgWinFuncs’ has no member named ‘msg_add’

spellcheck.c:168: error: ‘struct MsgWinFuncs’ has no member named ‘msg_add’

spellcheck.c: In function ‘perform_check’:

spellcheck.c:183: error: ‘p_editor’ undeclared (first use in this function)

spellcheck.c:184: error: ‘struct MsgWinFuncs’ has no member named ‘clear_tab’

spellcheck.c:185: error: ‘struct MsgWinFuncs’ has no member named ‘switch_tab’

make[1]: *** [spellcheck.lo] Error 1

make[1]: Leaving directory `/home/ray/spellcheck-0.1/src'

make: *** [install-recursive] Error 1

ray@ray-desktop:~/spellcheck-0.1$ sudo make install

[sudo] password for ray:

Making install in src

make[1]: Entering directory `/home/ray/spellcheck-0.1/src'

/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/geany -I/usr/local/include/geany/tagmanager -I/usr/local/include/geany/scintilla -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -DLOCALEDIR=\""/usr/local/share/locale"\" -g -O2 -MT spellcheck.lo -MD -MP -MF .deps/spellcheck.Tpo -c -o spellcheck.lo spellcheck.c

spellcheck.c: In function ‘check_document’:

spellcheck.c:104: error: ‘struct ScintillaFuncs’ has no member named ‘can_copy’

spellcheck.c:111: error: ‘struct MsgWinFuncs’ has no member named ‘msg_add’

spellcheck.c:119: error: ‘struct MsgWinFuncs’ has no member named ‘msg_add’

spellcheck.c:144: error: ‘p_editor’ undeclared (first use in this function)

spellcheck.c:144: error: (Each undeclared identifier is reported only once

spellcheck.c:144: error: for each function it appears in.)

spellcheck.c:155: error: ‘struct MsgWinFuncs’ has no member named ‘msg_add’

spellcheck.c:168: error: ‘struct MsgWinFuncs’ has no member named ‘msg_add’

spellcheck.c: In function ‘perform_check’:

spellcheck.c:183: error: ‘p_editor’ undeclared (first use in this function)

spellcheck.c:184: error: ‘struct MsgWinFuncs’ has no member named ‘clear_tab’

spellcheck.c:185: error: ‘struct MsgWinFuncs’ has no member named ‘switch_tab’

make[1]: *** [spellcheck.lo] Error 1

make[1]: Leaving directory `/home/ray/spellcheck-0.1/src'

make: *** [install-recursive] Error 1

ray@ray-desktop:~/spellcheck-0.1$

Discussion

  • Enrico Tröger
    Enrico Tröger
    2008-09-25

    The spellcheck plugin doesn't work with Geany 0.14. You need a recent SVN version (>= r2590).
    This is also mentioned in the included README file and on http://geany-plugins.sourceforge.net/spellcheck/ .

    Sorry for the inconvenience.

     
  • Enrico Tröger
    Enrico Tröger
    2008-09-25

    • status: open --> closed-invalid