Hi, I'm trying Okl4 since last two days with Ubuntu 10.04 on x86 architecture.I don't know where to extract pre-compiled tool chain(genode-10.08.tar.bz2). http://genode.org/download/tool-chain said that it has to extract /usr/local/genode-gcc.But i can't fined it /usr/local/. Please someone suggest a solution for me to go further.
Thanx Janith.
Hello,
On Thu, Sep 16, 2010 at 11:28:03AM +0530, Janith Widarshana wrote:
I'm trying Okl4 since last two days with Ubuntu 10.04 on x86 architecturea
Great to hear that - I'm running Luci Lynx 32-bit too.
I don't know where to extract pre-compiled tool chain(genode-10.08.tar.bz2). http://genode.org/download/tool-chain said that it has to extract /usr/local/genode-gcc.But i can't fined it /usr/local/. Please someone suggest a solution for me to go further.
That confuses me a bit, as
http://sourceforge.net/projects/genode/files/genode/10.08/genode-10.08.tar.b...
is the Genode source code archive. It contains the folder 'genode-10.08'. You may place extract the archive where you want. The current binary tool chain archive is
http://sourceforge.net/projects/genode/files/genode-toolchain/9.08/genode-to...
To extract the archive please run the following
! sudo tar -xjPf genode-toolchain-9.08.tar.bz2
from the command line in a terminal emulator. Note, the 'P' option is significant to keep leading '/'.
Regards
Thanx a lot Christian, I could get rid of that problem and now i've got following errors when run make file on build directory.
genode-okl4-x86/include/l4/arch/syscalls.h:277: error: PIC register ‘ebx’ clobbered in ‘asm’ make[2]: *** [ipc.o] Error 1 make[1]: *** [ipc.lib] Error 2 make: *** [gen_deps_and_build_targets] Error 2
Could you please explain me how to fixed it?
Regards Janith Widarshana.
On Thu, Sep 16, 2010 at 6:35 PM, Christian Helmuth < christian.helmuth@...1...> wrote:
Hello,
On Thu, Sep 16, 2010 at 11:28:03AM +0530, Janith Widarshana wrote:
I'm trying Okl4 since last two days with Ubuntu 10.04 on x86
architecturea
Great to hear that - I'm running Luci Lynx 32-bit too.
I don't know where to extract pre-compiled tool chain(genode-10.08.tar.bz2). http://genode.org/download/tool-chain said that it has to extract /usr/local/genode-gcc.But i can't fined it /usr/local/. Please someone suggest a solution for me to go further.
That confuses me a bit, as
http://sourceforge.net/projects/genode/files/genode/10.08/genode-10.08.tar.b...
is the Genode source code archive. It contains the folder 'genode-10.08'. You may place extract the archive where you want. The current binary tool chain archive is
http://sourceforge.net/projects/genode/files/genode-toolchain/9.08/genode-to...
To extract the archive please run the following
! sudo tar -xjPf genode-toolchain-9.08.tar.bz2
from the command line in a terminal emulator. Note, the 'P' option is significant to keep leading '/'.
Regards
Christian Helmuth Genode Labs
http://www.genode-labs.com/ · http://genode.org/
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Hi,
please apply the 'syscall_pic.patch' located under 'base-okl4/patches/' to the OKL4 kernel and have a look at the 'README' file for an explanation.
Greetings, Sebastian
On 09/16/2010 06:51 PM, Janith Widarshana wrote:
Thanx a lot Christian, I could get rid of that problem and now i've got following errors when run make file on build directory.
genode-okl4-x86/include/l4/arch/syscalls.h:277: error: PIC register ‘ebx’ clobbered in ‘asm’ make[2]: *** [ipc.o] Error 1 make[1]: *** [ipc.lib] Error 2 make: *** [gen_deps_and_build_targets] Error 2
Could you please explain me how to fixed it?
Regards Janith Widarshana.
On Thu, Sep 16, 2010 at 6:35 PM, Christian Helmuth <christian.helmuth@...1... mailto:christian.helmuth@...1...> wrote:
Hello, On Thu, Sep 16, 2010 at 11:28:03AM +0530, Janith Widarshana wrote: > I'm trying Okl4 since last two days with Ubuntu 10.04 on x86 architecturea Great to hear that - I'm running Luci Lynx 32-bit too. > I don't know where to extract pre-compiled tool > chain(genode-10.08.tar.bz2). http://genode.org/download/tool-chain > said that it has to extract /usr/local/genode-gcc.But i can't fined > it /usr/local/. Please someone suggest a solution for me to go > further. That confuses me a bit, as http://sourceforge.net/projects/genode/files/genode/10.08/genode-10.08.tar.bz2 is the Genode source code archive. It contains the folder 'genode-10.08'. You may place extract the archive where you want. The current binary tool chain archive is http://sourceforge.net/projects/genode/files/genode-toolchain/9.08/genode-toolchain-9.08.tar.bz2 To extract the archive please run the following ! sudo tar -xjPf genode-toolchain-9.08.tar.bz2 from the command line in a terminal emulator. Note, the 'P' option is significant to keep leading '/'. Regards -- Christian Helmuth Genode Labs http://www.genode-labs.com/ · http://genode.org/ Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net <mailto:Genode-main@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/genode-main
Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev
Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
HI, As you said I run syscall_pic.patch file using following command and got this messege.
patch < syscall_pic.patch
patching file syscalls.h Hunk #1 FAILED at 97. Hunk #2 FAILED at 129. Hunk #3 FAILED at 137. Hunk #4 FAILED at 175. Hunk #5 FAILED at 194. Hunk #6 FAILED at 230. Hunk #7 FAILED at 262. Hunk #8 FAILED at 296. Hunk #9 FAILED at 324. Hunk #10 FAILED at 350. Hunk #11 FAILED at 382. Hunk #12 FAILED at 410. Hunk #13 FAILED at 434. Hunk #14 FAILED at 459. Hunk #15 FAILED at 484. Hunk #16 FAILED at 508. Hunk #17 FAILED at 532. Hunk #18 FAILED at 556. Hunk #19 FAILED at 583. Hunk #20 FAILED at 611. 20 out of 20 hunks FAILED -- saving rejects to file syscalls.h.rej
Is that problem with my patching command?
Regards, Janith.
On Fri, Sep 17, 2010 at 8:22 PM, Sebastian Sumpf < Sebastian.Sumpf@...1...> wrote:
Hi,
please apply the 'syscall_pic.patch' located under 'base-okl4/patches/' to the OKL4 kernel and have a look at the 'README' file for an explanation.
Greetings, Sebastian
On 09/16/2010 06:51 PM, Janith Widarshana wrote:
Thanx a lot Christian, I could get rid of that problem and now i've got following errors when run make file on build directory.
genode-okl4-x86/include/l4/arch/syscalls.h:277: error: PIC register ‘ebx’ clobbered in ‘asm’ make[2]: *** [ipc.o] Error 1 make[1]: *** [ipc.lib] Error 2 make: *** [gen_deps_and_build_targets] Error 2
Could you please explain me how to fixed it?
Regards Janith Widarshana.
On Thu, Sep 16, 2010 at 6:35 PM, Christian Helmuth <christian.helmuth@...1... mailto:christian.helmuth@...1...> wrote:
Hello, On Thu, Sep 16, 2010 at 11:28:03AM +0530, Janith Widarshana wrote: > I'm trying Okl4 since last two days with Ubuntu 10.04 on x86 architecturea Great to hear that - I'm running Luci Lynx 32-bit too. > I don't know where to extract pre-compiled tool > chain(genode-10.08.tar.bz2).
http://genode.org/download/tool-chain
> said that it has to extract /usr/local/genode-gcc.But i can't fined > it /usr/local/. Please someone suggest a solution for me to go > further. That confuses me a bit, as
http://sourceforge.net/projects/genode/files/genode/10.08/genode-10.08.tar.b...
is the Genode source code archive. It contains the folder 'genode-10.08'. You may place extract the archive where you want. The current binary tool chain archive is
http://sourceforge.net/projects/genode/files/genode-toolchain/9.08/genode-to...
To extract the archive please run the following ! sudo tar -xjPf genode-toolchain-9.08.tar.bz2 from the command line in a terminal emulator. Note, the 'P' option is significant to keep leading '/'. Regards -- Christian Helmuth Genode Labs http://www.genode-labs.com/ · http://genode.org/ Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net <mailto:Genode-main@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/genode-main
Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev
Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Hi Janith,
On 09/20/2010 06:41 PM, Janith Widarshana wrote:
As you said I run syscall_pic.patch file using following command and got this messege.
patch < syscall_pic.patch
patching file syscalls.h Hunk #1 FAILED at 97.
...
Hunk #20 FAILED at 611. 20 out of 20 hunks FAILED -- saving rejects to file syscalls.h.rej
Is that problem with my patching command?
your problem is certainly a path issue. If you take a look at the first lines of the 'syscall_pic.patch file', you will see to which file the patch is referring:
diff -r e2bca488e43b arch/ia32/libs/l4/include/syscalls.h --- a/arch/ia32/libs/l4/include/syscalls.h Tue Aug 03 12:58:05 2010 +0200 +++ b/arch/ia32/libs/l4/include/syscalls.h Mon Aug 16 15:51:08 2010 +0200 @
The 'a/' and 'b/' directory prefixes do not actually exists but are an artifact put there by the tool the patch was created with. You have to tell the patch command to strip the leading directory using the '-p' argument. When being at the base directory of the OKL4 kernel, the correct command would be:
patch -p1 < syscall_pic.patch
Cheers Norman