Re: EXPORT_SYMBOL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mulaydi & Robert,

                Below is the info that is requested,


--- On Sun, 12/12/10, Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx> wrote:

> From: Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx>
> Subject: Re: EXPORT_SYMBOL
> To: "Hemanth Kumar" <hemwire@xxxxxxxxxxx>
> Cc: "Robert P. J. Day" <rpjday@xxxxxxxxxxxxxx>, kernelnewbies@xxxxxxxxxxxx
> Date: Sunday, 12 December, 2010, 4:51 PM
> Dear Hemanth...
> 
> On Sun, Dec 12, 2010 at 18:06, Hemanth Kumar <hemwire@xxxxxxxxxxx>
> wrote:
> >          I tried the same idea on this mail,it
> is not working it is still giving the same error,
> >          But I tried in CSB667 & CSB337 it
> work's fine not on omap-3630 board,
> >          I am still facing the problem
> unresolved symbol,
> >
> >          Did I miss any thing in kernel config??
> 
> Please don't do top posting and kindly send plain text
> message next time...
> 
> regarding your problem, I am truly lack of idea. The
> problem could
> lies somewhere in the compiler toolchain or the kernel
> itself. The
> most suspicious aspect that...as you have said by yourself,
> that it
> happens only in OMAP 3630.
> 
> Thus, maybe you'll get better luck asking in OMAP or
> embedded related
> forum or mailing list. I truly have no further ideas to
> help you.
> 
> NB: what does "nm" and "objdump" says about symbols listed
> in your
> kernel module (.ko) file?
> 

GCC _____

 arm-none-linux-gnueabi-gcc -v
Using built-in specs.
Target: arm-eabi
Configured with: ../../toolchain/android-toolchain/gcc-4.3.1/configure --prefix=/disk2/dougkwan/android-3/arm-eabi-4.3.1 --target=arm-eabi --host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --enable-languages=c,c++ --with-gmp=/disk2/dougkwan/android-3/obj/temp-install --with-mpfr=/disk2/dougkwan/android-3/obj/temp-install --disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable-libgomp --disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --with-abi=aapcs --prefix=/disk2/dougkwan/android-3/arm-eabi-4.3.1 --with-sysroot=/disk2/dougkwan/android-3/arm-eabi-4.3.1/sysroot --with-gcc-version=4.3.1 --with-binutils-version=2.19 --program-transform-name='s,^,arm-eabi-,'
Thread model: single
gcc version 4.3.1 (GCC)


module m2.ko
         U printk
00000000 D rday_2
00000004 D rday_3

 modinfo m2.ko
filename:       m2.ko
description:    Let's try some exporting.
license:        GPL
author:         Robert P. J. Day
srcversion:     6B17AA2580C422B99331066
depends:
vermagic:       2.6.32.9-g1d0f941-dirty preempt mod_unload modversions ARMv7



insmod m2.ko
cat /proc/kallsyms | grep rday_3
bf011094 D rday_3

insmod m3.ko
m3: no symbol version for rday_3
m3: Unknown symbol rday_3 


.config file:
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
CONFIG_KALLSYMS_EXTRA_PASS=y

          If need more info on this please let me know, 

Regards,
Hemanth




> PS: as long as you make sure the kernel config is about the
> same on
> those boards, excluding specific arch config, then I think
> you might
> also need to hunt something out of kernel space.
> 
> --
> regards,
> 
> Mulyadi Santosa
> Freelance Linux trainer and consultant
> 
> blog: the-hydra.blogspot.com
> training: mulyaditraining.blogspot.com
> 
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> Please read the FAQ at http://kernelnewbies.org/FAQ
> 
> 



--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux