[Clfs-support] Kernel for ARM error compilation
Satish Patel
satish at linuxbug.org
Mon Sep 15 07:12:33 PDT 2008
Regards,
Satish Patel
Quoting satish patel <satish at linuxbug.org>:
>
> Hi
>
> when I compiling kernel for ARM I got this error but if you see my
> kernel image is ready this mesg I got after creation of zImage
>
> Kernel: arch/arm/boot/zImage is ready
>
> Error :
>
> GEN .version
> CHK include/linux/compile.h
> UPD include/linux/compile.h
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> KSYM .tmp_kallsyms1.S
> AS .tmp_kallsyms1.o
> LD .tmp_vmlinux2
> KSYM .tmp_kallsyms2.S
> AS .tmp_kallsyms2.o
> LD .tmp_vmlinux3
> KSYM .tmp_kallsyms3.S
> AS .tmp_kallsyms3.o
> LD vmlinux
> SYSMAP System.map
> SYSMAP .tmp_System.map
> MODPOST vmlinux
> WARNING: arch/arm/mach-versatile/built-in.o(.data+0x54): Section mismatch:
> reference to .init.text:versatile_timer_init (between 'versatile_timer' and
> 'versatile_timer_irq')
> OBJCOPY arch/arm/boot/Image
> Kernel: arch/arm/boot/Image is ready
> AS arch/arm/boot/compressed/head.o
> GZIP arch/arm/boot/compressed/piggy.gz
> AS arch/arm/boot/compressed/piggy.o
> CC arch/arm/boot/compressed/misc.o
> In file included from arch/arm/boot/compressed/misc.c:30:
> include/asm/arch/uncompress.h:29: warning: conflicting types for built-in
> function 'putc'
> LD arch/arm/boot/compressed/vmlinux
> OBJCOPY arch/arm/boot/zImage
> Kernel: arch/arm/boot/zImage is ready
> Building modules, stage 2.
> MODPOST 134 modules
> ERROR: "__bad_udelay" [drivers/scsi/atp870u.ko] undefined!
> ERROR: "rtc_lock" [drivers/char/nvram.ko] undefined!
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2
> clfs:/mnt/clfs/sources/linux-2.6.22.6$
>
> What I do can I copy that image and put it on boot directory or recompile it
> again
>
> Regards,
>
> Satish Patel
>
> _______________________________________________
> Clfs-support mailing list
> Clfs-support at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
>
its resolve after removing /dev/nvram and scsi support in kernel.
More information about the Clfs-support
mailing list