hi,
I want to try l4re on my own laptop, here is the info from uname -a: Linux lars-x200s 2.6.35-ARCH #1 SMP PREEMPT Sat Oct 30 21:22:26 CEST 2010 x86_64 Intel(R) Core(TM)2 Duo CPU L9300 @ 1.60GHz GenuineIntel GNU/Linux
I first checked out src: svn cat http://svn.tudos.org/repos/oc/tudos/trunk/repomgr | perl - init http://svn.tudos.org/repos/oc/tudos fiasco l4re
then follow this page to build: http://os.inf.tu-dresden.de/L4Re/build.html
with default config, this error is reported before exit: ld: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1//crtbeginS.o' is incompatible with i386 output ld: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1//crtendS.o' is incompatible with i386 output make[5]: *** [libl4sys.so] Error 1
does it mean i need a 32bit system to build L4?
thanks lars
Hi,
On Sun Nov 21, 2010 at 06:42:53 +0800, Chengqi Song wrote:
I want to try l4re on my own laptop, here is the info from uname -a: Linux lars-x200s 2.6.35-ARCH #1 SMP PREEMPT Sat Oct 30 21:22:26 CEST 2010 x86_64 Intel(R) Core(TM)2 Duo CPU L9300 @ 1.60GHz GenuineIntel GNU/Linux
I first checked out src: svn cat http://svn.tudos.org/repos/oc/tudos/trunk/repomgr | perl - init http://svn.tudos.org/repos/oc/tudos fiasco l4re
then follow this page to build: http://os.inf.tu-dresden.de/L4Re/build.html
with default config, this error is reported before exit: ld: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1//crtbeginS.o' is incompatible with i386 output ld: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1//crtendS.o' is incompatible with i386 output make[5]: *** [libl4sys.so] Error 1
does it mean i need a 32bit system to build L4?
No, but the default-config builds for 32bit and thus requires that 32bit files and build tools are available. For Debian, the corresponding packages should be gcc-multilib, g++-multilib etc and maybe some other ia32-dev packages.
Adam
thanks Adam, it compiles now, and I can see the result of "hello" server :)
if want to try some new modules and user level applications, where should I start with, is there a hacking tutorial?
thanks lars
On Sun, Nov 21, 2010 at 7:43 PM, Adam Lackorzynski < adam@os.inf.tu-dresden.de> wrote:
Hi,
On Sun Nov 21, 2010 at 06:42:53 +0800, Chengqi Song wrote:
I want to try l4re on my own laptop, here is the info from uname -a: Linux lars-x200s 2.6.35-ARCH #1 SMP PREEMPT Sat Oct 30 21:22:26 CEST 2010 x86_64 Intel(R) Core(TM)2 Duo CPU L9300 @ 1.60GHz GenuineIntel GNU/Linux
I first checked out src: svn cat http://svn.tudos.org/repos/oc/tudos/trunk/repomgr | perl -
init
http://svn.tudos.org/repos/oc/tudos fiasco l4re
then follow this page to build: http://os.inf.tu-dresden.de/L4Re/build.html
with default config, this error is reported before exit: ld: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1//crtbeginS.o' is
incompatible
with i386 output ld: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1//crtendS.o' is incompatible with i386 output make[5]: *** [libl4sys.so] Error 1
does it mean i need a 32bit system to build L4?
No, but the default-config builds for 32bit and thus requires that 32bit files and build tools are available. For Debian, the corresponding packages should be gcc-multilib, g++-multilib etc and maybe some other ia32-dev packages.
Adam
Adam adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
On Sun Nov 21, 2010 at 21:17:51 +0800, Chengqi Song wrote:
if want to try some new modules and user level applications, where should I start with, is there a hacking tutorial?
Maybe you could start by looking at the examples at http://os.inf.tu-dresden.de/L4Re/doc/examples.html and http://os.inf.tu-dresden.de/L4Re/doc/l4re_getting_started.html
Adam
thanks Adam,
i found the hello server's source code and made some modification and it works, but for more complex case, for example, in the screenshot page: http://os.inf.tu-dresden.de/L4Re/screens.html
http://os.inf.tu-dresden.de/L4Re/screens.htmlthe "Ned in interactive mode and the python shell running in a terminal window each" is quite impressive, how to get L4re run like that?
I'm running L4RE now, not L4Linux.
thanks lars
On Mon, Nov 22, 2010 at 6:13 AM, Adam Lackorzynski < adam@os.inf.tu-dresden.de> wrote:
On Sun Nov 21, 2010 at 21:17:51 +0800, Chengqi Song wrote:
if want to try some new modules and user level applications, where should
I
start with, is there a hacking tutorial?
Maybe you could start by looking at the examples at http://os.inf.tu-dresden.de/L4Re/doc/examples.html and http://os.inf.tu-dresden.de/L4Re/doc/l4re_getting_started.html
Adam
Adam adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
On Mon Nov 22, 2010 at 18:44:45 +0800, Chengqi Song wrote:
i found the hello server's source code and made some modification and it works, but for more complex case, for example, in the screenshot page: http://os.inf.tu-dresden.de/L4Re/screens.html
http://os.inf.tu-dresden.de/L4Re/screens.htmlthe "Ned in interactive mode and the python shell running in a terminal window each" is quite impressive, how to get L4re run like that?
Well, by plugging together components, terminal, python, windowing system etc. We'll probably have to add this to the wiki...
Adam
l4-hackers@os.inf.tu-dresden.de