2007/7/15, Adam Lackorzynski <adam@os.inf.tu-dresden.de>:

On Sun Jul 15, 2007 at 18:20:35 +0800, kashin Lin wrote:
> when i issue make to build l4linux in directory l4linux-2.6/,
> i got some error message:

Is this a clean tree?

sorry, what does "clean tree" mean? 
i just make menuconfig in l4linux-2.6/ and then make it.

by the way, i want to ask :
the "L4 tree build directory" option in l4linux menuconfig should be
pointed to "the output directory of l4env" or  "the output directory of fiasco" or both?

> kashin08@kashin08-desktop:~/L4Linux/L4_x86/l4linux-2.6$ make
>  CHK     include/linux/version.h
>  CHK     include/linux/utsrelease.h
>  CC      arch/l4/kernel/asm-offsets.s
> In file included from include/linux/irqflags.h:46,
>                 from include/asm-l4/l4-arch/asm/system.h:507,
>                 from include/asm-l4/l4-arch/asm/processor.h:18,
>                 from include/asm-l4/i386-arch/asm/atomic.h:5,
>                 from include/linux/crypto.h:20,
>                 from arch/l4/kernel/asm-offsets.c:8:
> include/asm-l4/l4-arch/asm/irqflags.h: in function
> ¡uraw_irqs_disabled_flags¡v¡G
> include/asm-l4/l4-arch/asm/irqflags.h:168: Error¡G ¡uL4_IRQ_DISABLED¡v
> not
> declare
>
> In file included from include/asm-l4/l4-arch/asm/suspend.h:7,
>                 from include/linux/suspend.h:5,
>                 from arch/l4/kernel/asm-offsets.c:12:
> include/asm-l4/i386-arch/asm/i387.h: in function ¡usave_init_fpu¡v¡G
> include/asm-l4/i386-arch/asm/i387.h:101: Error¡G ¡ul4lx_fpu_enabled¡v not
> declare
> make[1]: *** [arch/l4/kernel/asm-offsets.s ] Error 1
> make: *** [prepare0] Error 2
>
> my gcc and g++ and make version are:
> gcc 4.1.2 g++ 4.1.2 make 3.81

This is ok.

Is there a file include/asm/generic/irq.h in your tree? That's where
L4_IRQ_DISABLED should be defined.

yes there is.
i have tried  to test the code ( include/asm-l4/l4-arch/asm/irqflags.h ),
and find the first #ifndef __ASSAMBLY__  is NOT fulfill, so it doesn't include the file
file include/asm/generic/irq.h, but the second #ifndef __ASSAMBLY__  is fulfill...

it's so strange.
 
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