Thanks - that is progress. After making that change, STDERR is down to 21 lines. This is the full output:

pwiz_swigbindings_wrap.cxx:1554:35: error: ‘CV’ has not been declared SWIGEXPORT void SWIG_init (pTHXo_ CV* cv); ^ pwiz_swigbindings_wrap.cxx: In function ‘void boot_pwiz_swigbindings(P +erlInterpreter*, __perl_CV*)’: pwiz_swigbindings_wrap.cxx:748:52: error: conflicting declaration of C + function ‘void boot_pwiz_swigbindings(PerlInterpreter*, __perl_CV*)’ #define XSPROTO(name) void name(pTHX_ __perl_CV* cv) ^ /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/XSUB.h:145:44: note: in expan +sion of macro ‘XSPROTO’ # define XS_EXTERNAL(name) extern "C" XSPROTO(name) ^ /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/XSUB.h:156:18: note: in expan +sion of macro ‘XS_EXTERNAL’ #define XS(name) XS_EXTERNAL(name) ^ pwiz_swigbindings_wrap.cxx:6265:1: note: in expansion of macro ‘XS’ XS(SWIG_init) { ^ pwiz_swigbindings_wrap.cxx:1531:22: note: previous declaration ‘void b +oot_pwiz_swigbindings(PerlInterpreter*, int*)’ #define SWIG_init boot_pwiz_swigbindings ^ pwiz_swigbindings_wrap.cxx:1554:17: note: in expansion of macro ‘SWIG_ +init’ SWIGEXPORT void SWIG_init (pTHXo_ CV* cv); ^

Here is the context refered to in the first line:

1546 1547 #ifdef __cplusplus 1548 extern "C" 1549 #endif 1550 #ifndef PERL_OBJECT 1551 #ifndef MULTIPLICITY 1552 SWIGEXPORT void SWIG_init (CV* cv); 1553 #else 1554 SWIGEXPORT void SWIG_init (pTHXo_ CV* cv); 1555 #endif 1556 #else 1557 SWIGEXPORT void SWIG_init (CV *cv, CPerlObj *); 1558 #endif 1559

I really appreciate the help so far. I'd love to get this working but troubleshooting at this level is beyond me.


In reply to Re^4: SWIG and conflicting definitions by jdv
in thread SWIG and conflicting definitions by jdv

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.