Both Perl and Python bindings are currently not building. (ubuntu 11.10) This is the error message I got on Perl bindings build
Sword.cxx: In function ‘void _wrap_SWBuf_append__SWIG_5(PerlInterpreter*, CV*)’: Sword.cxx:4345:33: error: ‘SWIG_AsVal_wchar_t’ was not declared in this scope Sword.cxx: In function ‘void _wrap_SWBuf_append(PerlInterpreter*, CV*)’: Sword.cxx:4415:40: error: ‘SWIG_AsVal_wchar_t’ was not declared in this scope Sword.cxx: In function ‘void _wrap_SWKey_Traversable(PerlInterpreter*, CV*)’: Sword.cxx:17033:40: warning: ‘char sword::SWKey::Traversable()’ is deprecated (declared at /usr/local/include/sword/swkey.h:208) [-Wdeprecated-declarations] Sword.cxx: In function ‘void _wrap_SWKey_Index__SWIG_0(PerlInterpreter*, CV*)’: Sword.cxx:17183:56: warning: ‘long int sword::SWKey::Index() const’ is deprecated (declared at /usr/local/include/sword/swkey.h:220) [-Wdeprecated-declarations] Sword.cxx: In function ‘void _wrap_SWKey_Index__SWIG_1(PerlInterpreter*, CV*)’: Sword.cxx:17256:38: warning: ‘long int sword::SWKey::Index(long int)’ is deprecated (declared at /usr/local/include/sword/swkey.h:225) [-Wdeprecated-declarations] make[1]: *** [Sword.o] Error 1 make[1]: Leaving directory `/home/peter/Source/sword/bindings/swig/package/perl' make: *** [perl_make] Error 2 peter@AOA110:~/Source/sword/bindings/swig/package$ And these are the last few lines of "make python_make"'s output Sword.cxx: At global scope: Sword.cxx:86738:14: warning: ‘void* _p_p_sword__SWGenBookTo_p_p_sword__SWModule(void*, int*)’ defined but not used [-Wunused-function] Sword.cxx:86741:14: warning: ‘void* _p_p_sword__RawGenBookTo_p_p_sword__SWModule(void*, int*)’ defined but not used [-Wunused-function] Sword.cxx:86744:14: warning: ‘void* _p_p_sword__SWTextTo_p_p_sword__SWModule(void*, int*)’ defined but not used [-Wunused-function] Sword.cxx:86747:14: warning: ‘void* _p_p_sword__zComTo_p_p_sword__SWModule(void*, int*)’ defined but not used [-Wunused-function] Sword.cxx:86750:14: warning: ‘void* _p_p_sword__zTextTo_p_p_sword__SWModule(void*, int*)’ defined but not used [-Wunused-function] Sword.cxx:86753:14: warning: ‘void* _p_p_sword__RawLDTo_p_p_sword__SWModule(void*, int*)’ defined but not used [-Wunused-function] Sword.cxx:86756:14: warning: ‘void* _p_p_sword__RawTextTo_p_p_sword__SWModule(void*, int*)’ defined but not used [-Wunused-function] Sword.cxx:86759:14: warning: ‘void* _p_p_sword__SWComTo_p_p_sword__SWModule(void*, int*)’ defined but not used [-Wunused-function] Sword.cxx:86762:14: warning: ‘void* _p_p_sword__SWLDTo_p_p_sword__SWModule(void*, int*)’ defined but not used [-Wunused-function] Sword.cxx:86765:14: warning: ‘void* _p_p_sword__RawLD4To_p_p_sword__SWModule(void*, int*)’ defined but not used [-Wunused-function] Sword.cxx:86768:14: warning: ‘void* _p_p_sword__RawComTo_p_p_sword__SWModule(void*, int*)’ defined but not used [-Wunused-function] Sword.cxx:86771:14: warning: ‘void* _p_p_sword__zLDTo_p_p_sword__SWModule(void*, int*)’ defined but not used [-Wunused-function] error: command 'gcc' failed with exit status 1 make: *** [python_make] Error 1 --------------- If anyone has a solution, this would be grately appreciated. The perl bindings are really necessary for much of David's and my module building, while the python bindings are of course relevant for various frontends Thanks Peter _______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page