[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Unresolved Symbol in Module
I included -I/usr/src/linux/include and compiled,it's still
the same. However, i am eager to know this versioning problems,
could you point me some docs.
Thanks
Venkat
-----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
-
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
-
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