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

make-kpkg fail: can't find modversions.h (compiling pcmcia-modules)



Hi,

I am trying to use make-kpkg to make a pcmcia-modules package for a
laptop.  It quits giving the following error:

/usr/src/linux/include/linux/module.h:19: linux/modversions.h: No such file or 
directory

and sure enough, I can't find a file called "modversions.h" anywhere
on the system!!

I am using kernel-source-2.2.15, but I looked at 2.2.10 and 2.2.14 and
these didn't seem to have it either!

What is going on?

I searched the debian-user archives and found one reference to someone
who had similar problems, but he later wrote back saying:

> oops it does appear that I have this file after all:
> 
> /usr/src/kernel-source-2.2.14/include/linux/modversions.h
> /usr/src/kernel-source-2.2.14/include/config/modversions.h
> /usr/i486-linuxlibc1/include/linux/modversions.h

And yet, I have checked these locations and they don't exist.  I don't
even have a "/usr/src/kernel-source-2.2.14/include/config/" directory
on my system.

So any help would be greatly appreciated.  Surely someone else has
come across this, as it would be necessary for compiling the
pcmcia-modules package with more recent kernels.

Also, could any replies to this please be cc'ed to me, as I am
currently not subscribed to debian-user.

Thanks,

Mark.




_/~~~~~~~~\___/~~~~~~\____________________________________________________
____/~~\_____/~~\__/~~\__________________________Mark_Phillips____________
____/~~\_____/~~\________________________________mark@ist.flinders.edu.au_
____/~~\HE___/~~\__/~~\APTAIN_____________________________________________
____/~~\______/~~~~~~\____________________________________________________
__________________________________________________________________________
        "They told me I was gullible ... and I believed them!" 




Reply to: