[CWB] compiling issues with the latest version

Luigi Talamo luigi.talamo at libero.it
Thu Oct 6 23:10:18 CEST 2011


Hi there,
some issues with the latest svn trunk.
When compiling cwb-decode, I get:

gcc -c  -o cwb-decode-nqrfile.o -O2 -Wall   -DUSE_TERMCAP -DUSE_READLINE 
`pkg-config --cflags glib-2.0` 
-DREGISTRY_DEFAULT_PATH=\""/usr/local/cwb-3.4.0/share/cwb/registry"\" 
-DCOMPILE_DATE=\""gio  6 ott 2011, 23.02.48, CEST"\" -DVERSION=\"3.4.0\" 
    cwb-decode-nqrfile.c
cwb-decode-nqrfile.c:75: error: expected declaration specifiers or ‘...’ 
before ‘print_header’
cwb-decode-nqrfile.c: In function ‘nqrfile_print_info’:
cwb-decode-nqrfile.c:145: error: ‘print_header’ undeclared (first use in 
this function)
cwb-decode-nqrfile.c:145: error: (Each undeclared identifier is reported 
only once
cwb-decode-nqrfile.c:145: error: for each function it appears in.)
cwb-decode-nqrfile.c: In function ‘main’:
cwb-decode-nqrfile.c:201: error: too many arguments to function 
‘nqrfile_print_info’
cwb-decode-nqrfile.c:210: error: too many arguments to function 
‘nqrfile_print_info’
make[1]: *** [cwb-decode-nqrfile.o] Error 1
make[1]: Leaving directory `/root/src/cwb/trunk/utils'
make: *** [utils] Error 2

on a Linux debian 6.0.2.
Thank you!

Luigi


More information about the CWB mailing list