login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
24
Re: [ARM] : Section mismatch : reference to......
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Kristoffer Ericson
Subject:
Re: [ARM] : Section mismatch : reference to......
Date: Tuesday, October 23, 2007 - 8:33 pm
On Tue, 23 Oct 2007 11:30:01 -0700 Randy Dunlap <rdunlap@xenotime.net> wrote:
quoted text
> On Tue, 23 Oct 2007 20:20:20 -0700 Kristoffer Ericson wrote: > > > On Tue, 23 Oct 2007 11:15:06 -0700 > > Randy Dunlap <rdunlap@xenotime.net> wrote: > > > > > On Tue, 23 Oct 2007 20:09:06 -0700 Kristoffer Ericson wrote: > > > > > > > On Tue, 23 Oct 2007 11:01:13 -0700 > > > > Randy Dunlap <rdunlap@xenotime.net> wrote: > > > > > > > > > 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. > > > > Ah, true. Im using latest git (linux-2.6.git) with proper config. This error has been there for quite some time, just decided it was time to fix it. Im not fully familiar with the section errors, so thought it better to ask. > > > > > > > > > > > > > > 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. > > > > Seems to work fine, big thanks. > > > > > > > > > > I can't find sa1110_mb_enable(). > > > > Found it inside /arch/arm/mach-sa1100/generic.c, proper way to set it as __devinit? > > > > > > Probably, at least it's worth trying. > > Seems to have worked fine. Could anyone explain why?.. Or I can google it I guess. > > Anyhow big thanx Randy > > You have CONFIG_HOTPLUG=y in your .config file? > > If yes, see what that does to include/linux/init.h: > > #ifdef CONFIG_HOTPLUG > #define __devinit > #define __devinitdata > #define __devexit > #define __devexitdata > #else > #define __devinit __init > #define __devinitdata __initdata > #define __devexit __exit > #define __devexitdata __exitdata > #endif > > > so those __devinit functions are not discarded when CONFIG_HOTPLUG=y, > but they are discarded when CONFIG_HOTPLUG=n.
I got CONFIG_HOTPLUG = y, so should be alright then.
quoted text
> > > --- > ~Randy
-
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
Re: [ARM] : Section mismatch : reference to......
, Randy Dunlap
, (Tue Oct 23, 11:01 am)
Re: [ARM] : Section mismatch : reference to......
, Randy Dunlap
, (Tue Oct 23, 11:15 am)
Re: [ARM] : Section mismatch : reference to......
, Randy Dunlap
, (Tue Oct 23, 11:30 am)
[ARM] : Section mismatch : reference to......
, Kristoffer Ericson
, (Tue Oct 23, 7:52 pm)
Re: [ARM] : Section mismatch : reference to......
, Kristoffer Ericson
, (Tue Oct 23, 8:09 pm)
Re: [ARM] : Section mismatch : reference to......
, Kristoffer Ericson
, (Tue Oct 23, 8:20 pm)
Re: [ARM] : Section mismatch : reference to......
, Kristoffer Ericson
, (Tue Oct 23, 8:33 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ingo Molnar
Re: [PATCH 0/3] v2 Make hierarchical RCU less IPI-happy and add more tracing
Jeremy Fitzhardinge
Re: Linux 2.6.28.10 and Linux 2.6.29.6 XEN Guest Support Broken x86_64 in BUILD
Nick Piggin
Re: [patch] CFS (Completely Fair Scheduler), v2
Gary Hade
Re: [PATCH 0/5][RFC] Physical PCI slot objects
Dave Johnson
Re: expected behavior of PF_PACKET on NETIF_F_HW_VLAN_RX device?
linux-netdev
:
Arnd Bergmann
Re: 64-bit net_device_stats
Stephens, Allan
RE: [PATCH]: tipc: Fix oops on send prior to entering networked mode
frank.blaschka
[patch 3/5] [PATCH] qeth: support z/VM VSWITCH Port Isolation
Wu Fengguang
Re: [PATCH] dm9601: handle corrupt mac address
David Miller
Re: [PATCH net-2.6.24] Fix refcounting problem with netif_rx_reschedule()
git
:
Junio C Hamano
Re: [PATCH] [RFC] add Message-ID field to log on git-am operation
Junio C Hamano
Re: Handling large files with GIT
Karl
Re: [ANNOUNCE] pg - A patch porcelain for GIT
Josh Triplett
Re: [RFC][PATCH 00/10] Sparse: Git's "make check" target
Pierre Habouzit
Re: [PATCH] git-daemon: more powerful base-path/user-path settings, using formats.
git-commits-head
:
Linux Kernel Mailing List
MIPS: RBTX4939: Fix IOC pin-enable register updating
Linux Kernel Mailing List
regulator: update email address for Liam Girdwood
Linux Kernel Mailing List
[SCSI] ipr: add message to error table
Linux Kernel Mailing List
powerpc/32: Wire up the trampoline code for kdump
Linux Kernel Mailing List
USB: omap_udc: sync with OMAP tree
openbsd-misc
:
Josh Grosse
Re: error : pkg add phpMyAdmin
Brian Candler
Re: OBSD's perspective on SELinux
Jacob Meuser
Re: /dev/audio: Device busy
David Vasek
Re: Inexpensive, low power, "wall wart" computer
William Boshuck
Re: Richard Stallman...
Colocation donated by:
Syndicate