[okl4-developer] Getting started with OKL4 - Problems to compile source

Lutz Schönemann lutz.schoenemann at sit.fraunhofer.de
Fri Oct 10 21:01:26 EST 2008


Passing the toolchain argument to tools/build.py seems to fix that  
problem. But now I get the following Error

[ASM ] build/pistachio/object/pistachio/tcb_layout.s
In file included from build/pistachio/include/kernel/arch/config.h:93,
                  from build/pistachio/include/kernel/config.h:158,
                  from pistachio/include/l4.h:70,
                  from build/pistachio/object/pistachio/tcb_layout.cc:3:
build/pistachio/include/kernel/arch/ia32.h:305:3: #error unknown  
architecture - specify cache line size
scons: *** [build/pistachio/object/pistachio/tcb_layout.s] Error 1
scons: building terminated because of errors.


Where can I specify the cache line size?
Is it possible that all these problems are because I try to build OKL4  
inside a virtual machine?

Lutz

Am 09.10.2008 um 18:00 schrieb Geoffrey Lee:

> On Thu, Oct 09, 2008 at 02:40:30PM +0200, Lutz Schönemann wrote:
>> Hi,
>>
>> I want to get started with OKL4 and downloaded the source from
>> http://wiki.ok-labs.com/downloads/LATEST/okl4_latest.tar.gz
>>
>> Than I followed the instructions descibed in the "Get Started"  
>> section. I
>> also downloaded and extracted the recommended toolchain to my /opt
>> folder.
>> But if I try to build the system calling
>> tools/build.py machine=ia32_pc99 project=l4test
>> the script exits with the following message:
>
>
> It looks like the default is using a different version of the
> gcc-based toolchain.  Try passing toolchain=gnu_ia32_toolchain, that
> will use the NICTA toolchain.
>
> 	-gl
>
>>
>> scons: Reading SConscript files ...
>> architecture ia32 is not yet supported by libcompat.
>> architecture ia32 is not yet supported by libcompat.
>> scons: done reading SConscript files.
>> scons: Building targets ...
>> [ASM ] build/pistachio/object/pistachio/tcb_layout.s
>> sh: /opt/okl/Linux-i386/stow/i686-unknown-linux-gnu/bin/i686-unknown-
>> linux-gnu-gcc: not found
>> scons: *** [build/pistiachio/object/pistachio/tcb_layout.s] Error 127
>> scons: building terminated because of errors.
>>
>> Because the path returned from scons doesn't exist I added the build
>> option toolprefix:
>> tools/build.py machine=ia32_pc99 project=l4test toolprefix=/opt/ 
>> nicta/
>> gcc-3.3.4-glibc-2.3.3/i686-unknown-linux-gnu/i686-unknown-linux-gnu/ 
>> bin/
>>
>> This call ends with the following error:
>>
>> scons: Reading SConscript files ...
>> architecture ia32 is not yet supported by libcompat.
>> architecture ia32 is not yet supported by libcompat.
>> scons: done reading SConscript files.
>> scons: Building targets ...
>> [ASM ] build/pistachio/object/pistachio/tcb_layout.s
>> gcc: installation problem, cannot exec `cc1plus': No such file or
>> directory
>> scons: *** [build/pistiachio/object/pistachio/tcb_layout.s] Error 1
>> scons: building terminated because of errors.
>>
>>
>> cc1plus is installed on my system but not part of the toolchain that
>> could be downloaded from the OK-Labs website.
>>
>> Have I done something wrong? How can this problem be solved?
>> And is it critical that the script complains about libcompat doesn't
>> support the ia32 architecture?
>>
>> Thanks for help
>> Lutz
>
>
>
>> _______________________________________________
>> Developer mailing list
>> Developer at okl4.org
>> https://lists.okl4.org/mailman/listinfo/developer
>
>
> -- 
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3676 bytes
Desc: not available
Url : http://lists.okl4.org/pipermail/developer/attachments/20081010/cdc814bf/attachment.bin 


More information about the Developer mailing list