Problem install GCJ-Cni module

S

songtao32

Hi,

I try to install GCJ::Cni module and got the following error:

[root@perl_module GCJ-Cni-0.03]# ./Build
gcc -I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE
-DXS_VERSION="0.03" -DVERSION="0.03" -fPIC -x c++ -include gcj/cni.h -c
-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -o
lib/GCJ/Cni.o lib/GCJ/Cni.c
Cni.xs: In function `void _wrap_JvCreateJavaVM(PerlInterpreter*, CV*)':
Cni.xs:1060: error: `JvVMInitArgs' undeclared (first use this function)
Cni.xs:1060: error: (Each undeclared identifier is reported only once
for each function it appears in.)
Cni.xs:1060: error: `arg1' undeclared (first use this function)
Cni.xs:1060: error: expected primary-expression before ')' token
Cni.xs:1060: error: expected `;' before numeric constant
error building lib/GCJ/Cni.o from 'lib/GCJ/Cni.c' at
/usr/lib/perl5/site_perl/5.8.5/ExtUtils/CBuilder/Base.pm line 108.

Could you give some suggestions? Thanks a lot for help!

Regards,

Tao
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top