List::MoreUtils required List::MoreUtils::XS so I tried to install that first

Aaah, yes - the problem is with List-MoreUtils-XS-0.428 and not List-MoreUtils-0.428.

I think List-MoreUtils will work quite well without List-MoreUtils-XS, so that's an option you might take.
It would simply mean that, for some of the functions, you'll be using the slower pure-perl version instead of the XS version.

According to my memory (which may be flawed), I've not seen that "handshake" error issued in relation to generated .c files before.
It's an error that I associate with .xs files.

It's also puzzling that the LeakTrace.c file, generated during the Test-LeakTrace-0.16 build, does not suffer the same error.
Both XS.c and LeakTrace.c were generated from their respective xs files by ExtUtils::ParseXS.
Each of those .c files begin with a comment that tells you what generated them. I guess you could take a look at those comments and verify that they were both generated by the same version of ExtUtils::ParseXS.

My main hunch is that, between 5.20 and 5.30, some change has occurred that gcc-3.4.5 can't handle - but I certainly don't rule out the possibility that it's because of something else.
Maybe try posting to p5p mailing list. Someone there might have an idea on what you can do to overcome the error.
If it were me, I'd be upgrading gcc to a more recent version of gcc if there's an option to do that. Even gcc-4.6.3 is still building modern perls (up to and including current blead 5.33.0) flawlessly on my debian wheezy system.

Cheers,
Rob

In reply to Re^5: XS.c: loadable library and perl binaries are mismatched (got handshake key 0xc100000, needed 0xc180000) by syphilis
in thread XS.c: loadable library and perl binaries are mismatched (got handshake key 0xc100000, needed 0xc180000) by rgren925

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.