[CWB] CWB-CL svn: compile error
luigi.talamo at libero.it
luigi.talamo at libero.it
Mon Jul 16 15:19:40 CEST 2012
Dear all,
when I compile the latest version of CWB-CL I get the following error:
/usr/bin/perl /usr/share/perl/5.10/ExtUtils/xsubpp -typemap /usr/share/perl/5.
10/ExtUtils/typemap -typemap CL.typemap CL.xs > CL.xsc && mv CL.xsc CL.c
cc -c -I/usr/local/cwb-3.4.0/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-
strict-aliasing -pipe -fstack-protector -I/usr/local/include -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"2.002102\" -
DXS_VERSION=\"2.002102\" -fPIC "-I/usr/lib/perl/5.10/CORE" CL.c
CL.xs: In function ‘XS_CWB__CL_cl_normalize’:
CL.xs:302: error: too few arguments to function ‘cl_string_canonical’
make: *** [CL.o] Erreur 1
on a debian stable. I am a real newbie with both C and cqp programming and I
(try to) fix(ed) this error by adding a third argument to cl_string_canonical,
'corpus':
cl_string_canonical(s_norm, flags, corpus) (CL.xs, line 302)
I don't know if it is the right argument. Now it compiles but I didn't test
the binary. No issues with other CQP software, tested with CWB-core and CWB-
perl.
greetz.
Luigi
More information about the CWB
mailing list