nel-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nel] NeLNS compilation problems


From: Vianney Lecroart
Subject: Re: [Nel] NeLNS compilation problems
Date: Wed, 15 Aug 2001 11:45:36 +0200

Hi Zane,

I compiled NeL and NeLNS yesterday without any problem on our gnu/linux
computer.
It seems that the problem is that you compiled NeL *without* STLPort, so the
first parameter of the getVar function is basic_string

> NLMISC::CConfigFile::getVar(basic_string<char,string_char_traits<char>,
__default_alloc_template<true, 0> > const &)

but you tried to compile NeLNS (login service) *with* STLPort, so the linker
try to find the getVar function with the first parameter is
_STL::basic_string

>
NLMISC::CConfigFile::getVar(_STL::basic_string<char,_STL::char_traits<char>,
_STL::allocator<char> > const &)

I think you should try to compile *all* (NeL + NeLNS) with or without
STLPort but not only the half and it should be ok.

Vianney Lecroart
---
lead network programmer / nevrax.com
icq#: 6870415
homepage: http://ace.planet-d.net
www.geekcode.com: GCS/E d- s+++: a-- C+++$ UL++ P- L+++>+$ E+>- W++ N+ o? K-
w++$ O- M- V- PS- PE? Y PGP t 5? X+ R- tv++ b- DI D+ G e++ h+ r-- y?

----- Original Message -----
From: "Zane" <address@hidden>
To: <address@hidden>
Sent: Friday, August 10, 2001 8:18 PM
Subject: [Nel] NeLNS compilation problems


> I've been able to compile NeL without errors for a few days now but when I
> try to compile NeLNS using the newly compiled version of NeL I get the
> following errors:
>
> login_service.o: In function `readPlayerDatabase(void)':
> login_service.o(.text+0x1f56): undefined reference to
> `NLMISC::CConfigFile::getVar(_STL::basic_string<char,
> _STL::char_traits<char>, _STL::allocator<char> > const &)'
> login_service.o(.text+0x2af6): undefined reference to
> `NLMISC::CConfigFile::getVar(_STL::basic_string<char,
> _STL::char_traits<char>, _STL::allocator<char> > const &)'
> login_service.o: In function `CLoginService::init(void)':
> login_service.o(.CLoginService::gnu.linkonce.t.init(void)+0x163):
undefined
> reference to `NLMISC::CConfigFile::load(_STL::basic_string<char,
> _STL::char_traits<char>, _STL::allocator<char> > const &)'
> /usr/local/lib/libnelmisc.so: undefined reference to
> `NLMISC::CIFile::CIFile(basic_string<char, string_char_traits<char>,
> __default_alloc_template<true, 0> > const &, bool)'
> /usr/local/lib/libnelnet.so: undefined reference to
> `NLMISC::CBufFIFO::front(_STL::vector<unsigned char,
> _STL::allocator<unsigned char> > &)'
> /usr/local/lib/libnelmisc.so: undefined reference to
> `NLMISC::CIFile::open(basic_string<char, string_char_traits<char>,
> __default_alloc_template<true, 0> > const &, bool)'
> /usr/local/lib/libnelmisc.so: undefined reference to
> `NLMISC::CClassRegistry::create(_STL::basic_string<char,
> _STL::char_traits<char>, _STL::allocator<char> > const &)'
> /usr/local/lib/libnelmisc.so: undefined reference to
> `NLMISC::Exception::Exception(basic_string<char, string_char_traits<char>,
> __default_alloc_template<true, 0> > const &)'
> /usr/local/lib/libnelnet.so: undefined reference to
> `NLMISC::CBufFIFO::push(_STL::vector<unsigned char,
_STL::allocator<unsigned
> char> > const &, _STL::vector<unsigned char, _STL::allocator<unsigned
char>
> > const &)'
> /usr/local/lib/libnelnet.so: undefined reference to
> `NLMISC::CBufFIFO::push(_STL::vector<unsigned char,
_STL::allocator<unsigned
> char> > const &)'
>
> Here are the corresponding entries in the newly compiled library
> (libnelmisc.a):
>
> 000020f0 T NLMISC::CConfigFile::getVar(basic_string<char,
> string_char_traits<char>, __default_alloc_template<true, 0> > const &)
> 00001e5c T NLMISC::CConfigFile::load(basic_string<char,
> string_char_traits<char>, __default_alloc_template<true, 0> > const &)
>          U NLMISC::CIFile::CIFile(basic_string<char,
> string_char_traits<char>, __default_alloc_template<true, 0> > const &,
bool)
> 00000158 T NLMISC::CIFile::CIFile(_STL::basic_string<char,
> _STL::char_traits<char>, _STL::allocator<char> > const &, bool)
> 000000dc T NLMISC::CBufFIFO::front(vector<unsigned char,
allocator<unsigned
> char> > &)
>          U NLMISC::CIFile::open(basic_string<char,
string_char_traits<char>,
> __default_alloc_template<true, 0> > const &, bool)
> 00000394 T NLMISC::CIFile::open(_STL::basic_string<char,
> _STL::char_traits<char>, _STL::allocator<char> > const &, bool)
>          U NLMISC::CIFile::open(_STL::basic_string<char,
> _STL::char_traits<char>, _STL::allocator<char> > const &, bool)
> 00000a64 t global destructors keyed to
> NLMISC::CClassRegistry::create(basic_string<char,
string_char_traits<char>,
> __default_alloc_template<true, 0> > const &)
> 00000a4c t global constructors keyed to
> NLMISC::CClassRegistry::create(basic_string<char,
string_char_traits<char>,
> __default_alloc_template<true, 0> > const &)
> 00000000 T NLMISC::CClassRegistry::create(basic_string<char,
> string_char_traits<char>, __default_alloc_template<true, 0> > const &)
>          U NLMISC::CClassRegistry::create(_STL::basic_string<char,
> _STL::char_traits<char>, _STL::allocator<char> > const &)
> 000008f8 T NLMISC::CBufFIFO::push(vector<unsigned char, allocator<unsigned
> char> > const &)
> 00000000 T NLMISC::CBufFIFO::push(vector<unsigned char, allocator<unsigned
> char> > const &, vector<unsigned char, allocator<unsigned char> > const &)
> -------------------
>
> All of this was just on the first service I tried to compile so I'm sure
> that the other libraries have similar problems.  A little info on my
system:
>
> Debian Linux
> GCC 2.95.4
> ld 2.11.90.0.24
> autoconf 2.52c
> automake 1.4k
> libtool 1.4c
> STLPort 4.0
> Freetype 2.0.1
>
> Thanks,
> E.J. Wilburn
>
>
> _______________________________________________
> Nel mailing list
> address@hidden
> http://www.nevrax.org/mailman/listinfo.cgi/nel
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]