Help! Unable to build L4Env-0.2

Wang, Chip Chip.Wang at
Mon Jul 11 23:13:14 CEST 2005

Hi fellow hackers,

I am a newbie here. I am trying to build my first L4Linux-2.6 setup, but failed at building L4Env.

I downloaded and unpacked the following S/W from the L4Env download page:
- l4env-0.2 tarball
- dde-0.2 tarball
- libstdc++.0.2
- oskit-06302003
- oskit10-06302003

I also checked out L4Linux-2.6-env from CVS. I then followed the instructions and did 'make config' and 'make' from inside the 'l4' directory. The compilation eventually failed at building l4/pkg/loader. The linker complained that the library -lcon was missing.

My Linux is 2.6.11 from Mandrake with KDE. My platform is an Acer TravelMate c300 notebook.
I searched the mailing list archive but didn't see similar report of the problem I figure I must be missing some other pieces or having the wrong versions.

By the way, I also got errors when building 'multiboot-smp'. I followed the suggestion to skip the example by creating a null executable. Should I do the same for this example?

Could someone please show me what I did wrong? 

Thanks in advance for your help


The last portion of the build log is attached below.

=== Building servers, examples of "loader" ===
PWD=/home/drops/l4/pkg/loader make -C loader all -o lib -o include -o idl
make[2]: Entering directory `/home/drops/l4/pkg/loader'
test -f server/broken -o -f server/obsolete ||		\
    if [ -f server/Makefile ] ; then PWD=/home/drops/l4/pkg/loader/server make -C server  ; fi
make[3]: Entering directory `/home/drops/l4/pkg/loader/server'
test -f src/broken -o -f src/obsolete ||		\
    if [ -f src/Makefile ] ; then PWD=/home/drops/l4/pkg/loader/server/src make -C src  ; fi
make[4]: Entering directory `/home/drops/l4/pkg/loader/server/src'
PWD=/home/drops/l4/pkg/loader/server/src/OBJ-x86_586-l4v2 make -C OBJ-x86_586-l4v2 -f Makefile
make[5]: Entering directory `/home/drops/l4/pkg/loader/server/src/OBJ-x86_586-l4v2'
  ==> Linking loader
LD_PRELOAD=/home/drops/l4/tool/gendep/ GENDEP_TARGET=loader GENDEP_BINARY=ld  gcc -o loader ../../../../../lib/x86_586/crt0.o trampoline.s.o main.o cfg-parse.o cfg.o pager.o app.o fprov-if.o dm-if.o exec-if.o idl.o events.o lib.o loader-server.o -Ttext=0x01300000  -L../../../../../lib/x86_586/l4v2 -L/home/drops/lib/x86_586/l4v2 -L../../../../../lib/x86_586 -L/home/drops/lib/x86_586 -L../../../../../lib -L/home/drops/lib -L../../../../../../oskit10/lib -L/home/drops/lib/oskit10 -T../../../../../lib/x86_586/main_stat.ld -ll4exec -lgeneric_ts -lgeneric_fprov -lloaderif -lcon -ldm_phys -levents -lparsecmdline  -static -loskit10_support_l4env.o -lgeneric_ts -ll4env -ll4rm -ldm_generic -ldm_mem -lthread -lsemaphore -llogserver -lnames -ll4util -lrmgr -ll4env -ll4env_err -ll4rm -ldm_generic -ldm_mem -lthread -lslab -ll4sys -nostdlib -Wl,--nostdlib -ll4env -ll4rm -ldm_generic -ldm_mem -lthread -loskit_c -loskit_kern -loskit_clientos -loskit_lmm -loskit_kern -loskit_c /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/libgcc.a -loskit_c -Ttext=0x01300000 -Wl,-gc-sections 
/usr/bin/ld: cannot find -lcon
collect2: ld returned 1 exit status
make[5]: *** [loader] Error 1
make[5]: Leaving directory `/home/drops/l4/pkg/loader/server/src/OBJ-x86_586-l4v2'
make[4]: *** [OBJ-x86_586-l4v2] Error 2
make[4]: Leaving directory `/home/drops/l4/pkg/loader/server/src'
make[3]: *** [src] Error 2
make[3]: Leaving directory `/home/drops/l4/pkg/loader/server'
make[2]: *** [server] Error 2
make[2]: Leaving directory `/home/drops/l4/pkg/loader'
make[1]: *** [loader.bin] Error 2
make[1]: Leaving directory `/home/drops/l4/pkg'
make: *** [pkg] Error 2

The information contained in this e-mail message is PRIVATE. It may contain confidential information and may be legally privileged. It is intended for the exclusive use of the addressee(s). If you are not the intended recipient, you are hereby notified that any dissemination, distribution or reproduction of this communication is strictly prohibited. If the intended recipient(s) cannot be reached or if a transmission problem has occurred, please notify the sender immediately by return e-mail and destroy all copies of this message. 
Thank you. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the l4-hackers mailing list