[sword-devel] (Perl) Getting list of modules
Christian Renz
sword-devel@crosswire.org
Sat, 28 Jun 2003 23:45:08 +0200
I'm getting errors when trying to compile Sword.cxx:
gcc -c -I/usr/include/sword -fno-strict-aliasing -I/usr/local/include
-O2 -march=i386 -mcpu=i686 -DVERSION=\"1.5.5\"
-DXS_VERSION=\"1.5.5\" -fPIC -I/usr/lib/perl5/5.6.1/i386-linux/CORE
-DSWIG Sword.cxx
Sword.cxx: In function `void _wrap_LocaleMgr_getAvailableLocales (CV
*)':
Sword.cxx:6952: no match for `list<sword::SWBuf,
allocator<sword::SWBuf> > & = list<string, allocator<string> >'
/usr/include/g++-3/stl_list.h:616: candidates are: list<_Tp, _Alloc>
&list<_Tp, _Alloc>::operator= (const list<_Tp, _Alloc> &) [with _Tp =
sword::SWBuf, _Alloc = allocator<sword::SWBuf>]
Sword.cxx: In function `void _wrap_SWBuf_append__SWIG_0 (CV *)':
Sword.cxx:9357: no matching function for call to `sword::SWBuf::append
(const char *&, int &)'
/usr/include/sword/swbuf.h:133: candidates are: void
sword::SWBuf::append (const char *)
/usr/include/sword/swbuf.h:140: void
sword::SWBuf::append (const sword::SWBuf &)
/usr/include/sword/swbuf.h:147: void
sword::SWBuf::append (char)
Sword.cxx: In function `void _wrap_SWBuf_append__SWIG_1 (CV *)':
Sword.cxx:9394: no matching function for call to `sword::SWBuf::append
(const sword::SWBuf &, int &)'
/usr/include/sword/swbuf.h:133: candidates are: void
sword::SWBuf::append (const char *)
/usr/include/sword/swbuf.h:140: void
sword::SWBuf::append (const sword::SWBuf &)
/usr/include/sword/swbuf.h:147: void
sword::SWBuf::append (char)
make[1]: *** [Sword.o] Error 1
make[1]: Leaving directory
`/space/home/crenz/t/sword/bindings/swig/perl'
make: *** [perl_make] Error 2
--
crenz@web42.com - http://www.web42.com/crenz/ - http://www.web42.com/
"What we call Man's power over Nature turns out to be a power exercised
by some men over other men with Nature as its instrument."
-- C.S. Lewis, The Abolition of Man