Ran h2xs -A -n XXX... This creates a new ppport.h file so I assume it is the latest. I have gone back and generated a very simple XS file to see if I still see the problem and I do. The error messages I get when I run "make test" is as follows:
"sunscape% make test
PERL_DL_NONLAZY=1 /eng/proj/pacsun/TOOLS/bin/perl "-MExtUtils::Command
+::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
>
t/MyPackage....
# Failed test 'use MyPackage;'
# in t/MyPackage.t at line 9.
t/MyPackage....NOK 1# Tried to use 'MyPackage'.
+
# Error: Can't load '/eng/proj/pacsun/DEV/MyPackage/blib/arch/aut
+o/MyPackage/MyPackage.so' for module MyPackage: ld.so.1: /eng/proj/pa
+csun/TOOLS/bin/perl: fatal: relocation error: file /eng/proj/pacsun/D
+EV/MyPackage/blib/arch/auto/MyPackage/MyPackage.so: symbol cout: refe
+renced symbol not found at /eng/proj/pacsun/TOOLS/lib/5.8.8/sun4-sola
+ris-thread-multi/DynaLoader.pm line 230.
# at (eval 3) line 2
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at t/MyPackage.t line 9.
# Looks like you failed 1 test of 1.
t/MyPackage....dubious
+
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
----------------------------------------------------------------------
+---------
t/MyPackage.t 1 256 1 1 100.00% 1
Failed 1/1 test scripts, 0.00% okay. 1/1 subtests failed, 0.00% okay.
*** Error code 1
make: Fatal error: Command failed for target `test_dynamic'
"
It doesn't mean much to me. Anyone? Seemes to complain about a "relocation" error. Coincidentally, this is the same error I get when I try to use similar modules created using Swig.
20060821 Janitored by Corion: Added formatting, code tags, as per Writeup Formatting Tips |