Skip to main content.
home | support | download

Back to List Archive

Perl interface build error

From: Jim Miner <jfm(at)>
Date: Tue Nov 20 2001 - 05:47:51 GMT
I'm trying to build swish-e-2.1-dev-24-2001-11-19 on Linux 7.2.
swish-e builds fine, but the Perl interface make fails:

cp blib/lib/
/usr/bin/perl -I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 /usr/lib/perl5/5.6.0/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.6.0/ExtUtils/typemap SWISHE.xs > SWISHE.xsc && mv SWISHE.xsc SWISHE.c
gcc -c  -fno-strict-aliasing -I/usr/local/include -O2 -march=i386 -mcpu=i686     -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -fPIC -I/usr/lib/perl5/5.6.0/i386-linux/CORE  SWISHE.c
In file included from SWISHE.xs:15:
./src/search.h:60: parse error before `MEM_ZONE'
./src/search.h:60: warning: no semicolon at end of struct or union
SWISHE.xs: In function `XS_SWISHE_SwishNext':
SWISHE.xs:66: dereferencing pointer to incomplete type
SWISHE.xs:67: dereferencing pointer to incomplete type
make: *** [SWISHE.o] Error 1

Help, please?

Jim Miner
Received on Tue Nov 20 05:48:35 2001