The ultimate HOW-TO

Adam Lackorzynski adam at os.inf.tu-dresden.de
Wed Aug 8 00:01:08 CEST 2007


On Tue Aug 07, 2007 at 10:31:57 -0700, ComputerScienceStudent wrote:
> 
> I've followed you're suggestions and I've encountered a problem: when do
> "make" in l4linux-2.6 directory the process makes this output:
> 
> linux-acer-MAX:~/tudos/l4linux-2.6 # make
> scripts/kconfig/conf -s arch/l4/Kconfig
>   CHK     include/linux/version.h
>   CHK     include/linux/utsrelease.h
>   CC      arch/l4/kernel/asm-offsets.s
>   GEN     include/asm-l4/asm-offsets.h
>   CALL    scripts/checksyscalls.sh
>   CC      scripts/mod/empty.o
>   HOSTCC  scripts/mod/mk_elfconfig
>   MKELF   scripts/mod/elfconfig.h
>   HOSTCC  scripts/mod/file2alias.o
>   HOSTCC  scripts/mod/modpost.o
>   HOSTCC  scripts/mod/sumversion.o
>   HOSTLD  scripts/mod/modpost
>   HOSTCC  scripts/kallsyms
>   HOSTCC  scripts/conmakehash
>   CC      init/main.o
> init/main.c:83:2: warning: #warning gcc-4.1.0 is known to miscompile the
> kernel. A different compiler version is recommended.

I'd take this serious.

>   CHK     include/linux/compile.h
>   UPD     include/linux/compile.h
>   CC      init/version.o
>   CC      init/do_mounts.o
>   LD      init/mounts.o
>   CC      init/noinitramfs.o
>   CC      init/calibrate.o
>   LD      init/built-in.o
>   LD      usr/built-in.o
>   CC      arch/l4/kernel/main.o
> arch/l4/kernel/main.c:68:24: error: l4/rtc/rtc.h: No such file or directory
> arch/l4/kernel/main.c: In function ‘main’:
> arch/l4/kernel/main.c:1449: warning: implicit declaration of function
> ‘l4rtc_get_seconds_since_1970’
> make[1]: *** [arch/l4/kernel/main.o] Error 1
> make: *** [arch/l4/kernel] Error 2

Did you checkout the l4linux-2.6-env module to make sure you get
everything needed for L4Linux? Or something different?

You need to have l4/pkg/rtc which seems you do not have. Just check it
out and compile L4Env again.

> I've installed fiasco with success, and also the l4env.. then I've
> configured L4Linux with "make xconfig"..
> The tree is:
> /tudos
>   /dice
>   /env_build_dir (for the L4 environment)
>   /kernel
>   /l4
>   /l4linux-2.6
>   /my_build_dir (for Fiasco)
>   /my_kernel_build_dir (for Fiasco)
>   /tools


Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/




More information about the l4-hackers mailing list