[uClinux-dev]linux-2.6.11.8-hsc0.patch.gz Cannot build successful for MMU-less ARM

Greg Ungerer gerg at snapgear.com
Fri Aug 5 03:03:29 EDT 2005


Hi Christopher,

Christopher wrote:
> I download the linux-2.6.11.8-hsc0.patch.gz from
> http://opensrc.sec.samsung.com/ .
> 
> Using some steps to build linux-2.6.11.8
> 
> tar -zxvf linux-2.6.11.8.tar.gz
> gzip -dc linux-2.6.11.8-hsc0.patch.gz | patch -p0
> cd linux-2.6.11.8
> cp arch/arm/configs/s3c24a0_nommu_defconfig .config
> make ARCH=arm CROSS_COMPILE=arm-elf-
> 
> It have error like below . Do I miss some things ?
> Thanks
> ---------------------------------------------------------------------------------
>  CHK     include/linux/version.h
>  CC      arch/arm/kernel/asm-offsets.s
> In file included from arch/arm/kernel/asm-offsets.c:13:
> include/linux/sched.h: In function `arch_pick_mmap_layout':
> include/linux/sched.h:1174: error: `TASK_UNMAPPED_BASE' undeclared
> (first use in this function)
> include/linux/sched.h:1174: error: (Each undeclared identifier is
> reported only once
> include/linux/sched.h:1174: error: for each function it appears in.)
> make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
> make: *** [arch/arm/kernel/asm-offsets.s] Error 2
> ---------------------------------------------------------------------------------

I think this was reported recently (Lucy I think you found this
on the lpc22xx port, is that right?).

Fix looks to be adding a definition of it in 
~/include/asm-arm/arch-s3c24a0/memory.h, like:

   #define TASK_UNMAPPED_BASE      (0x0)

Regards
Greg



------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     gerg at snapgear.com
SnapGear -- a CyberGuard Company            PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com



More information about the uClinux-dev mailing list