Geert Uytterhoeven a �crit :

>On Tue, 22 Mar 2005, F.Laget wrote:
>  
>
>>I have some errors at the end of compilation of the m68k linux kernel:
>>
>>m68k-linux-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/donan/mvme/linux/include
>>-traditional -c head.S -o head.o
>>In file included from head.S:265:
>>/home/donan/mvme/linux/include/linux/init.h:134: detected recursion whilst
>>expanding macro "__inline__"
>>/home/donan/mvme/linux/include/linux/init.h:138: detected recursion whilst
>>expanding macro "__inline__"
>>head.S:3266: warning: extra tokens at end of #endif directive
>>make[1]: *** [head.o] Erreur 1
>>make[1]: Leaving directory `/home/donan/mvme/linux/arch/m68k/kernel'
>>make: *** [_dir_arch/m68k/kernel] Erreur 2
>>
>>I build the m68k cross compiler with crosstool http://kegel.com/crosstool/ .
>>I use the debian default kernel configuration
>>http://debian.savoirfairelinux.net/debian/pool/main/k/kernel-image-2.4.27-m68k/kernel-image-2.4.27-mvme16x_2.4.27-3_m68k.deb
>>without SCSI and RAID support.
>>    
>>
>
>Does this patch help?
>
>--- linux-m68k-2.4.x/arch/m68k/kernel/head.S.orig      2004-04-30 
>16:35:25.000000000 +0200
>+++ linux-m68k-2.4.x/arch/m68k/kernel/head.S   2005-03-24 23:20:20.462308498 
>+0100
>@@ -3263,7 +3263,7 @@ func_start       serial_putc,%d0/%d1/%a0/%a1
>       moveml  [EMAIL PROTECTED],%d0-%d7/%a2-%a6
>       jbra    L(serial_putc_done)
> 2:
>-#endif CONFIG_MVME16x
>+#endif /* CONFIG_MVME16x */
> 
> #ifdef CONFIG_BVME6000
>       is_not_bvme6000(2f)
>
>Anyway, I guess you're using a fairly recent gcc, which may have
>problems with other kernel source files, too.
>
>Gr{oetje,eeting}s,
>
>                                               Geert
>
>--
>Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED]
>
>In personal conversations with technical people, I call myself a hacker. But
>when I'm talking to journalists I just say "programmer" or something like that.
>                                                           -- Linus Torvalds
>
>
>  
>
Yes i use gcc-3.3.3 and glibc-2.3.2 , i apply this patch but it doesn't
worked for me.
Where i could find an older cross compiler for exemple gcc-2.95 ?
It worked with 2.6.11cvs but i need a 2.4.x because i have to write a
driver for my MVME 162 using the VME Bus and the VMELinux project stop
to 2.4.x kernels.
I really think it's a problem of the compiler,
i try with these packages :
http://zigzag.lvk.cs.msu.su/~nikita/debian/sid/
<http://zigzag.lvk.cs.msu.su/%7Enikita/debian/sid/> , there's a lot of
warning (the 2.6 headers i think)it compile well but don't execute well.

-
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to