Error Compiling the linux kernel with uClibc toolchain

Ayoub ayoub at ezono.com
Tue Jun 20 08:59:40 UTC 2006


Peter S. Mazinger wrote:

>On Tue, 20 Jun 2006, Ayoub wrote:
>
>  
>
>>Hi Peter,
>>
>>Thanks for your suggestion , I replaced the link include/asm to point on 
>>include/asm-arm and when compiling now I'm getting the following error :
>>    
>>
>
>  
>
Hi Peter,

I still getting almost the same error , here what I did :

$ tar xvfj linux-2.6.15.tar.bz2
$  cd linux-2.6.15/
$ make ARCH=arm CROSS_COMPILE=arm-linux-uclibc- distclean
$ make ARCH=arm CROSS_COMPILE=arm-linux-uclibc- allnoconfig
$ make ARCH=arm CROSS_COMPILE=arm-linux-uclibc-
  CHK     include/linux/version.h
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
  SPLIT   include/linux/autoconf.h -> include/config/*
  SYMLINK include/asm-arm/arch -> include/asm-arm/arch-rpc
  Generating include/asm-arm/mach-types.h
  CC      arch/arm/kernel/asm-offsets.s
In file included from include/asm/bitops.h:23,
                 from include/linux/bitops.h:77,
                 from include/linux/thread_info.h:20,
                 from include/linux/preempt.h:10,
                 from include/linux/spinlock.h:50,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/system.h:136:5: warning: "__LINUX_ARM_ARCH__" is not defined
include/asm/system.h:142:5: warning: "__LINUX_ARM_ARCH__" is not defined
include/asm/system.h:177:5: warning: "__LINUX_ARM_ARCH__" is not defined
include/asm/system.h:341:5: warning: "__LINUX_ARM_ARCH__" is not defined
include/asm/system.h:346:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/bitops.h:77,
                 from include/linux/thread_info.h:20,
                 from include/linux/preempt.h:10,
                 from include/linux/spinlock.h:50,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/bitops.h:293:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/spinlock.h:232,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/atomic.h:25:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/prefetch.h:14,
                 from include/linux/list.h:7,
                 from include/linux/wait.h:23,
                 from include/asm/semaphore.h:9,
                 from include/linux/sched.h:20,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/processor.h:95:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/asm/semaphore.h:13,
                 from include/linux/sched.h:20,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/locks.h:15:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/asm/page.h:27,
                 from include/linux/sched.h:21,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/glue.h:111:2: #error Unknown data abort handler type
In file included from include/linux/sched.h:21,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/page.h:92:2: #error Unknown user operations model
In file included from include/linux/sched.h:23,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/mmu.h:5:5: warning: "__LINUX_ARM_ARCH__" is not defined
include/asm/mmu.h:10:5: warning: "__LINUX_ARM_ARCH__" is not defined
arch/arm/kernel/asm-offsets.c:87:5: warning: "__LINUX_ARM_ARCH__" is not 
defined
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2


Thanks,

--Ayoub                  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ayoub.vcf
Type: text/x-vcard
Size: 288 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20060620/75d07a0d/attachment.vcf 


More information about the uClibc mailing list