in reply to Re^3: SWIG and conflicting definitions
in thread SWIG and conflicting definitions
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: SWIG and conflicting definitions
by Anonymous Monk on Jan 08, 2016 at 16:53 UTC | |
by hexcoder (Curate) on Jan 08, 2016 at 22:54 UTC | |
by jdv (Sexton) on Jan 09, 2016 at 06:01 UTC | |
|
Re^5: SWIG and conflicting definitions
by hexcoder (Curate) on Jan 08, 2016 at 22:36 UTC |