<div>HI Nelson, </div>
<div>&nbsp;</div>
<div>thanks, i have do &quot;apt-get install python2.4&quot;</div>
<div>and the python error might be fix</div>
<div>but still new error occur ......</div>
<div>&nbsp;</div>
<div>$&nbsp;tools/build.py machine=ia32_pc99 project=iguana toolprefix=<br>scons: Reading SConscript files ...<br>SERIAL_DRIVER is&nbsp; l4kdb_uart<br>scons: done reading SConscript files.<br>scons: Building targets ...<br>[CXX ] build/pistachio/l4kernel/object/src/exregs.o<br>
<font color="#3333ff">cc1plus: warnings being treated as errors<br></font>pistachio/src/exregs.cc: In function ”uvoid sys_exchange_registers(threadid_t, word_t, word_t, word_t, word_t, word_t, ia32_exceptionframe_t*)”v:<br>
pistachio/src/exregs.cc:422: Äµ§i”G deprecated conversion from string constant to ”uchar*”v<br>scons: *** [build/pistachio/l4kernel/object/src/exregs.o] Error 1<br>scons: building terminated because of errors.<br>$</div>
<div>&nbsp;</div>
<div>i think the error&nbsp;may cause&nbsp;of&nbsp; &quot;<font color="#3333ff">cc1plus: warnings being treated as errors</font> &quot;&nbsp;&nbsp;&nbsp;</div>
<div>but i don&#39;t know how to fix it well</div>
<div>what i do to fix it is comment the follow setting of &quot;toolchain.py&quot;&nbsp;</div>
<div>&nbsp;</div>
<div>line 304</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #self.dict[&quot;CXX_WARNINGS&quot;] = [&quot;all&quot;, &quot;redundant-decls&quot;, &quot;undef&quot;, &quot;pointer-arith&quot;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;no-uninitialized&quot;, &quot;error&quot;]&nbsp;</div>

<div>&nbsp;</div>
<div>but the other error occur </div>
<div>&nbsp;</div>
<div>elfadorn: error: no such option: --ld<br>scons: *** [build/pistachio/bin/l4kernel] Error 2<br>scons: building terminated because of errors.<br>&nbsp;</div>
<div>&nbsp;</div>
<div>Is there any&nbsp;thing that i can&nbsp;do to fix those error right??</div>
<div>thanks.....^^</div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">2008/3/21, Nelson Tam &lt;<a href="mailto:nelson@ok-labs.com">nelson@ok-labs.com</a>&gt;:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Anping,<br><br>On 21/03/2008, at 4:35 AM, ANPING WANG wrote:<br>&gt; thanks but i still can&#39;t not build the kernel<br>
&gt; the python version is 2.5<br>&gt; the OS is Ubuntu 8.04<br>&gt; i can find the USerList.py in the /usr/lib/python2.5/UserList.py<br>&gt; (but i can&#39;t find it in the /usr/lib/python2.4 )<br>&gt; and the /usr/bin/python&nbsp;&nbsp; link to the python2.5<br>
&gt;<br>&gt; i have try to copy the UserList.py to tools/SCons/Script/ and the<br>&gt; other directory need the file<br><br><br>What version of python have you got installed?&nbsp;&nbsp;Is it possible that<br>you do not have the standard python libraries installed, since cPickle<br>
should be included (see <a href="http://docs.python.org/lib/module-cPickle.html">http://docs.python.org/lib/module-cPickle.html</a>)?<br><br>This is what I see on my system:<br><br>$ find /usr/lib/python2.* -name &quot;cPickle*&quot;<br>
/usr/lib/python2.4/lib-dynload/cPickle.so<br>/usr/lib/python2.5/lib-dynload/cPickle.so<br><br>How about doing an &quot;apt-get upgrade&quot; or &quot;apt-get install python2.4&quot;?<br>--<br>(nt)<br><br>Nelson Tam<br><a href="mailto:nelson@ok-labs.com">nelson@ok-labs.com</a><br>
<br><br><br></blockquote></div><br>