Hi Gabi,<br><br>I&#39;m trying with ARM; do I need to install arm-linux-gnueabi before installing crosstools?<br><br>Thanks in advance!<br><br>Regards,<br>Gavin<br><br><div class="gmail_quote">On Fri, Dec 12, 2008 at 12:48 AM, Gabi Voiculescu <span dir="ltr">&lt;<a href="mailto:boy3dfx2@yahoo.com">boy3dfx2@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">What target machine did you want to use for your interaction with okl4?<br>
<br>
ARM or x86?<br>
<br>
Because for ARM I thought this was good enough for okl4-3.0:<br>
<a href="http://wiki.ok-labs.com/downloads/release-3.0/arm-linux-gnueabi-4.2.4.tar.gz" target="_blank">http://wiki.ok-labs.com/downloads/release-3.0/arm-linux-gnueabi-4.2.4.tar.gz</a><br>
<br>
<br>
Gabi Voiculescu<br>
<br>
--- On Thu, 12/11/08, Gavin Chow &lt;<a href="mailto:gwchow@gmail.com">gwchow@gmail.com</a>&gt; wrote:<br>
<br>
&gt; From: Gavin Chow &lt;<a href="mailto:gwchow@gmail.com">gwchow@gmail.com</a>&gt;<br>
&gt; Subject: Re: [okl4-developer] New to OKL4<br>
&gt; To: <a href="mailto:developer@okl4.org">developer@okl4.org</a><br>
&gt; Date: Thursday, December 11, 2008, 11:40 AM<br>
<div><div></div><div class="Wj3C7c">&gt; Hi All,<br>
&gt;<br>
&gt; Thanks for all your help!<br>
&gt;<br>
&gt; I&#39;ve tried to get the toolchains installed, but I<br>
&gt; encountered the following<br>
&gt; error when setting up and patching crosstools:<br>
&gt;<br>
&gt;<br>
&gt; gavin@okl4machine://home/gavin/Desktop/OKL4-3.0/crosstool-0.43$sh<br>
&gt; demo-arm-softfloat.sh<br>
&gt; &lt;long output&gt;<br>
&gt; .<br>
&gt; .<br>
&gt; Prepare kernel headers<br>
&gt; + cd<br>
&gt; //home/gavin/Desktop/OKL4-3.0/crosstool-0.43/src/linux-2.6.16<br>
&gt; + mkdir -p<br>
&gt; //home/gavin/Desktop/OKL4-3.0/result_top/gcc-4.2.4-glibc-2.7/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/include<br>
&gt; + test -z<br>
&gt; + test -f<br>
&gt; //home/gavin/Desktop/OKL4-3.0/crosstool-0.43/arm.config<br>
&gt; + cp<br>
&gt; //home/gavin/Desktop/OKL4-3.0/crosstool-0.43/arm.config<br>
&gt; .config<br>
&gt; + test -f .config<br>
&gt; + yes<br>
&gt; + make ARCH=arm oldconfig<br>
&gt; &nbsp; HOSTCC &nbsp;scripts/basic/fixdep<br>
&gt; scripts/basic/fixdep.c:105:23: sys/types.h: No such file or<br>
&gt; directory<br>
&gt; scripts/basic/fixdep.c:106:22: sys/stat.h: No such file or<br>
&gt; directory<br>
&gt; scripts/basic/fixdep.c:107:22: sys/mman.h: No such file or<br>
&gt; directory<br>
&gt; scripts/basic/fixdep.c:108:20: unistd.h: No such file or<br>
&gt; directory<br>
&gt; scripts/basic/fixdep.c:109:19: fcntl.h: No such file or<br>
&gt; directory<br>
&gt; scripts/basic/fixdep.c:110:20: string.h: No such file or<br>
&gt; directory<br>
&gt; scripts/basic/fixdep.c:111:20: stdlib.h: No such file or<br>
&gt; directory<br>
&gt; scripts/basic/fixdep.c:112:19: stdio.h: No such file or<br>
&gt; directory<br>
&gt; In file included from<br>
&gt; /usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include/syslimits.h:7,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from<br>
&gt; /usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include/limits.h:11,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from scripts/basic/fixdep.c:113:<br>
&gt; /usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include/limits.h:122:75:<br>
&gt; limits.h: No<br>
&gt; such file or directory<br>
&gt; scripts/basic/fixdep.c:114:19: ctype.h: No such file or<br>
&gt; directory<br>
&gt; scripts/basic/fixdep.c:115:23: arpa/inet.h: No such file or<br>
&gt; directory<br>
&gt; scripts/basic/fixdep.c: In function `usage&#39;:<br>
&gt; scripts/basic/fixdep.c:129: warning: implicit declaration<br>
&gt; of function<br>
&gt; `fprintf&#39;<br>
&gt; scripts/basic/fixdep.c:129: error: `stderr&#39; undeclared<br>
&gt; (first use in this<br>
&gt; function)<br>
&gt; scripts/basic/fixdep.c:129: error: (Each undeclared<br>
&gt; identifier is reported<br>
&gt; only once<br>
&gt; scripts/basic/fixdep.c:129: error: for each function it<br>
&gt; appears in.)<br>
&gt; scripts/basic/fixdep.c:130: warning: implicit declaration<br>
&gt; of function `exit&#39;<br>
&gt; scripts/basic/fixdep.c: In function `print_cmdline&#39;:<br>
&gt; scripts/basic/fixdep.c:142: warning: implicit declaration<br>
&gt; of function<br>
&gt; `printf&#39;<br>
&gt; scripts/basic/fixdep.c: At top level:<br>
&gt; scripts/basic/fixdep.c:151: error: `NULL&#39; undeclared<br>
&gt; here (not in a<br>
&gt; function)<br>
&gt; scripts/basic/fixdep.c: In function `grow_config&#39;:<br>
&gt; scripts/basic/fixdep.c:164: warning: implicit declaration<br>
&gt; of function<br>
&gt; `realloc&#39;<br>
&gt; scripts/basic/fixdep.c:164: warning: assignment makes<br>
&gt; pointer from integer<br>
&gt; without a cast<br>
&gt; scripts/basic/fixdep.c:165: error: `NULL&#39; undeclared<br>
&gt; (first use in this<br>
&gt; function)<br>
&gt; scripts/basic/fixdep.c:166: warning: implicit declaration<br>
&gt; of function<br>
&gt; `perror&#39;<br>
&gt; scripts/basic/fixdep.c: In function<br>
&gt; `is_defined_config&#39;:<br>
&gt; scripts/basic/fixdep.c:182: warning: implicit declaration<br>
&gt; of function<br>
&gt; `memcmp&#39;<br>
&gt; scripts/basic/fixdep.c: In function `define_config&#39;:<br>
&gt; scripts/basic/fixdep.c:195: warning: implicit declaration<br>
&gt; of function<br>
&gt; `memcpy&#39;<br>
&gt; scripts/basic/fixdep.c: In function `use_config&#39;:<br>
&gt; scripts/basic/fixdep.c:214: error: `PATH_MAX&#39;<br>
&gt; undeclared (first use in this<br>
&gt; function)<br>
&gt; scripts/basic/fixdep.c:228: warning: implicit declaration<br>
&gt; of function<br>
&gt; `tolower&#39;<br>
&gt; scripts/basic/fixdep.c:214: warning: unused variable<br>
&gt; `s&#39;<br>
&gt; scripts/basic/fixdep.c: At top level:<br>
&gt; scripts/basic/fixdep.c:233: error: syntax error before<br>
&gt; &quot;size_t&quot;<br>
&gt; scripts/basic/fixdep.c:234: warning: function declaration<br>
&gt; isn&#39;t a prototype<br>
&gt; scripts/basic/fixdep.c: In function<br>
&gt; `parse_config_file&#39;:<br>
&gt; scripts/basic/fixdep.c:235: error: `map&#39; undeclared<br>
&gt; (first use in this<br>
&gt; function)<br>
&gt; scripts/basic/fixdep.c:235: error: `len&#39; undeclared<br>
&gt; (first use in this<br>
&gt; function)<br>
&gt; scripts/basic/fixdep.c:241: warning: implicit declaration<br>
&gt; of function<br>
&gt; `ntohl&#39;<br>
&gt; scripts/basic/fixdep.c:252: warning: implicit declaration<br>
&gt; of function<br>
&gt; `isalnum&#39;<br>
&gt; scripts/basic/fixdep.c: In function `strrcmp&#39;:<br>
&gt; scripts/basic/fixdep.c:265: warning: implicit declaration<br>
&gt; of function<br>
&gt; `strlen&#39;<br>
&gt; scripts/basic/fixdep.c: In function `do_config_file&#39;:<br>
&gt; scripts/basic/fixdep.c:276: error: storage size of `st&#39;<br>
&gt; isn&#39;t known<br>
&gt; scripts/basic/fixdep.c:280: warning: implicit declaration<br>
&gt; of function `open&#39;<br>
&gt; scripts/basic/fixdep.c:280: error: `O_RDONLY&#39;<br>
&gt; undeclared (first use in this<br>
&gt; function)<br>
&gt; scripts/basic/fixdep.c:282: error: `stderr&#39; undeclared<br>
&gt; (first use in this<br>
&gt; function)<br>
&gt; scripts/basic/fixdep.c:286: warning: implicit declaration<br>
&gt; of function<br>
&gt; `fstat&#39;<br>
&gt; scripts/basic/fixdep.c:288: warning: implicit declaration<br>
&gt; of function<br>
&gt; `close&#39;<br>
&gt; scripts/basic/fixdep.c:291: warning: implicit declaration<br>
&gt; of function `mmap&#39;<br>
&gt; scripts/basic/fixdep.c:291: error: `NULL&#39; undeclared<br>
&gt; (first use in this<br>
&gt; function)<br>
&gt; scripts/basic/fixdep.c:291: error: `PROT_READ&#39;<br>
&gt; undeclared (first use in this<br>
&gt; function)<br>
&gt; scripts/basic/fixdep.c:291: error: `MAP_PRIVATE&#39;<br>
&gt; undeclared (first use in<br>
&gt; this function)<br>
&gt; scripts/basic/fixdep.c:291: warning: assignment makes<br>
&gt; pointer from integer<br>
&gt; without a cast<br>
&gt; scripts/basic/fixdep.c:300: warning: implicit declaration<br>
&gt; of function<br>
&gt; `munmap&#39;<br>
&gt; scripts/basic/fixdep.c:276: warning: unused variable<br>
&gt; `st&#39;<br>
&gt; scripts/basic/fixdep.c: At top level:<br>
&gt; scripts/basic/fixdep.c:305: error: syntax error before<br>
&gt; &quot;size_t&quot;<br>
&gt; scripts/basic/fixdep.c:306: warning: function declaration<br>
&gt; isn&#39;t a prototype<br>
&gt; scripts/basic/fixdep.c: In function `parse_dep_file&#39;:<br>
&gt; scripts/basic/fixdep.c:307: error: `map&#39; undeclared<br>
&gt; (first use in this<br>
&gt; function)<br>
&gt; scripts/basic/fixdep.c:308: error: `len&#39; undeclared<br>
&gt; (first use in this<br>
&gt; function)<br>
&gt; scripts/basic/fixdep.c:310: error: `PATH_MAX&#39;<br>
&gt; undeclared (first use in this<br>
&gt; function)<br>
&gt; scripts/basic/fixdep.c:312: warning: implicit declaration<br>
&gt; of function<br>
&gt; `strchr&#39;<br>
&gt; scripts/basic/fixdep.c:314: error: `stderr&#39; undeclared<br>
&gt; (first use in this<br>
&gt; function)<br>
&gt; scripts/basic/fixdep.c:310: warning: unused variable<br>
&gt; `s&#39;<br>
&gt; scripts/basic/fixdep.c: In function `print_deps&#39;:<br>
&gt; scripts/basic/fixdep.c:347: error: storage size of `st&#39;<br>
&gt; isn&#39;t known<br>
&gt; scripts/basic/fixdep.c:351: error: `O_RDONLY&#39;<br>
&gt; undeclared (first use in this<br>
&gt; function)<br>
&gt; scripts/basic/fixdep.c:353: error: `stderr&#39; undeclared<br>
&gt; (first use in this<br>
&gt; function)<br>
&gt; scripts/basic/fixdep.c:363: error: `NULL&#39; undeclared<br>
&gt; (first use in this<br>
&gt; function)<br>
&gt; scripts/basic/fixdep.c:363: error: `PROT_READ&#39;<br>
&gt; undeclared (first use in this<br>
&gt; function)<br>
&gt; scripts/basic/fixdep.c:363: error: `MAP_PRIVATE&#39;<br>
&gt; undeclared (first use in<br>
&gt; this function)<br>
&gt; scripts/basic/fixdep.c:363: warning: assignment makes<br>
&gt; pointer from integer<br>
&gt; without a cast<br>
&gt; scripts/basic/fixdep.c:347: warning: unused variable<br>
&gt; `st&#39;<br>
&gt; scripts/basic/fixdep.c: In function `traps&#39;:<br>
&gt; scripts/basic/fixdep.c:382: error: `stderr&#39; undeclared<br>
&gt; (first use in this<br>
&gt; function)<br>
&gt; make[1]: *** [scripts/basic/fixdep] Error 1<br>
&gt; make: *** [scripts_basic] Error 2<br>
&gt; gavin@okl4machine://home/gavin/Desktop/OKL4-3.0/crosstool-0.43$<br>
&gt;<br>
&gt; Am I missing something?<br>
&gt;<br>
&gt; Please advise.<br>
&gt;<br>
&gt; Thanks in advance!<br>
&gt;<br>
&gt; Regards,<br>
&gt; Gavin<br>
&gt;<br>
&gt; On Thu, Dec 4, 2008 at 3:34 PM, Geoffrey Lee<br>
&gt; &lt;<a href="mailto:glee@ok-labs.com">glee@ok-labs.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; On Thu, Dec 04, 2008 at 02:49:30PM +0800, Gavin Chow<br>
&gt; wrote:<br>
&gt; &gt; &gt; Hi Yeonju,<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Hi - in addition to what Yeonju has said, please note<br>
&gt; that<br>
&gt; &gt; if you use ./tools/build.py as the command line then<br>
&gt; it must be<br>
&gt; &gt; invoked from the okl4_3.0 directory, following<br>
&gt; standard<br>
&gt; &gt; command line path conventions. &nbsp;In addition, the<br>
&gt; latest<br>
&gt; &gt; IA-32 port of OKL4 is 2.1.<br>
&gt; &gt;<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;-gl<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; Thanks for the quick reply!<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; You&#39;re right, I don&#39;t have Python 2.4 and<br>
&gt; that&#39;s causing the error. I&#39;ve<br>
&gt; &gt; &gt; installed Python 2.4 and symlinked<br>
&gt; /usr/bin/python from Python 2.5 to<br>
&gt; &gt; Python<br>
&gt; &gt; &gt; 2.4.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; After that, I tried the build script and<br>
&gt; encountered the following:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; gavin@okl4machine:~/Desktop/OKL4/okl4_3.0$<br>
&gt; ./tools/build.py<br>
&gt; &gt; &gt; machine=ia32_pc99 project=l4test<br>
&gt; &gt; &gt; scons: Reading SConscript files ...<br>
&gt; &gt; &gt;<br>
&gt; /home/gavin/Desktop/OKL4/okl4_3.0/tools/scons.py:330 &nbsp;l4test<br>
&gt; is not a<br>
&gt; &gt; valid<br>
&gt; &gt; &gt; project<br>
&gt; &gt; &gt; gavin@okl4machine:~/Desktop/OKL4/okl4_3.0$ ls<br>
&gt; &gt; &gt; arch &nbsp;cells &nbsp;ctest &nbsp;cust &nbsp;drivers &nbsp;examples<br>
&gt; iguana &nbsp;kbench &nbsp;ktest &nbsp;libs<br>
&gt; &gt; &gt; nanokernel &nbsp;nanotest &nbsp;pistachio &nbsp;platform<br>
&gt; projects &nbsp;sdk &nbsp;soc-sdk &nbsp;tools<br>
&gt; &gt; &gt; gavin@okl4machine:~/Desktop/OKL4/okl4_3.0$ cd<br>
&gt; projects<br>
&gt; &gt; &gt;<br>
&gt; gavin@okl4machine:~/Desktop/OKL4/okl4_3.0/projects$ ls<br>
&gt; &gt; &gt; ctest &nbsp;examples &nbsp;iguana &nbsp;kbench &nbsp;ktest &nbsp;linux<br>
&gt; ntest &nbsp;sdk &nbsp;soc-sdk<br>
&gt; &gt; &gt;<br>
&gt; gavin@okl4machine:~/Desktop/OKL4/okl4_3.0/projects$<br>
&gt; ./tools/build.py<br>
&gt; &gt; &gt; machine=ia32_pc99 project=iguana<br>
&gt; &gt; &gt; bash: ./tools/build.py: No such file or directory<br>
&gt; &gt; &gt;<br>
&gt; gavin@okl4machine:~/Desktop/OKL4/okl4_3.0/projects$ cd ..<br>
&gt; &gt; &gt; gavin@okl4machine:~/Desktop/OKL4/okl4_3.0$<br>
&gt; ./tools/build.py<br>
&gt; &gt; &gt; machine=ia32_pc99 project=iguana<br>
&gt; &gt; &gt; scons: Reading SConscript files ...<br>
&gt; &gt; &gt;<br>
&gt; /home/gavin/Desktop/OKL4/okl4_3.0/tools/kenge.py:141<br>
&gt; &#39;ia32_pc99&#39; is not<br>
&gt; &gt; a<br>
&gt; &gt; &gt; valid machine. Must be one of: [&#39;gta01&#39;,<br>
&gt; &#39;gta01_xip&#39;, &#39;gumstix&#39;,<br>
&gt; &gt; &gt; &#39;ipaq_h3800&#39;, &#39;kzm_arm11&#39;,<br>
&gt; &#39;pleb&#39;, &#39;versatile&#39;,<br>
&gt; &#39;versatile_uboot&#39;]<br>
&gt; &gt; &gt; gavin@okl4machine:~/Desktop/OKL4/okl4_3.0$<br>
&gt; ./tools/build.py<br>
&gt; &gt; machine=gumstix<br>
&gt; &gt; &gt; project=iguana<br>
&gt; &gt; &gt; scons: Reading SConscript files ...<br>
&gt; &gt; &gt; test_device<br>
&gt; &gt; &gt; skip<br>
&gt; &gt; &gt; pxa250_timer<br>
&gt; &gt; &gt; uart_8250<br>
&gt; &gt; &gt; pxa250_dma<br>
&gt; &gt; &gt; pxa250_rtc<br>
&gt; &gt; &gt; pxa250_gpio<br>
&gt; &gt; &gt; pxa250_cs<br>
&gt; &gt; &gt; kirq_device<br>
&gt; &gt; &gt; skip<br>
&gt; &gt; &gt; Unable to find package: drivers/pxa250_dma<br>
&gt; &gt; &gt; Unable to find package: libs/vdma<br>
&gt; &gt; &gt; Unable to find package: drivers/pxa250_gpio<br>
&gt; &gt; &gt; Unable to find package: libs/vgpio<br>
&gt; &gt; &gt; Unable to find package: drivers/pxa250_cs<br>
&gt; &gt; &gt; Unable to find package: libs/vcs<br>
&gt; &gt; &gt; SERIAL_DRIVER is &nbsp;uart_8250<br>
&gt; &gt; &gt; Unable to find package: iguana/vdma<br>
&gt; &gt; &gt; Unable to find package: iguana/vgpio<br>
&gt; &gt; &gt; Unable to find package: iguana/vcs<br>
&gt; &gt; &gt; scons: done reading SConscript files.<br>
&gt; &gt; &gt; scons: Building targets ...<br>
&gt; &gt; &gt; [INST] build/pistachio/include/kernel/macros.h<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/pgent.h&quot;,<br>
&gt; &gt; &gt; &quot;arch/arm/pistachio/include/pgent.h&quot;)<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/space.h&quot;,<br>
&gt; &gt; &gt; &quot;arch/arm/pistachio/include/space.h&quot;)<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/ktcb.h&quot;,<br>
&gt; &gt; &gt; &quot;arch/arm/pistachio/include/ktcb.h&quot;)<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/tcb.h&quot;,<br>
&gt; &gt; &gt; &quot;arch/arm/pistachio/include/tcb.h&quot;)<br>
&gt; &gt; &gt; [INST]<br>
&gt; build/pistachio/include/atomic_ops/atomic_ops.h<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/config.h&quot;,<br>
&gt; &gt; &gt; &quot;arch/arm/pistachio/include/config.h&quot;)<br>
&gt; &gt; &gt; [INST] build/pistachio/include/kernel/config.h<br>
&gt; &gt; &gt; [INST] build/pistachio/include/kernel/types.h<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/globals.h&quot;,<br>
&gt; &gt; &gt; &quot;arch/arm/pistachio/include/globals.h&quot;)<br>
&gt; &gt; &gt; [INST] build/pistachio/include/l4/config.h<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/debug.h&quot;,<br>
&gt; &gt; &gt; &quot;arch/arm/pistachio/include/debug.h&quot;)<br>
&gt; &gt; &gt; [INST] build/pistachio/include/kernel/debug.h<br>
&gt; &gt; &gt; [INST] build/pistachio/include/l4/map_types.h<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/phys_segment.h&quot;,<br>
&gt; &gt; &gt;<br>
&gt; &quot;arch/arm/pistachio/include/phys_segment.h&quot;)<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/profile.h&quot;,<br>
&gt; &gt; &gt; &quot;arch/arm/pistachio/include/profile.h&quot;)<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/resources.h&quot;,<br>
&gt; &gt; &gt;<br>
&gt; &quot;arch/arm/pistachio/include/resources.h&quot;)<br>
&gt; &gt; &gt; [INST] build/pistachio/include/kernel/bitmap.h<br>
&gt; &gt; &gt; [INST]<br>
&gt; build/pistachio/include/kernel/generic/lib.h<br>
&gt; &gt; &gt; [INST] build/pistachio/include/l4/arch/vregs.h<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/cache.h&quot;,<br>
&gt; &gt; &gt; &quot;arch/arm/pistachio/include/cache.h&quot;)<br>
&gt; &gt; &gt; [INST] build/pistachio/include/kernel/cache.h<br>
&gt; &gt; &gt; [INST] build/pistachio/include/compat/c.h<br>
&gt; &gt; &gt; [INST] build/pistachio/include/l4/macros.h<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/hwspace.h&quot;,<br>
&gt; &gt; &gt; &quot;arch/arm/pistachio/include/hwspace.h&quot;)<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/ver/pgent.h&quot;,<br>
&gt; &gt; &gt;<br>
&gt; &quot;arch/arm/pistachio/v5/include/pgent.h&quot;)<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/ver/space.h&quot;,<br>
&gt; &gt; &gt;<br>
&gt; &quot;arch/arm/pistachio/v5/include/space.h&quot;)<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/exception.h&quot;,<br>
&gt; &gt; &gt;<br>
&gt; &quot;arch/arm/pistachio/include/exception.h&quot;)<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/thread.h&quot;,<br>
&gt; &gt; &gt; &quot;arch/arm/pistachio/include/thread.h&quot;)<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/asm_prototypes.h&quot;,<br>
&gt; &gt; &gt;<br>
&gt; &quot;arch/arm/pistachio/include/asm_prototypes.h&quot;)<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/resource_functions.h&quot;,<br>
&gt; &gt; &gt;<br>
&gt; &quot;arch/arm/pistachio/include/resource_functions.h&quot;)<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/ver/tcb.h&quot;,<br>
&gt; &gt; &gt; &quot;arch/arm/pistachio/v5/include/tcb.h&quot;)<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/cpu/cache.h&quot;,<br>
&gt; &gt; &gt;<br>
&gt; &quot;arch/arm/pistachio/cpu/xscale/include/cache.h&quot;)<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/cpu/syscon.h&quot;,<br>
&gt; &gt; &gt;<br>
&gt; &quot;arch/arm/pistachio/cpu/xscale/include/syscon.h&quot;)<br>
&gt; &gt; &gt; [INST] build/pistachio/include/kernel/arch/asm.h<br>
&gt; &gt; &gt; [INST]<br>
&gt; build/pistachio/include/kernel/arch/continuation.h<br>
&gt; &gt; &gt; [INST]<br>
&gt; build/pistachio/include/atomic_ops/arch/atomic_ops.h<br>
&gt; &gt; &gt; [INST] build/pistachio/include/l4/types.h<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/page.h&quot;,<br>
&gt; &gt; &gt; &quot;arch/arm/pistachio/include/page.h&quot;)<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/ver/config.h&quot;,<br>
&gt; &gt; &gt;<br>
&gt; &quot;arch/arm/pistachio/v5/include/config.h&quot;)<br>
&gt; &gt; &gt; [INST]<br>
&gt; build/pistachio/include/kernel/arch/config.h<br>
&gt; &gt; &gt; [INST] build/pistachio/include/l4/arch/config.h<br>
&gt; &gt; &gt; [INST]<br>
&gt; build/pistachio/include/kernel/arch/types.h<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/kdb/macro_set.h&quot;,<br>
&gt; &gt; &gt; &quot;pistachio/kdb/include/macro_set.h&quot;)<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/ver/phys_segment.h&quot;,<br>
&gt; &gt; &gt;<br>
&gt; &quot;arch/arm/pistachio/v5/include/phys_segment.h&quot;)<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/syscalls.h&quot;,<br>
&gt; &gt; &gt;<br>
&gt; &quot;arch/arm/pistachio/include/syscalls.h&quot;)<br>
&gt; &gt; &gt; [INST] build/pistachio/include/kernel/errors.h<br>
&gt; &gt; &gt; [INST] build/pistachio/include/soc/soc.h<br>
&gt; &gt; &gt; [INST]<br>
&gt; build/pistachio/include/kernel/arch/special.h<br>
&gt; &gt; &gt; [INST] build/pistachio/include/l4/cust/utcb.h<br>
&gt; &gt; &gt; [INST] build/pistachio/include/l4/cust/vregs.h<br>
&gt; &gt; &gt; [INST] build/pistachio/include/soc/arch/soc.h<br>
&gt; &gt; &gt; [INST]<br>
&gt; build/pistachio/include/compat/toolchain/ads_c.h<br>
&gt; &gt; &gt; [INST]<br>
&gt; build/pistachio/include/compat/toolchain/flint_c.h<br>
&gt; &gt; &gt; [INST]<br>
&gt; build/pistachio/include/compat/toolchain/gnu_c.h<br>
&gt; &gt; &gt; [INST]<br>
&gt; build/pistachio/include/compat/toolchain/rvct_c.h<br>
&gt; &gt; &gt; [INST]<br>
&gt; build/pistachio/include/compat/toolchain/rvct_gnu_c.h<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/fass.h&quot;,<br>
&gt; &gt; &gt; &quot;arch/arm/pistachio/include/fass.h&quot;)<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/ver/ptab.h&quot;,<br>
&gt; &gt; &gt; &quot;arch/arm/pistachio/v5/include/ptab.h&quot;)<br>
&gt; &gt; &gt; [INST]<br>
&gt; build/pistachio/include/l4/arch/ver/space_resources.h<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/fass_inline.h&quot;,<br>
&gt; &gt; &gt;<br>
&gt; &quot;arch/arm/pistachio/include/fass_inline.h&quot;)<br>
&gt; &gt; &gt; [INST]<br>
&gt; build/pistachio/include/kernel/arch/asm_gnu.h<br>
&gt; &gt; &gt; [INST]<br>
&gt; build/pistachio/include/kernel/arch/asm_rvct.h<br>
&gt; &gt; &gt; [INST]<br>
&gt; build/pistachio/include/atomic_ops/unsafe_generic.h<br>
&gt; &gt; &gt; [INST] build/pistachio/include/l4/arch/specials.h<br>
&gt; &gt; &gt; [INST] build/pistachio/include/l4/arch/types.h<br>
&gt; &gt; &gt; [INST] build/pistachio/include/l4/arch/ver/page.h<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/cpu/phys_segment.h&quot;,<br>
&gt; &gt; &gt;<br>
&gt; &quot;arch/arm/pistachio/cpu/xscale/include/phys_segment.h&quot;)<br>
&gt; &gt; &gt;<br>
&gt; Copy(&quot;build/pistachio/object/pistachio/include/arch/ver/utcb.h&quot;,<br>
&gt; &gt; &gt; &quot;arch/arm/pistachio/v5/include/utcb.h&quot;)<br>
&gt; &gt; &gt; [INST]<br>
&gt; build/pistachio/include/l4/arch/syscalls_asm.h<br>
&gt; &gt; &gt; [INST]<br>
&gt; build/pistachio/include/kernel/kdb/console.h<br>
&gt; &gt; &gt; [INST] build/pistachio/include/soc/soc_types.h<br>
&gt; &gt; &gt; [INST]<br>
&gt; build/pistachio/include/l4/arch/cache_attribs.h<br>
&gt; &gt; &gt; [INST]<br>
&gt; build/pistachio/include/l4/arch/ver/cache_attribs.h<br>
&gt; &gt; &gt; [INST]<br>
&gt; build/pistachio/include/l4/cpu/cache_attribs.h<br>
&gt; &gt; &gt; [CXX ] build/pistachio/l4kernel/object/src/asid.o<br>
&gt; &gt; &gt; sh: arm-linux-g++: not found<br>
&gt; &gt; &gt; scons: ***<br>
&gt; [build/pistachio/l4kernel/object/src/asid.o] Error 127<br>
&gt; &gt; &gt; scons: building terminated because of errors.<br>
&gt; &gt; &gt; Is installing OKL4 as straightforward as just<br>
&gt; running the build script?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Please advise.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Thanks in advance!<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Cheers!<br>
&gt; &gt; &gt; Gavin<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On Thu, Dec 4, 2008 at 1:56 PM, Yeonju<br>
&gt; &lt;<a href="mailto:xelis@hufs.ac.kr">xelis@hufs.ac.kr</a>&gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Hi~<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; I think...this message(blew) means python2.4<br>
&gt; is not installed.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; $./tools/build.py machine=ia32_pc99<br>
&gt; project=l4test<br>
&gt; &gt; &gt; &gt; /usr/bin/env: python2.4: No such file or<br>
&gt; directory<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Please check it using &quot;python -V&quot;<br>
&gt; command in your Ubuntu terminal.<br>
&gt; &gt; &gt; &gt; If python is not installed, you must install<br>
&gt; python 2.4, not 2.5 or<br>
&gt; &gt; 2.6.<br>
&gt; &gt; &gt; &gt; (In okl4 2.1, it needs python 2.4. But<br>
&gt; I&#39;m not sure okl4 3 also needs<br>
&gt; &gt; same<br>
&gt; &gt; &gt; &gt; python version.)<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Regards,<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Gavin Chow wrote:<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Hi All,<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Good day!<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; I became a fan of OKL4 after reading<br>
&gt; about its microkernel approach<br>
&gt; &gt; and<br>
&gt; &gt; &gt; &gt; &gt; how<br>
&gt; &gt; &gt; &gt; &gt; it is built with security in mind.<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; I&#39;ve downloaded the latest release<br>
&gt; from<br>
&gt; &gt; &gt; &gt; &gt; <a href="http://wiki.ok-labs.com/Release/3.0" target="_blank">http://wiki.ok-labs.com/Release/3.0</a> and<br>
&gt; &gt; &gt; &gt; &gt; want to try it out in my environment.<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Correct me if I&#39;m wrong, but from<br>
&gt; what I understand, OKL4 is like a<br>
&gt; &gt; &gt; &gt; &gt; virtual<br>
&gt; &gt; &gt; &gt; &gt; machine host, and OK Linux is the<br>
&gt; virtual machine guest. If that is<br>
&gt; &gt; the<br>
&gt; &gt; &gt; &gt; &gt; case, do I setup OKL4 directly on a PC?<br>
&gt; Or should I install Linux on<br>
&gt; &gt; the<br>
&gt; &gt; &gt; &gt; &gt; PC<br>
&gt; &gt; &gt; &gt; &gt; first, and then install OKL4 followed<br>
&gt; by OK Linux on top? I&#39;ve tried<br>
&gt; &gt; the<br>
&gt; &gt; &gt; &gt; &gt; second approach using Ubuntu 8.04 but I<br>
&gt; could not install OKL4 after<br>
&gt; &gt; &gt; &gt; &gt; following these steps:<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; 1. Install Ubuntu 8.04 and updated with<br>
&gt; latest patches<br>
&gt; &gt; &gt; &gt; &gt; 2. Downloaded<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; <a href="http://wiki.ok-labs.com/downloads/release-3.0/okl4_3.0.tar.gz" target="_blank">http://wiki.ok-labs.com/downloads/release-3.0/okl4_3.0.tar.gz</a><br>
&gt; and<br>
&gt; &gt; &gt; &gt; &gt; followed instructions from<br>
&gt; &gt; <a href="http://wiki.ok-labs.com/BuildingAndSimulating" target="_blank">http://wiki.ok-labs.com/BuildingAndSimulating</a><br>
&gt; &gt; &gt; &gt; &gt; by<br>
&gt; &gt; &gt; &gt; &gt; running:<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; $./tools/build.py machine=ia32_pc99<br>
&gt; project=l4test<br>
&gt; &gt; &gt; &gt; &gt; /usr/bin/env: python2.4: No such file<br>
&gt; or directory<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; And this is where I got stuck. I feel<br>
&gt; that I may have missed out on a<br>
&gt; &gt; &gt; &gt; &gt; whole<br>
&gt; &gt; &gt; &gt; &gt; lot of stuff before I can actually run<br>
&gt; build.py. I&#39;m new to embedded<br>
&gt; &gt; &gt; &gt; &gt; development and I would like to learn<br>
&gt; more in this area.<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; I&#39;d greatly appreciate anyone&#39;s<br>
&gt; feedback.<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Thanks in advance!<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Cheers!<br>
&gt; &gt; &gt; &gt; &gt; Gavin<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; _______________________________________________<br>
&gt; &gt; &gt; &gt; &gt; Developer mailing list<br>
&gt; &gt; &gt; &gt; &gt; <a href="mailto:Developer@okl4.org">Developer@okl4.org</a><br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; <a href="https://lists.okl4.org/mailman/listinfo/developer" target="_blank">https://lists.okl4.org/mailman/listinfo/developer</a><br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; --<br>
&gt; &gt; &gt; &gt; View this message in context:<br>
&gt; &gt; &gt; &gt;<br>
&gt; <a href="http://n2.nabble.com/New-to-OKL4-tp1612308p1612358.html" target="_blank">http://n2.nabble.com/New-to-OKL4-tp1612308p1612358.html</a><br>
&gt; &gt; &gt; &gt; Sent from the OKL4 Community Forum mailing<br>
&gt; list archive at Nabble.com.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; _______________________________________________<br>
&gt; &gt; &gt; &gt; Developer mailing list<br>
&gt; &gt; &gt; &gt; <a href="mailto:Developer@okl4.org">Developer@okl4.org</a><br>
&gt; &gt; &gt; &gt;<br>
&gt; <a href="https://lists.okl4.org/mailman/listinfo/developer" target="_blank">https://lists.okl4.org/mailman/listinfo/developer</a><br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; Developer mailing list<br>
&gt; &gt; &gt; <a href="mailto:Developer@okl4.org">Developer@okl4.org</a><br>
&gt; &gt; &gt; <a href="https://lists.okl4.org/mailman/listinfo/developer" target="_blank">https://lists.okl4.org/mailman/listinfo/developer</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; _______________________________________________<br>
&gt; Developer mailing list<br>
&gt; <a href="mailto:Developer@okl4.org">Developer@okl4.org</a><br>
&gt; <a href="https://lists.okl4.org/mailman/listinfo/developer" target="_blank">https://lists.okl4.org/mailman/listinfo/developer</a><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Developer mailing list<br>
<a href="mailto:Developer@okl4.org">Developer@okl4.org</a><br>
<a href="https://lists.okl4.org/mailman/listinfo/developer" target="_blank">https://lists.okl4.org/mailman/listinfo/developer</a><br>
</div></div></blockquote></div><br>