Problem install GCJ-Cni module

Discussion in 'Perl Misc' started by songtao32@gmail.com, Jan 15, 2007.

  1. Guest

    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
    , Jan 15, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. g
    Replies:
    6
    Views:
    316
    S.A. Samokhodkin
    Aug 26, 2003
  2. KevJohnP

    GCJ Problem

    KevJohnP, Oct 31, 2003, in forum: Java
    Replies:
    0
    Views:
    604
    KevJohnP
    Oct 31, 2003
  3. John
    Replies:
    0
    Views:
    390
  4. Mike Mike

    How to compile these code by gcj?

    Mike Mike, Jun 2, 2004, in forum: Java
    Replies:
    1
    Views:
    491
  5. Markus Dehmann

    GCJ speed? compile RCP apps?

    Markus Dehmann, Nov 8, 2004, in forum: Java
    Replies:
    1
    Views:
    722
    Jesper Nordenberg
    Nov 8, 2004
Loading...

Share This Page