[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Grrrr... compiling modules.



You instaled libc5 recently didn't you?  The libc package overwrites your
kernel include files with whatever version libc was compiled with...  I
have been bitten and annoyed by this several times also!  When I install
a new kernel, or after I change my version of libc, I always do the
following:

cd /usr/include
rm -rf asm linux scsi
ln -s /usr/src/linux/include/asm-i386 asm
ln -s /usr/src/linux/include/linux linux
ln -s /usr/src/linux/include/scsi scsi
cd /usr/src
tar -xzf linux-2.0.23.tar.gz

This is the WrongThing(tm) to do with Debian, but FOR ME (this is a
personal preference) I consider it to be less wrong than using include
files from an old kernel version when using a newer one (or in your
case, include files from a newer kernel with a older kernel).
 -Erik

-- 
Erik B. Andersen         Web:    http://www.et.byu.edu/~andersee/ 
2485 South State St.     email:  andersee@et.byu.edu
Springville, Ut 84663    phone:  (801) 489-1231
--This message was written using 73% post-consumer electrons--



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?
> 
> b.bum
> 
> --
> 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
> 

--
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: