[okl4-developer] build error UserList missing

ANPING WANG csiewap at gmail.com
Fri Mar 21 19:12:01 EST 2008


HI Nelson,

thanks, i have do "apt-get install python2.4"
and the python error might be fix
but still new error occur ......

$ tools/build.py machine=ia32_pc99 project=iguana toolprefix=
scons: Reading SConscript files ...
SERIAL_DRIVER is  l4kdb_uart
scons: done reading SConscript files.
scons: Building targets ...
[CXX ] build/pistachio/l4kernel/object/src/exregs.o
cc1plus: warnings being treated as errors
pistachio/src/exregs.cc: In function 「void
sys_exchange_registers(threadid_t, word_t, word_t, word_t, word_t, word_t,
ia32_exceptionframe_t*)」:
pistachio/src/exregs.cc:422: 警告: deprecated conversion from string constant
to 「char*」
scons: *** [build/pistachio/l4kernel/object/src/exregs.o] Error 1
scons: building terminated because of errors.
$

i think the error may cause of  "cc1plus: warnings being treated as errors"
but i don't know how to fix it well
what i do to fix it is comment the follow setting of "toolchain.py"

line 304
               #self.dict["CXX_WARNINGS"] = ["all", "redundant-decls",
"undef", "pointer-arith",
               #                             "no-uninitialized", "error"]

but the other error occur

elfadorn: error: no such option: --ld
scons: *** [build/pistachio/bin/l4kernel] Error 2
scons: building terminated because of errors.


Is there any thing that i can do to fix those error right??
thanks.....^^



2008/3/21, Nelson Tam <nelson at ok-labs.com>:
>
> Hi Anping,
>
> On 21/03/2008, at 4:35 AM, ANPING WANG wrote:
> > thanks but i still can't not build the kernel
> > the python version is 2.5
> > the OS is Ubuntu 8.04
> > i can find the USerList.py in the /usr/lib/python2.5/UserList.py
> > (but i can't find it in the /usr/lib/python2.4 )
> > and the /usr/bin/python   link to the python2.5
> >
> > i have try to copy the UserList.py to tools/SCons/Script/ and the
> > other directory need the file
>
>
> What version of python have you got installed?  Is it possible that
> you do not have the standard python libraries installed, since cPickle
> should be included (see http://docs.python.org/lib/module-cPickle.html)?
>
> This is what I see on my system:
>
> $ find /usr/lib/python2.* -name "cPickle*"
> /usr/lib/python2.4/lib-dynload/cPickle.so
> /usr/lib/python2.5/lib-dynload/cPickle.so
>
> How about doing an "apt-get upgrade" or "apt-get install python2.4"?
> --
> (nt)
>
> Nelson Tam
> nelson at ok-labs.com
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20080321/17f8a925/attachment.htm 


More information about the Developer mailing list