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(PerlInterpreter*, __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 expansion 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 expansion 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 boot_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); ^ #### 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