Re: really newbie: compiling a module

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

 



Dear Robert,

you wrote:

>  thanks, i appreciate the recommendation.  from a quick glance, it
> looks like the original poster hasn't installed the kernel-headers
> package on his system.
>
>  an easy way to tell is to check the current kernel version with:
>
> $ uname -r
>
> then make sure that, under the directory /lib/modules/<version>,
> there is a symbolic link called "build" which takes you to the actual
> kernel headers directory.  if that symlink isn't there, i don't think
> you've installed the kernel headers, and that would definitely explain
> your problems.

I asked a collague to install the headers and the source on the machine:

/usr/src$ ls
linux-headers-2.6.24-19  linux-source-2.6.24

but the "build" link does not exist in

/lib/modules/2.6.24-19-server

Should I create that to point to

/usr/src/linux-headers-2.6.24-19

?

Thanks

- Gergely

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux