[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unresolved Symbol in Module
fwiw, i have *precisely* the same problem.
and just like you, i can make the problem disappear by turning off the
CONFIG_MODVERSIONS flag. figured that out a couple of days ago, and i've
been trying to come up with a solution before posting to this list. :)
pete
On Thu 08 Mar 01, 5:13 PM, Narayana, Venkat A. said:
> Thanks for suggesting that the trouble could be with versions.
> It's true! Even though i didn't understood the 'why/what/where'
> about versions, i could solve my problem by turning of CONFIG_MODVERSIONS
> flag.
>
> Thanks again.
> Venkat Narayana
>
> -----Original Message-----
> From: Joseph A. Knapka [mailto:jknapka@earthlink.net]
> Sent: Thursday, March 08, 2001 4:30 PM
> To: 'kernelnewbies@nl.linux.org'
> Subject: Re: Unresolved Symbol in Module
>
>
> Timur Tabi wrote:
> >
> > ** Reply to message from "Narayana, Venkat A."
> <NarayVA@nsc-msg01.network.com>
> > on Thu, 8 Mar 2001 15:22:19 -0600
> >
> > > Hi,
> > > I am learning to write kernel modules, and while experimenting
> > > with a simple module, i got
> > > " hello.o: unresolved symbol printk_Rsmp_1b7d4074" error
> > > while loading this module via insmod hello.o command.
> >
> > You're probably not including the header file for printk.
>
> If that were the case his code would probably not compile
> successfully.
>
> This looks like a module versioning problem. Be sure you are
> inserting the module into the same kernel whose header
> files the module was compiled against.
>
> -- Joe
>
> > --
> > Timur Tabi - ttabi@interactivesi.com
> > Interactive Silicon - http://www.interactivesi.com
> >
> > When replying to a mailing-list message, please direct the reply to the
> mailing list only. Don't send another copy to me.
> >
> > -
> > Kernelnewbies: Help each other learn about the Linux kernel.
> > Archive: http://mail.nl.linux.org/
> > IRC Channel: irc.openprojects.net / #kernelnewbies
> > Web Page: http://www.surriel.com/kernelnewbies.shtml
>
> -- Joe Knapka
--
"...and here is fortress ovum being stormed by p@dirac.org
millions of tiny warriors..." www.dirac.org/p
-- Robert "Schweitzer" Picardo
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.surriel.com/kernelnewbies.shtml