Update:
I dug around in some source files, and without ANY understanding of the ramifications,
I just added
PRE_WHOLE_ARCHIVE => '',
POST_WHOLE_ARCHIVE => '',
to the Solaris part of Java/Portable.pm. It built without errors, but then produced
the following errors during 'make test'. So I'm guessing the link still didn't happen
correctly...
make[2]: Entering directory
`/home/ken/downloads/perl/Inline-Java-0.48_92/Java/PerlInterpreter'
PERL_DL_NONLAZY=1 /opt/perl/5.6.1/bin/perl -I../../blib/arch -I../../blib/lib
-I/opt/perl/5.6.1/lib -I/opt/perl/5.6.1/lib -e 'use Test::Harness qw(&runtests
$verbose); $verbose=0; runtests @ARGV;' t/*.t
t/01_init................ok
t/02_perl_interpreter....ok 1/7
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/home/ken/downloads/perl/Inline-Java-0.48_92/blib/arch/auto/Inline/Java/PerlInterpreter/PerlInterpreter.so:
ld.so.1: /opt/j2sdk1.4.1/bin/java: fatal: relocation error: file
/home/ken/downloads/perl/Inline-Java-0.48_92/blib/arch/auto/Inline/Java/PerlInterpreter/PerlInterpreter.so:
symbol PL_markstack_ptr: referenced symbol not found
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1473)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1368)
at java.lang.Runtime.load0(Runtime.java:737)
at java.lang.System.load(System.java:809)
at
org.perl.inline.java.InlineJavaPerlInterpreter.init(InlineJavaPerlInterpreter.java:72)
at Tests.main(Tests.java:22)
t/02_perl_interpreter....FAILED tests 2-7
Failed 6/7 tests, 14.29% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
---------------------------------------------------------------------
t/02_perl_interpreter.t 7 6 85.71% 2-7
> -----Original Message-----
> From: Williams, Kenneth (Ken) (TLR Corp)
> Sent: Tuesday, May 25, 2004 5:00 PM
> To: Patrick LeBoutillier
> Cc: [EMAIL PROTECTED]
> Subject: Inline::Java 0.48_92 link failures
>
>
> Hi Patrick,
>
> I just tried the Inline::Java 0.48_92 snapshot, and received
> the following error.
[...]