[CWB] compiling issues with the latest version

Stefan Evert stefanML at collocations.de
Fri Oct 7 12:34:21 CEST 2011


I guess that's just because the type declaration of this parameter is missing in the function header.  Fixed in SVN.

Cheers,
Stefan

On 6 Oct 2011, at 22:10, Luigi Talamo wrote:

> 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
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://devel.sslmit.unibo.it/mailman/listinfo/cwb



More information about the CWB mailing list