[CWB] CWB::CL compilation issue

Andreas Madsack madsacas at ims.uni-stuttgart.de
Thu Aug 11 16:25:03 CEST 2011


Hi,

we tried to comile cwb from trunk ... everything worked except CWB::CL

$ perl Makefile.PL
Checking for CL library ... ok
Checking if your kit is complete...
Looks good
Unrecognized argument in LIBS ignored: '`pkg-config'
Unrecognized argument in LIBS ignored: '--libs'
Unrecognized argument in LIBS ignored: 'glib-2.0`'
Writing Makefile for CWB::CL

$ make
cp lib/CWB/CL.pm blib/lib/CWB/CL.pm
cp lib/CWB/CL/Strict.pm blib/lib/CWB/CL/Strict.pm
/usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp  -typemap
/usr/share/perl5/ExtUtils/typemap -typemap CL.typemap  CL.xs > CL.xsc
&& mv CL.xsc CL.c
gcc -c  -I/usr/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic   -DVERSION=\"2.002102\" -DXS_VERSION=\"2.002102\"
-fPIC "-I/usr/lib64/perl5/CORE"   CL.c
CL.c: In function ‘XS_CWB__CL_cl_make_set’:
CL.c:473:2: warning: unused variable ‘targ’
CL.c:472:9: warning: unused variable ‘RETVAL’
CL.c: In function ‘XS_CWB__CL_cl_set_intersection’:
CL.c:523:2: warning: unused variable ‘targ’
CL.c:522:9: warning: unused variable ‘RETVAL’
CL.xs: In function ‘XS_CWB__CL_cl_normalize’:
CL.xs:302:11: error: too few arguments to function ‘cl_string_canonical’
/usr/include/cwb/cl.h:740:6: note: declared here
CL.xs:285:12: warning: unused variable ‘id’
CL.c: In function ‘XS_CWB__CL_cl_idlist2cpos’:
CL.xs:615:35: warning: unused variable ‘errors’
CL.xs:615:12: warning: unused variable ‘id’
CL.c: At top level:
CL.xs:39:1: warning: ‘not_here’ defined but not used
CL.c: In function ‘constant’:
CL.xs:141:1: warning: control reaches end of non-void function
make: *** [CL.o] Error 1

using:
This is perl 5, version 12, subversion 3 (v5.12.3) built for
x86_64-linux-thread-multi
on Fedora 14 and 15

Regards,
Andreas.


More information about the CWB mailing list