[Pixil-devel] Trouble with compiling the pixil
"Ronnie Wang" <[email protected]> Mon, 7 Jun 2004 09:27:03 +0800
| Newsgroups | gmane.comp.web.viewml.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============0492599124==
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0008_01C44C71.9B967200"
This is a multi-part message in MIME format.
------=_NextPart_000_0008_01C44C71.9B967200
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hello Everyone!
I compile the newest pixil(version 1.2.3) and encounter some
obstacle.
When enter the directory pixilDT/NxDb the compiler (My system is RedHat
9.0 and the compiler is GCC-3.2.2) cann't identify the CLASS
-------string!!
Especial the line in the file nxdb.h :
typedef map < string, int, less < string > > TDatabase;
arouse all of the following ERROR message:
In file included from nxdb.cxx:44:
../include/nxdb.h:64: `string' was not declared in this scope
../include/nxdb.h:64: `less' was not declared in this scope
../include/nxdb.h:64: `string' was not declared in this scope
../include/nxdb.h:64: syntax error before `>' token
../include/nxdb.h:66: syntax error before `::' token
../include/nxdb.h:79: 'TDatabase' is used as a type, but is not defined
as a
type
...........
Best Regard
*********************************
Ronnie Wang(Wang Xingqiang)
UTStarcom Telecom Co., Ltd.
#129 WenYi Road, Hangzhou,
31002 P.R. China
Tel: (086-571) 8886-2342 ext. 6138
Email: [email protected]
************************************
------=_NextPart_000_0008_01C44C71.9B967200
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link rel=3DFile-List href=3D"cid:[email protected]">
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"Street"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"City"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"address"/>
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:Compatibility>
<w:UseFELayout/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"\@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:宋体;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
pre
{margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:宋体;
mso-bidi-font-family:宋体;}
p.a, li.a, div.a
{mso-style-name:程序;
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
background:#CCCCCC;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:宋体;}
span.EmailStyle18
{mso-style-type:personal-compose;
mso-style-noshow:yes;
mso-ansi-font-size:9.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-fareast-font-family:宋体;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:windowtext;}
span.SpellE
{mso-style-name:"";
mso-spl-e:yes;}
span.GramE
{mso-style-name:"";
mso-gram-e:yes;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
mso-header-margin:36.0pt;
mso-footer-margin:36.0pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */=20
table.MsoNormalTable
{mso-style-name:普通表格;
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]-->
</head>
<body lang=3DZH-CN link=3Dblue vlink=3Dpurple =
style=3D'tab-interval:36.0pt'>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'>Hello =
Everyone!<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'><span
style=3D'mso-spacerun:yes'> </span>I compile the =
newest <span
class=3DSpellE><span class=3DGramE>pixil</span></span><span =
class=3DGramE>(</span>version
1.2.3) and encounter some obstacle.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'>When enter the =
directory <span
class=3DSpellE>pixilDT/NxDb</span> the compiler (My system is <span =
class=3DSpellE>RedHat</span>
9.0 and the compiler is GCC-3.2.2) <span class=3DSpellE><span =
class=3DGramE>cann’t</span></span><span
class=3DGramE><span style=3D'mso-spacerun:yes'> =
</span>identify</span> the
CLASS<span style=3D'mso-spacerun:yes'> =
</span>-------string!!<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'>Especial the line in =
the
file <span class=3DSpellE>nxdb.h</span> <span
style=3D'mso-spacerun:yes'> </span>:</span></font><span =
lang=3DEN-US> <o:p></o:p></span></p>
<p class=3DMsoNormal><span class=3DSpellE><span class=3DGramE><b =
style=3D'mso-bidi-font-weight:
normal'><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:9.0pt;
mso-bidi-font-size:10.0pt;font-family:Arial;font-weight:bold;mso-bidi-fon=
t-weight:
normal'>typedef</span></font></b></span></span><b =
style=3D'mso-bidi-font-weight:
normal'><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:9.0pt;
mso-bidi-font-size:10.0pt;font-family:Arial;font-weight:bold;mso-bidi-fon=
t-weight:
normal'> map < string, <span class=3DSpellE>int</span>, less < =
string >
> <span =
class=3DSpellE>TDatabase</span>;<o:p></o:p></span></font></b></p>
<p class=3DMsoNormal><span class=3DGramE><font size=3D1 =
face=3DArial><span lang=3DEN-US
style=3D'font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'>aro=
use<span
style=3D'mso-spacerun:yes'> </span>all</span></font></span><font =
size=3D1
face=3DArial><span lang=3DEN-US =
style=3D'font-size:9.0pt;mso-bidi-font-size:10.0pt;
font-family:Arial'> of the following ERROR =
message:<o:p></o:p></span></font></p>
<pre><font size=3D3 face=3D宋体><span lang=3DEN-US =
style=3D'font-size:12.0pt'>In file included from =
nxdb.cxx:44:<o:p></o:p></span></font></pre><pre><font
size=3D3 face=3D宋体><span lang=3DEN-US =
style=3D'font-size:12.0pt'>../include/nxdb.h:64: `string' was not =
declared in this scope<o:p></o:p></span></font></pre><pre><font
size=3D3 face=3D宋体><span lang=3DEN-US =
style=3D'font-size:12.0pt'>../include/nxdb.h:64: `less' was not declared =
in this scope<o:p></o:p></span></font></pre><pre><font
size=3D3 face=3D宋体><span lang=3DEN-US =
style=3D'font-size:12.0pt'>../include/nxdb.h:64: `string' was not =
declared in this scope<o:p></o:p></span></font></pre><pre><font
size=3D3 face=3D宋体><span lang=3DEN-US =
style=3D'font-size:12.0pt'>../include/nxdb.h:64: syntax error before =
`>' token<o:p></o:p></span></font></pre><pre><font
size=3D3 face=3D宋体><span lang=3DEN-US =
style=3D'font-size:12.0pt'>../include/nxdb.h:66: syntax error before =
`<span
class=3DGramE>::'</span> token<o:p></o:p></span></font></pre><pre><font =
size=3D3
face=3D宋体><span lang=3DEN-US =
style=3D'font-size:12.0pt'>../include/nxdb.h:79: '<span
class=3DSpellE>TDatabase</span>' is used as a type, but is not defined =
as a<o:p></o:p></span></font></pre><pre><font
size=3D3 face=3D宋体><span lang=3DEN-US =
style=3D'font-size:12.0pt'><span style=3D'mso-spacerun:yes'> =
</span><span
class=3DGramE>type</span><o:p></o:p></span></font></pre><pre><font =
size=3D3
face=3D宋体><span lang=3DEN-US =
style=3D'font-size:12.0pt'>………………R=
30;…………<o:p></o:p></span></font></pre>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'><o:p> </o:p></spa=
n></font></p>
<p class=3DMsoNormal><font size=3D2 face=3D"Times New Roman"><span =
lang=3DEN-US
style=3D'font-size:10.0pt;mso-no-proof:yes'>Best =
Regard</span></font><span
lang=3DEN-US style=3D'mso-no-proof:yes'><o:p></o:p></span></p>
<p class=3DMsoNormal><font size=3D2 face=3D"Times New Roman"><span =
lang=3DEN-US
style=3D'font-size:10.0pt;mso-no-proof:yes'>*****************************=
****</span></font><span
lang=3DEN-US style=3D'mso-no-proof:yes'><o:p></o:p></span></p>
<div>
<p class=3DMsoNormal><font size=3D2 face=3D"Times New Roman"><span =
lang=3DEN-US
style=3D'font-size:10.0pt;mso-no-proof:yes'>Ronnie Wang(Wang =
Xingqiang)</span></font><span
lang=3DEN-US style=3D'mso-no-proof:yes'><o:p></o:p></span></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-US
style=3D'font-size:12.0pt;mso-no-proof:yes'> <o:p></o:p></span></fon=
t></p>
</div>
<p class=3DMsoNormal><font size=3D2 face=3D"Times New Roman"><span =
lang=3DEN-US
style=3D'font-size:10.0pt;mso-no-proof:yes'>UTStarcom Telecom Co., =
Ltd.<br>
</span></font><st1:address><st1:Street><font size=3D2><span lang=3DEN-US
style=3D'font-size:10.0pt;mso-no-proof:yes'>#129 WenYi =
Road</span></font></st1:Street><font
size=3D2><span lang=3DEN-US =
style=3D'font-size:10.0pt;mso-no-proof:yes'>, =
</span></font><st1:City><font
size=3D2><span lang=3DEN-US =
style=3D'font-size:10.0pt;mso-no-proof:yes'>Hangzhou</span></font></st1:C=
ity></st1:address><font
size=3D2><span lang=3DEN-US =
style=3D'font-size:10.0pt;mso-no-proof:yes'>,<br>
31002 P.R. China</span></font><span lang=3DEN-US =
style=3D'mso-no-proof:yes'><o:p></o:p></span></p>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-US
style=3D'font-size:12.0pt;mso-no-proof:yes'> <o:p></o:p></span></fon=
t></p>
</div>
<p class=3DMsoNormal><font size=3D2 face=3D"Times New Roman"><span =
lang=3DEN-US
style=3D'font-size:10.0pt;mso-no-proof:yes'>Tel: (086-571) 8886-2342 =
ext. 6138</span></font><span
lang=3DEN-US style=3D'mso-no-proof:yes'><o:p></o:p></span></p>
<p class=3DMsoNormal><font size=3D2 face=3D"Times New Roman"><span =
lang=3DEN-US
style=3D'font-size:10.0pt;mso-no-proof:yes'>Email: <a
href=3D"mailto:[email protected]">[email protected]</a><br>
************************************</span></font><span =
lang=3DEN-US><o:p></o:p></span></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-US
style=3D'font-size:12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
------=_NextPart_000_0008_01C44C71.9B967200--
--===============0492599124==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Pixil-devel mailing list
[email protected]
http://www.pixil.org/cgi-bin/mailman/listinfo/pixil-devel
--===============0492599124==--