[okl4-developer] more errors, further though

Frank Kaiser frank.kaiser at opensynergy.com
Thu Oct 29 20:35:32 EST 2009


Hello

Error 127 is in all cases an indication that the toolchain (or parts of
it) cannot be found by SCONS. For the first case (build ia32 with OKL4
2.1) I can provide a solution. In the ia32/pc99 machine definitions
(ia32/tools/machines.py and pc99/tools/machines.py) OKL has screwed up
the toolchain definition a bit by referencing a toolchain with a prefix
containing an absolute path
(/opt/okl/Linux-i386/stow/i686-unknown-linux-gnu/bin/i686-unknown-linux-
gnu-). If this does not match your GCC cross compiler installation, then
you can overwrite it from the command line by adding
"TOOLPREFIX=<prefix>". Your envrionment should provide a PATH to your
toolchain (for instance
'/opt/okl/Linux-i386/stow/i686-unknown-linux-gnu/bin') and the parameter
<prefix> must match your toolchain prefixe (for instance
'i686-unknown-linux-gnu-').
I have no details for the other two cases, but I suspect they fail for
similar reasons.

Frank
> -----Original Message-----
> From: developer-bounces at okl4.org [mailto:developer-bounces at okl4.org]
On Behalf
> Of zlice0
> Sent: Wednesday, October 28, 2009 11:44 PM
> To: developer at okl4.org
> Subject: [okl4-developer] more errors, further though
> 
> 
> so i figured out my /opt dir got screwed up and that's why i wasn't
getting
> anywhere with building okl4_xxx. but now i am getting errors building
2.1.1
> and 3.0
> 
> this is where i am now...
> 
> 
> 2.1.1-fix.7
> 
> ./tools/build.py machine=ia32_pc99 project=iguana build_dir=ia32
> 
> [ASM ] ia32/pistachio/object/pistachio/tcb_layout.s
> sh:
>
/opt/okl/Linux-i386/stow/i686-unknown-linux-gnu/bin/i686-unknown-linux-g
nu-
> gcc:
> No such file or directory
> scons: *** [ia32/pistachio/object/pistachio/tcb_layout.s] Error 127
> scons: building terminated because of errors.
> 
> 
> ...
> 
> o.0? i don't understand. no clue what Error 127 is, don't know what to
look
> for or why ther pistachio/bin/kernel isn't being made, idk what this
> 'okpython' is because i dont' see it on the wiki page, and oklinux is
still
> giving me the same 'tsk_done_mm' impliciate error when i hit exit.o.
> Thinking of trying to build gentoo and paravirtualize that because
2.6.23
> started having para-virtualize in the kernel if i am correct(?), but
that's
> IF i can even compile okl4...if not the only way to try is to use the
sdk
> 'linux' example but i am having my doubt...and even then, i wont be
able to
> get ia32(x86) support anyway, which will suck.
> 
> i don't really have any questions...any help would be awesome. but i
just
> don't get how anyone gets this working, i guess the best question is
has
> anyone? and if they have what is your setup? path, system, tools,
> any/everything? it's hard to see what i'm doing wrong when i don't
have a
> working example, and i'm on gentoo so i'm willing to bet i'm missing
some
> kind of program. thanks for anyone who has any help.




More information about the Developer mailing list