nel-all
[Top][All Lists]
Advanced

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

[Nel] Linux compiling (was: TCP vs. UDP)


From: Ed Landa
Subject: [Nel] Linux compiling (was: TCP vs. UDP)
Date: Wed, 11 Jul 2001 13:34:38 -0400

> Ok, normally, it should works on all linux distribution with gcc 2.95 or
> greater
> We tested it on radhat, debian and it works well. But you have to install

I've tried using STLport 4.0 and 4.5, but I still end up with an error in
one section.  It's too much C++ for this C programmer to be able to debug, so
I thought I'd ask the list if anyone else is having this problem:

(this isn't pretty, but it looks to me like it is trying to make a STL call
that doesn't exist)

$ rpm -q gcc
gcc-2.96-85

make[1]: Entering directory `/home/elanda/NeL/code/nel/src/3d'
/bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I/home/elanda/NeL/
code/nel/src/3d -I../../include    -I/usr/include/freetype2 -O3 -I/usr/include/s
tlport   -I/home/elanda/NeL/code/nel/src -Wno-multichar -D_REENTRANT -I/usr/X11R
6/include -c tile_bank.cpp
rm -f .libs/tile_bank.lo
c++ -DHAVE_CONFIG_H -I. -I/home/elanda/NeL/code/nel/src/3d -I../../include -I/us
r/include/freetype2 -O3 -I/usr/include/stlport -I/home/elanda/NeL/code/nel/src -
Wno-multichar -D_REENTRANT -I/usr/X11R6/include -Wp,-MD,.deps/tile_bank.pp -c ti
le_bank.cpp  -fPIC -DPIC -o .libs/tile_bank.lo
../../include/nel/misc/stream.h: In method `void 
NLMISC::IStream::serialSTLContLen (T &, int) [with T = 
_STL::set<string, _STL::less<string>, _STL::allocator<string> >]':
tile_bank.cpp:616:   instantiated from here
../../include/nel/misc/stream.h:570: no matching function for call to 
`_STL::set<string, _STL::less<string>, _STL::allocator<string> 
>::insert (_STL::_Rb_tree_iterator<string, _STL::_Const_traits<string> 
>)'
/usr/include/stlport/stl/_set.h:134: candidates are: 
_STL::pair<typename _STL::_Rb_tree<_Key, _Key, _STL::_Identity<_Tp>, 
_Compare, _Alloc>::const_iterator, bool> _STL::set<_Key, _Compare, 
_Alloc>::insert (const _Key &) [with _Key = string, _Compare = 
_STL::less<string>, _Alloc = _STL::allocator<string>]
/usr/include/stlport/stl/_set.h:139:                 typename 
_STL::_Rb_tree<_Key, _Key, _STL::_Identity<_Tp>, _Compare, 
_Alloc>::const_iterator _STL::set<_Key, _Compare, _Alloc>::insert 
(typename _STL::_Rb_tree<_Key, _Key, _STL::_Identity<_Tp>, _Compare, 
_Alloc>::const_iterator, const _Key &) [with _Key = string, _Compare = 
_STL::less<string>, _Alloc = _STL::allocator<string>]
make[1]: *** [tile_bank.lo] Error 1



Also, I've put together a .spec file for making a STLport RPM.  If anyone wants
it, just drop me a line.

Ed



reply via email to

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