[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: insmod problem
On Tue, Jul 17, 2001 at 02:32:14PM +0100, jhorton wrote :
> Hi,
> I have created a module but when I use insmod on it I get
> module.o: couldn't find the kernel version the module was compiled for
>
> what is going on? - I have the latest modutils!
> tia
>
> --
> #!/usr/bin/perl
> my@d=(60,58,65,68,70,65,64,18,63,72,59,69,70,51,0,53,65,63);my $s=scalar @d;
> for($i=0;$i<$s;$i++){my $c=@d[$i];$c+=sqrt(2116);$c=chr($c);print"$c";}
>
>
>
> -
"#define __NO_VERSION__" must be in all but one of the sources that
also include module.h. It suppresses the module_version string in
module.h so it only make sense if the code includes module.h. But
exactly one of the objects in a module must have a module_version
string.
--
Stéphane LIST -- <stephane.list@fr.alcove.com>
Alcove, liberating sofware -- <http://www.alcove.com/>
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.kernelnewbies.org/