Hi Patrick, I just tried the Inline::Java 0.48_92 snapshot, and received the following error. It looks like my linker (ld 4.0 on Solaris 7) doesn't like the '--whole-archive' and '--no-whole-archive' flags. In fact, it looks like it doesn't grok double-dashed flags at all.
Do you know a way to link without using those flags? Maybe a two-pass linking process or something? -Ken make[1]: Entering directory `/home/ken/downloads/perl/Inline-Java-0.48_92/Java' make[2]: Entering directory `/home/ken/downloads/perl/Inline-Java-0.48_92/Java/PerlNatives' make[2]: Leaving directory `/home/ken/downloads/perl/Inline-Java-0.48_92/Java/PerlNatives' make[2]: Entering directory `/home/ken/downloads/perl/Inline-Java-0.48_92/Java/PerlInterpreter' rm -f ../../blib/arch/auto/Inline/Java/PerlInterpreter/PerlInterpreter.so LD_RUN_PATH="" gcc -Wl,--whole-archive -L/usr/local/lib /opt/perl/5.6.1/lib/auto/DynaLoader/DynaLoader.a -L /opt/perl/5.6.1/lib/CORE -lperl -lsocket -lnsl -ldl -lm -lc -Wl,--no-whole-archive -G -L/usr/local/lib PerlInter preter.o -o ../../blib/arch/auto/Inline/Java/PerlInterpreter/PerlInterpreter.so /usr/ccs/bin/ld: illegal option -- - /usr/ccs/bin/ld: illegal option -- w /usr/ccs/bin/ld: illegal option -- - /usr/ccs/bin/ld: illegal option -- n ld: warning: option -o appears more than once, first setting taken usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s) [-64] enforce a 64-bit link-edit [-a] create an absolute file [-b] do not do special PIC relocations in a.out [-B dynamic|static] ....