#6 geanydebug-0.0.1 fails to compile

closed
nobody
None
5
2009-02-07
2008-11-14
Anonymous
No

When trying to compile geanydebug-0.0.1 for Geany 0.15, using `./configure --with-geany-src=/path/to/geanydebug-0.0.1` then issuing `make` the compile fails with this message:

/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"geanydebug\" -DPACKAGE_TARNAME=\"geanydebug\" -DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"geanydebug\ 0.0.1\" -DPACKAGE_BUGREPORT=\"yetanothergeek@gmail.com\" -DPACKAGE=\"geanydebug\" -DVERSION=\"0.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -Wall -g -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 -I/usr/include/pixman-1 -I../geany-0.15/src -I../geany-0.15/plugins -I../geany-0.15/tagmanager/include -I../geany-0.15/scintilla/include -g -O2 -MT geanydebug.lo -MD -MP -MF .deps/geanydebug.Tpo -c -o geanydebug.lo geanydebug.c
gcc -DPACKAGE_NAME=\"geanydebug\" -DPACKAGE_TARNAME=\"geanydebug\" -DPACKAGE_VERSION=\"0.0.1\" "-DPACKAGE_STRING=\"geanydebug 0.0.1\"" -DPACKAGE_BUGREPORT=\"yetanothergeek@gmail.com\" -DPACKAGE=\"geanydebug\" -DVERSION=\"0.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -Wall -g -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 -I/usr/include/pixman-1 -I../geany-0.15/src -I../geany-0.15/plugins -I../geany-0.15/tagmanager/include -I../geany-0.15/scintilla/include -g -O2 -MT geanydebug.lo -MD -MP -MF .deps/geanydebug.Tpo -c geanydebug.c -fPIC -DPIC -o .libs/geanydebug.o
geanydebug.c:48: error: expected declaration specifiers or '...' before numeric constant
geanydebug.c:50: warning: return type defaults to 'int'
geanydebug.c: In function 'VERSION_CHECK':
geanydebug.c:50: error: expected declaration specifiers before 'PLUGIN_INFO'
geanydebug.c:58: error: storage class specified for parameter 'msgbook'
geanydebug.c:59: error: storage class specified for parameter 'compwin'
geanydebug.c:60: error: storage class specified for parameter 'frame'
geanydebug.c:61: error: storage class specified for parameter 'config_file'
geanydebug.c:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
geanydebug.c:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
geanydebug.c:80: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
geanydebug.c:90: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
geanydebug.c:100: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
geanydebug.c:123: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
geanydebug.c:150: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
geanydebug.c:169: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
geanydebug.c:213: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
geanydebug.c:249: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
geanydebug.c:262: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
geanydebug.c:61: error: declaration for parameter 'config_file' but no such parameter
geanydebug.c:60: error: declaration for parameter 'frame' but no such parameter
geanydebug.c:59: error: declaration for parameter 'compwin' but no such parameter
geanydebug.c:58: error: declaration for parameter 'msgbook' but no such parameter
geanydebug.c:264: error: expected '{' at end of input
make: *** [geanydebug.lo] Error 1
roachmmflhyr@lap-box:~/downloads/geanydebug-0.0.1$

Any more questions let me know. Thanks for all the great work you guys have put into this project. It's great I love it!

Discussion

  • Nick Treleaven
    Nick Treleaven
    2008-11-14

    • status: open --> closed
     
  • Nick Treleaven
    Nick Treleaven
    2008-11-14

    Sorry, got confused with the different project trackers ;-)

     
  • Nick Treleaven
    Nick Treleaven
    2008-11-14

    • status: closed --> open
     
  • Yura Siamashka
    Yura Siamashka
    2009-02-07

    • status: open --> closed