Re: [ARM] : Section mismatch : reference to......

From: Randy Dunlap
Date: Tue Oct 23 2007 - 14:01:27 EST


On Tue, 23 Oct 2007 19:52:07 -0700 Kristoffer Ericson wrote:

> Best way to handle this?
>
>
> 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 vmlinux.o
> MODPOST vmlinux.o
> WARNING: vmlinux.o(.text+0x9afc): Section mismatch: reference to .init.text:sa1110_mb_enable (between 'sa1111_probe' and 'sa1111_remove')
> WARNING: vmlinux.o(.text+0x13b1ac): Section mismatch: reference to .init.text:pcmcia_jornada720_init (between 'pcmcia_probe' and 'pcmcia_remove')
> LD vmlinux
> SYSMAP System.map
> SYSMAP .tmp_System.map
> 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
> AS arch/arm/boot/compressed/head-sa1100.o
> LD arch/arm/boot/compressed/vmlinux
> OBJCOPY arch/arm/boot/zImage
> Kernel: arch/arm/boot/zImage is ready
> -

Missing kernel version and .config file.

In drivers/pcmcia/sa1100_jornada.c, change

int __init pcmcia_jornada720_init(struct device *dev)

to

int __devinit pcmcia_jornada720_init(struct device *dev)

may help. Please test that.

I can't find sa1110_mb_enable().

---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/