Were there any other errors during the build ?

It's important that you also:
use Inline CPP => Config => BUILD_NOISY => 1;
Then check the entire output of the build for a message something like (if not exactly):
Note (probably harmless): No library found for -lmain
There are 2 possibilities:
1)If that message is present, then no attempt was made to link to libmain.so.
2)If the message is absent, then libmain.so was found and linked to.

If it's a case of 1), then we need to work out why it was not locatable.

If it's a case of 2), then we need to work out why libmain.so does not resolve that symbol.

Which is it ?

Update: If you decide to add the BUILD_NOISY => 1 config option and re-run the build process again, you'll probably find that it will just use the existing binaries and not compile again - which would be a pointless exercise. So, before rebuilding, remove the existing _Inline/build files for that particular module. (Or add some whitespace to the CPP code ... as long as you do something to make it recompile the CPP code.)

Cheers,
Rob

In reply to Re: Inline CPP by syphilis
in thread Inline CPP by nirf1

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.