[sword-devel] (Perl) Getting list of modules

Joachim Ansorg sword-devel@crosswire.org
Sun, 29 Jun 2003 12:52:37 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christian,
I updated the stuff yesterday. Maybe I missed something, the CVS should work 
now.

Let me know,
Joachim


> 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

- -- 
<>< Re: deemed!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE+/sT5EyRIb2AZBB0RAmnFAJ4hB2/PvxfuwGYRjcfsjEJoWNVAwgCgmYBf
HaX7HPUUYhBQZhpBMWfnYPY=
=1nJB
-----END PGP SIGNATURE-----