[nmglug] /usr/src/linux-2.6.13-generic/include/linux: No such file or directory

Nick Frost nickf at nickorama.com
Mon Jun 29 05:22:21 PDT 2009


On Jun 29, 2009, at 5:41 AM, a wrote:

> Compile "parapin" failure. Error
> Message /usr/src/linux-2.6.13-generic/include/linux: No such file or
> directory.
> In,/usr/src/linux/ there are only header files,Speculatively looks  
> like
> I need to add files, would kernel.org be the place, Do I add files
> selectively,no one said linux was easy , Antonio

While you can add the kernel sources manually, it's recommended to  
install the kernel headers from the relevant package for your  
distribution (Ubuntu, Redhat, etc.) e.g.;
sudo apt-get install linux-kernel-devel
if you are running a Debian-based system. Most Linux distributions  
have a GUI package management tool, with which one can add  
packages....so one can do that from the desktop while logged in.  If  
all else fails you can download the matching kernel source (for your  
running kernel) and make a symbolic link to point /usr/src/linux to  
the relevant headers, however, using a package is better because it's  
likely your distribution is using patched kernel sources and not the  
"vanilla" sources that you'll find on kernel.org
On Jun 26, 2009, at 2:28 PM, Nick Frost wrote:

> On Jun 26, 2009, at 1:24 PM, a wrote:
>>
>> Looking to install parapin as USER SPACE C LIBRARY MODE. Following  
>> are
>> segments of: INSTALL,MAKE,MAKEFILE-2.6 AND MAKE RESULTS IN  
>> TERMINAL,of
>> what I have tried.Can anyone set me on the right track?
>
> Looks like you are missing kernel headers?  Either that or parapin  
> is looking in the wrong place for your kernel headers and you might  
> need to either fix the build script or put a symbolic link.  Did you  
> install all necessary development packages?  If you are using Ubuntu  
> it would be something like;
>
> sudo apt-get install build-essential
>
> -Nick






>
>
> _______________________________________________
> nmglug mailing list
> nmglug at nmglug.org
> https://nmglug.org/mailman/listinfo/nmglug

----------------------------------------
Nicholas S. Frost
7 Avenida Vista Grande #325
Santa Fe, NM  87508
nickf at nickorama.com
----------------------------------------




More information about the nmglug mailing list