Re: Grrrr... compiling modules.
Bill Bumgarner wrote:
> OK-- I just hand-compiled the eepro100.c module under kernel version
> 2.0.18. Installed just fine-- rebooted the system and it claims the module
> was compiled under 2.0.23!
>
> But how can that be??? I haven't installed the 2.0.23 sources [I did think
> about it, though :-) ].
>
> /usr/src/ only contains a kernel-source directory for 2.0.18!
>
> Anyone else experience this kind of weirdness?
You probably have to add -I/usr/src/linux to the CFLAGS. It seems that
the module used the include files from /usr/include/linux.
Thanks,
Peter
--
Peter Tobias EMail:
Fachhochschule Ostfriesland tobias@et-inf.fho-emden.de
Fachbereich Elektrotechnik und Informatik tobias@debian.org
Constantiaplatz 4, 26723 Emden, Germany tobias@linux.de
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com
Reply to: