Geert Uytterhoeven a Ãcrit :

>On Fri, 25 Mar 2005, F.Laget wrote:
>  
>
>>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?
>>>      
>>>
>
>  
>
>>>Anyway, I guess you're using a fairly recent gcc, which may have
>>>problems with other kernel source files, too.
>>>      
>>>
>
>  
>
>>Yes i use gcc-3.3.3 and glibc-2.3.2 , i apply this patch but it doesn't
>>worked for me.
>>    
>>
>
>What didn't work?
>
>Gr{oetje,eeting}s,
>
It makes the same error. I have made a cross compiler gcc-2.95.3 and the
compilation works now, but i have segmentation fault when i load a
module. I have unresolved symbols with printk and others symbols. What
is the best version of gcc and glibc i have to use for cross compiling a
2.4 kernel ?


-
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