What is the location of my Linux headers?

Ryan Escarez ryan.escarez at gmail.com
Thu Oct 27 15:40:06 UTC 2005


On 10/27/05, Ryan Escarez <ryan.escarez at gmail.com> wrote:
> On 10/27/05, Dave M G <martin at autotelic.com> wrote:
> > Ubuntu Users,
> >        When running the command "sudo dpkg-reconfigure wacom-kernel-source",
> > I'm presented with the following question:
> >
> > You have choosen to compile the wacom modules, so you must specify the
> > location of the Linux kernel headers for them to use.
> > When Linux headers are provided by a kernel-headers-* package, they
> > reside in /usr/src/kernel-headers-*.
> > What is the location of your Linux headers?
> >
> >        I thought these "headers" weould be in /usr/src/linux-source-2.6.12,
> > but it says it can't find them there.
> >
> >        Where are they?
> >
> >        And if anyone is wondering, I'm doing this because I'm trying,
> > desperately, to get my Wacom tablet working. It's stuck in "absolute"
> > mode, which sucks completely.
> >


...my hand much faster than my mind. a better correction will do.


 you can ask apt-get if you have linux header installed

$ sudo apt-get install linux-headers-$(uname -r)

optionally, you might have to symlink the linux header

$ sudo ln -s /usr/src/linux-headers-$(uname -r) /usr/src/linux


hth!

--
Ryan Escarez
CEBB F1E4 1E39 EC48 F05D  6B72 9C11 DD88 5E39 E471
$ gpg --keyserver pgp.mit.edu --recv-keys 0x5E39E471
main(k){float i,j,r,x,y=-16;while(puts(""),y++<15)
for(x=0;x++<84;putchar(" .:-;!/>)|&IH%*#"[k&15]))
for(i=k=r=0;j=r*r-i*i-2+x/25,i=2*r*i+y/10,j*j+i*i<11&&k++<111;r=j);}




More information about the ubuntu-users mailing list