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


In reply to Re^2: XS module build not working for Perl 5.8 by Anonymous Monk
in thread XS module build not working for Perl 5.8 by rzer10

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.