<div>HI Nelson, </div>
<div> </div>
<div>thanks, i have do "apt-get install python2.4"</div>
<div>and the python error might be fix</div>
<div>but still new error occur ......</div>
<div> </div>
<div>$ tools/build.py machine=ia32_pc99 project=iguana toolprefix=<br>scons: Reading SConscript files ...<br>SERIAL_DRIVER is 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> </div>
<div>i think the error may cause of "<font color="#3333ff">cc1plus: warnings being treated as errors</font> " </div>
<div>but i don't know how to fix it well</div>
<div>what i do to fix it is comment the follow setting of "toolchain.py" </div>
<div> </div>
<div>line 304</div>
<div> #self.dict["CXX_WARNINGS"] = ["all", "redundant-decls", "undef", "pointer-arith",<br> # "no-uninitialized", "error"] </div>
<div> </div>
<div>but the other error occur </div>
<div> </div>
<div>elfadorn: error: no such option: --ld<br>scons: *** [build/pistachio/bin/l4kernel] Error 2<br>scons: building terminated because of errors.<br> </div>
<div> </div>
<div>Is there any thing that i can do to fix those error right??</div>
<div>thanks.....^^</div>
<div><br><br> </div>
<div><span class="gmail_quote">2008/3/21, Nelson Tam <<a href="mailto:nelson@ok-labs.com">nelson@ok-labs.com</a>>:</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>> thanks but i still can't not build the kernel<br>
> the python version is 2.5<br>> the OS is Ubuntu 8.04<br>> i can find the USerList.py in the /usr/lib/python2.5/UserList.py<br>> (but i can't find it in the /usr/lib/python2.4 )<br>> and the /usr/bin/python link to the python2.5<br>
><br>> i have try to copy the UserList.py to tools/SCons/Script/ and the<br>> other directory need the file<br><br><br>What version of python have you got installed? 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 "cPickle*"<br>
/usr/lib/python2.4/lib-dynload/cPickle.so<br>/usr/lib/python2.5/lib-dynload/cPickle.so<br><br>How about doing an "apt-get upgrade" or "apt-get install python2.4"?<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>