Thanks for the reply Patrick.

It seems to happen at work (cygwin) and at home (archlinux).

gcc (GCC) 4.6.1
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

On Thu, Aug 18, 2011 at 12:24 AM, Patrick LeBoutillier <
patrick.leboutill...@gmail.com> wrote:

> James,
>
> Never seen that error before, seems low-level gcc stuff to me.
> What OS/distro are you running?
>
> Patrick
>
> On Tue, Jul 26, 2011 at 5:46 AM, James Fraser <wulfgar....@gmail.com>
> wrote:
> > Hi,
> >
> > I am trying to install Inline::Java::PerlInterpreter using cpan.
> >
> > If I select `y` to `Do you wish to build the PerlInterpreter extension?
> > [n]`, I error with the following:
> >
> > [james@wulfgar-lt][~/Downloads/Inline-Java-0.53]% make
> > make[1]: Entering directory `/home/james/Downloads/Inline-Java-0.53/Java'
> > make[2]: Entering directory
> > `/home/james/Downloads/Inline-Java-0.53/Java/PerlInterpreter'
> > rm -f ../../blib/arch/auto/Inline/Java/PerlInterpreter/PerlInterpreter.so
> > cc  -Wl,--whole-archive -Wl,-E -Wl,-rpath,/usr/lib/perl5/core_perl/CORE
> >  -fstack-protector -L/usr/local/lib  -L/usr/lib/perl5/core_perl/CORE
> -lperl
> > -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc -Wl,--no-whole-archive
> -shared
> > -march=i686 -mtune=generic -O2 -pipe -L/usr/local/lib -fstack-protector
> > PerlInterpreter.o  -o
> > ../../blib/arch/auto/Inline/Java/PerlInterpreter/PerlInterpreter.so \
> >      \
> >
> > /usr/lib/libc_nonshared.a(elf-init.oS): In function `__libc_csu_init':
> > (.text+0x18): undefined reference to `__init_array_end'
> > /usr/bin/ld: /usr/lib/libc_nonshared.a(elf-init.oS): relocation
> R_386_GOTOFF
> > against undefined hidden symbol `__init_array_end' can not be used when
> > making a shared object
> > /usr/bin/ld: final link failed: Bad value
> > collect2: ld returned 1 exit status
> > make[2]: ***
> > [../../blib/arch/auto/Inline/Java/PerlInterpreter/PerlInterpreter.so]
> Error
> > 1
> > make[2]: Leaving directory
> > `/home/james/Downloads/Inline-Java-0.53/Java/PerlInterpreter'
> > make[1]: *** [subdirs] Error 2
> > make[1]: Leaving directory `/home/james/Downloads/Inline-Java-0.53/Java'
> > make: *** [subdirs] Error 2
> >
> > I want the PerlInterpreter module so that I can call an existing Perl
> module
> > (that is, Image::ExifTool), from my Java application.
> >
> > Any ideas?
> >
>
>
>
> --
> =====================
> Patrick LeBoutillier
> Rosemère, Québec, Canada
>

Reply via email to