Hi Mulyadi and Robert, --- On Mon, 13/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: Monday, 13 December, 2010, 10:38 PM > Hi Hemanth..... > > On Mon, Dec 13, 2010 at 17:05, Hemanth Kumar <hemwire@xxxxxxxxxxx> > wrote: > > Hi Mulaydi & Robert, > > > > Below is the info that is > requested, > > OK let's see.... > > > > > --- On Sun, 12/12/10, Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx> > wrote: > > > > GCC _____ > > > > arm-none-linux-gnueabi-gcc -v > > Using built-in specs. > > Target: arm-eabi > [.......] > > Thread model: single > > gcc version 4.3.1 (GCC) > > What I am not sure is: > is the binary type is ELF? even if it's ELF, I expect it > might > different layout than x86's in some places > > > > > > module m2.ko > > U printk > > 00000000 D rday_2 > > 00000004 D rday_3 > > hm so far so good......... > > > 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 > > hmmmm...... are you enabling mod version? try either > forcing loading > it....or disable module versioning entirely............... Thanks for your time and suggestions,I solved this problem, I added the two modules in kernel dir(driver/misc/),updated Makefile,Kconfig file & compiled, loaded the m2 and m3 to my surprise it worked,Other things I observed is even when I compile two diff driver's with two diff version of GCC(4.2 & 4.3) I was able to insmod and it was working fine(I thought kernel version (2.6.32.9) & gcc version(gcc-4.3.1) should be same,),I am really puzzled with android kernel????????,I realy dont know how it is working,Please correct if I am wrong Regards, > > -- > 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