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); ^