more errors, further though

4 messages Options
Embed this post
Permalink
zlice0

more errors, further though

Reply Threaded More More options
Print post
Permalink
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-gnu-gcc: No such file or directory
scons: *** [ia32/pistachio/object/pistachio/tcb_layout.s] Error 127
scons: building terminated because of errors.


(2.1 and 2.1.1-fix.7 for gumstix)

./tools/build.py machine=gumstix project=iguana 'build_dir="gumstix"'

SERIAL_DRIVER is  uart_8250
scons: done reading SConscript files.
scons: Building targets ...
[LINK] gumstix/pistachio/bin/kernel
scons: *** [gumstix/pistachio/bin/kernel] Error 127
scons: building terminated because of errors.
/tools/build.py project=iguana machine=gumstix


3.0

/tools/build.py project=iguana machine=gumstix

[COPY] build/elfweaver/freeze_elfadorn/elfadorn
[ICE ] build/elfweaver/freeze_elfadorn/elfadorn
sh: /opt/okl/Linux-x86_64/stow/okpython/Python/python: No such file or directory
scons: *** [build/elfweaver/freeze_elfadorn/elfadorn] Error 127
scons: building terminated because of errors.


okay...now i read something with PYFREEZE=False...sooo


./tools/build.py project=iguana machine=gumstix PYFREEZE=False


[ASPP] build/pistachio/object/libs_atomic_ops/arch/arm/libs/atomic_ops/v5/src/cmp_set.o
[AR  ] build/pistachio/lib/libatomic_ops.a
[LIB ] build/pistachio/lib/libatomic_ops.a
[LINK] build/pistachio/bin/l4kernel
scons: *** [build/pistachio/bin/l4kernel] Error 127
scons: building terminated because of errors.


path has /opt/nicta/..../bin and arm-unknwon....gnueabi.../bin



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.
Henning Schild

Re: more errors, further though

Reply Threaded More More options
Print post
Permalink
On Wed, 28 Oct 2009 15:43:56 -0700 (PDT)
zlice0 <[hidden email]> wrote:

>/opt/okl/Linux-i386/stow/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-gcc:
>No such file or directory

did you install the toolchain?
http://wiki.ok-labs.com/downloads/release-2.1/i686-unknown-linux-gnu.tar.bz2

try
"/opt/okl/Linux-i386/stow/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-gcc
--version"

Henning

_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer
Frank Kaiser

Re: more errors, further though

Reply Threaded More More options
Print post
Permalink
In reply to this post by zlice0
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: [hidden email] [mailto:[hidden email]]
On Behalf
> Of zlice0
> Sent: Wednesday, October 28, 2009 11:44 PM
> To: [hidden email]
> 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.


_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer
zlice0

Re: more errors, further though

Reply Threaded More More options
Print post
Permalink
In reply to this post by zlice0
YES! that worked! (after i changed something - below) i guess i didn't see a page with the downloads link or the i686 toolchain since the main wiki page just explains how to use the sdk and i'm horrible at net navigation. oklinux is still giving out the same error (of course, it's not toolchain related...) but i'm going to work on that later. i don't see why exit.o(.c) would call a function that isn't included right/correctly, i'll have to find time to read the code later...


magpidl4.py calls 'python' to execute

#!/usr/bin/env ptyhon

had to change it to 'python2.4' because i have 2.6 installed and it gives depricated errors...and earlier i tried to unisntall python2.6 and my coreutils in gentoo didn't work...oooopps. but all is well now :)



zlice0 wrote:
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-gnu-gcc: No such file or directory
scons: *** [ia32/pistachio/object/pistachio/tcb_layout.s] Error 127
scons: building terminated because of errors.


(2.1 and 2.1.1-fix.7 for gumstix)

./tools/build.py machine=gumstix project=iguana 'build_dir="gumstix"'

SERIAL_DRIVER is  uart_8250
scons: done reading SConscript files.
scons: Building targets ...
[LINK] gumstix/pistachio/bin/kernel
scons: *** [gumstix/pistachio/bin/kernel] Error 127
scons: building terminated because of errors.
/tools/build.py project=iguana machine=gumstix


3.0

/tools/build.py project=iguana machine=gumstix

[COPY] build/elfweaver/freeze_elfadorn/elfadorn
[ICE ] build/elfweaver/freeze_elfadorn/elfadorn
sh: /opt/okl/Linux-x86_64/stow/okpython/Python/python: No such file or directory
scons: *** [build/elfweaver/freeze_elfadorn/elfadorn] Error 127
scons: building terminated because of errors.


okay...now i read something with PYFREEZE=False...sooo


./tools/build.py project=iguana machine=gumstix PYFREEZE=False


[ASPP] build/pistachio/object/libs_atomic_ops/arch/arm/libs/atomic_ops/v5/src/cmp_set.o
[AR  ] build/pistachio/lib/libatomic_ops.a
[LIB ] build/pistachio/lib/libatomic_ops.a
[LINK] build/pistachio/bin/l4kernel
scons: *** [build/pistachio/bin/l4kernel] Error 127
scons: building terminated because of errors.


path has /opt/nicta/..../bin and arm-unknwon....gnueabi.../bin



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.