[NTLUG:Discuss] Makefile can't find the kernel headers --> whereshould it find the kernel headers ???

Greg Edwards gedwards at netbsa.org
Fri Feb 22 07:50:52 CST 2008


> -----Original Message-----
> From: discuss-bounces at ntlug.org [mailto:discuss-bounces at ntlug.org] On
> Behalf Of Steve Martindell

> 
> Making module
> make -C /lib/modules/2.6.22.17-0.1-default/build
> SUBDIRS=/home/stevem/bin/vpnclient modules
> make[1]: Entering directory `/usr/src/linux-2.6.22.17-0.1-
> obj/x86_64/default'
> make[1]: *** No rule to make target `modules'.  Stop.
> make[1]: Leaving directory `/usr/src/linux-2.6.22.17-0.1-
> obj/x86_64/default'
> make: *** [default] Error 2
> Failed to make module "cisco_ipsec.ko".
> 

> 
> darkstar bin/vpnclient#   ll  /lib/modules/2.6.22.17-0.1-
> default/build/include
> ls: cannot access /lib/modules/2.6.22.17-0.1-default/build/include: No
> such file or directory
> 

> 
> -------->>>>>>>>> so where should it point to the kernel headers ???
> <<<<<<<<------------------
> 


Install the kernel-headers package from you distribution.

--
Greg Edwards




More information about the Discuss mailing list