1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Nel] Linux compiling (was: TCP vs. UDP)</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:corvazier%40nevrax.com">
<LINK REL="Previous" HREF="000505.html">
<LINK REL="Next" HREF="000489.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Nel] Linux compiling (was: TCP vs. UDP)</H1>
<B>Cyril Corvazier</B>
<A HREF="mailto:corvazier%40nevrax.com"
TITLE="[Nel] Linux compiling (was: TCP vs. UDP)">corvazier@nevrax.com</A><BR>
<I>Thu, 12 Jul 2001 09:32:00 +0200</I>
<P><UL>
<LI> Previous message: <A HREF="000505.html">[Nel] Linux compiling</A></li>
<LI> Next message: <A HREF="000489.html">[Nel] TCP vs. UDP</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#506">[ date ]</a>
<a href="thread.html#506">[ thread ]</a>
<a href="subject.html#506">[ subject ]</a>
<a href="author.html#506">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hi,
This error is a NeL compilation error, not a STLport version problem.
This should be fixed now. Thanks for the report.
Regards,
Cyril Corvazier
Lead 3d programmer
Nevrax France
----- Original Message -----
From: "Ed Landa" <<A HREF="mailto:elanda@xeme.com">elanda@xeme.com</A>>
To: <<A HREF="mailto:nel@nevrax.org">nel@nevrax.org</A>>
Sent: Wednesday, July 11, 2001 7:34 PM
Subject: [Nel] Linux compiling (was: TCP vs. UDP)
><i> > Ok, normally, it should works on all linux distribution with gcc 2.95 or
</I>><i> > greater
</I>><i> > We tested it on radhat, debian and it works well. But you have to
</I>install
><i>
</I>><i> I've tried using STLport 4.0 and 4.5, but I still end up with an error in
</I>><i> one section. It's too much C++ for this C programmer to be able to debug,
</I>so
><i> I thought I'd ask the list if anyone else is having this problem:
</I>><i>
</I>><i> (this isn't pretty, but it looks to me like it is trying to make a STL
</I>call
><i> that doesn't exist)
</I>><i>
</I>><i> $ rpm -q gcc
</I>><i> gcc-2.96-85
</I>><i>
</I>><i> make[1]: Entering directory `/home/elanda/NeL/code/nel/src/3d'
</I>><i> /bin/sh ../../libtool --mode=compile
</I>c++ -DHAVE_CONFIG_H -I. -I/home/elanda/NeL/
><i>
</I>code/nel/src/3d -I../../include -I/usr/include/freetype2 -O3 -I/usr/inclu
de/s
><i>
</I>tlport -I/home/elanda/NeL/code/nel/src -Wno-multichar -D_REENTRANT -I/usr/
X11R
><i> 6/include -c tile_bank.cpp
</I>><i> rm -f .libs/tile_bank.lo
</I>><i>
</I>c++ -DHAVE_CONFIG_H -I. -I/home/elanda/NeL/code/nel/src/3d -I../../include -
I/us
><i>
</I>r/include/freetype2 -O3 -I/usr/include/stlport -I/home/elanda/NeL/code/nel/s
rc -
><i>
</I>Wno-multichar -D_REENTRANT -I/usr/X11R6/include -Wp,-MD,.deps/tile_bank.pp -
c ti
><i> le_bank.cpp -fPIC -DPIC -o .libs/tile_bank.lo
</I>><i> ../../include/nel/misc/stream.h: In method `void
</I>><i> NLMISC::IStream::serialSTLContLen (T &, int) [with T =
</I>><i> _STL::set<string, _STL::less<string>, _STL::allocator<string> >]':
</I>><i> tile_bank.cpp:616: instantiated from here
</I>><i> ../../include/nel/misc/stream.h:570: no matching function for call to
</I>><i> `_STL::set<string, _STL::less<string>, _STL::allocator<string>
</I>><i> >::insert (_STL::_Rb_tree_iterator<string, _STL::_Const_traits<string>
</I>><i> >)'
</I>><i> /usr/include/stlport/stl/_set.h:134: candidates are:
</I>><i> _STL::pair<typename _STL::_Rb_tree<_Key, _Key, _STL::_Identity<_Tp>,
</I>><i> _Compare, _Alloc>::const_iterator, bool> _STL::set<_Key, _Compare,
</I>><i> _Alloc>::insert (const _Key &) [with _Key = string, _Compare =
</I>><i> _STL::less<string>, _Alloc = _STL::allocator<string>]
</I>><i> /usr/include/stlport/stl/_set.h:139: typename
</I>><i> _STL::_Rb_tree<_Key, _Key, _STL::_Identity<_Tp>, _Compare,
</I>><i> _Alloc>::const_iterator _STL::set<_Key, _Compare, _Alloc>::insert
</I>><i> (typename _STL::_Rb_tree<_Key, _Key, _STL::_Identity<_Tp>, _Compare,
</I>><i> _Alloc>::const_iterator, const _Key &) [with _Key = string, _Compare =
</I>><i> _STL::less<string>, _Alloc = _STL::allocator<string>]
</I>><i> make[1]: *** [tile_bank.lo] Error 1
</I>><i>
</I>><i>
</I>><i>
</I>><i> Also, I've put together a .spec file for making a STLport RPM. If anyone
</I>wants
><i> it, just drop me a line.
</I>><i>
</I>><i> Ed
</I>><i>
</I>><i> _______________________________________________
</I>><i> Nel mailing list
</I>><i> <A HREF="mailto:Nel@nevrax.org">Nel@nevrax.org</A>
</I>><i> <A HREF="/mailman/listinfo.cgi/nel">/mailman/listinfo.cgi/nel</A>
</I>><i>
</I>
</pre>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="000505.html">[Nel] Linux compiling</A></li>
<LI> Next message: <A HREF="000489.html">[Nel] TCP vs. UDP</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#506">[ date ]</a>
<a href="thread.html#506">[ thread ]</a>
<a href="subject.html#506">[ subject ]</a>
<a href="author.html#506">[ author ]</a>
</LI>
</UL>
</body></html>
|