Try adding -fno-pic to the gcc flags for the kernel build.

On Jul 14, 2:16 pm, "Sven Killig" <s...@killig.de> wrote:
> > -----Original Message-----
> > From: android-kernel@googlegroups.com [mailto:android-
> > ker...@googlegroups.com] On Behalf Of Alessio Bianchi
> > Sent: Wednesday, January 26, 2011 3:48 PM
> > To: android-kernel@googlegroups.com
> > Subject: Re: [android-kernel] NDK Toolchain and "Unknown symbol 
> > _GLOBAL_OFFSET_TABLE_" in kernel module
>
> > On 26/gen/2011, at 12.39, Steven Coutts wrote:
>
> > > On Tuesday 25 Jan 2011 21:50:32 Alessio Bianchi wrote:
> > >> Hi, I used the NDK toolchain (arm-linux-androideabi-*) to build a custom
> > >> kernel for the Nexus One. The kernel compiled and works perfectly on the
> > >> device, but when I try to insert the bcm4329 kernel module for the
> > >> wireless interface, I get the following error in dmesg:
>
> > >>    bcm4329: Unknown symbol _GLOBAL_OFFSET_TABLE_
>
> > > I get the same thing, 'arm-eabi-4.4.0/bin/arm-eabi-' seems to work fine 
> > > though.
>
> > Confirmed. Additionally, I'm getting this issue with external modules too.
>
> I also have this problem with
> CROSS_COMPILE=/android-ndk-r6/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-
> And 4.4.0 was removed because it was deprecated.
> Has anyone found a solution?

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to