I'm running the command to install the header files, but I'm coming up with 
errors.

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

Reading package lists... Done
Building dependency tree
Reading stat information... Done
E: Unable to locate package linux-headers-3.8.13-bone72
E: Couldn't find any package by regex 'linux-headers-3.8.13-bone72'

I ran the kernel upgrade before this too. Any ideas?

On Wednesday, June 17, 2015 at 3:40:09 PM UTC-4, Bill Traynor wrote:
>
> On Wed, Jun 17, 2015 at 3:35 PM, Brendan Merna <[email protected] 
> <javascript:>> wrote: 
> > Thanks Bill! What about the header files below? I'm getting errors on 
> some 
> > of the global variables and I think its because I don't have these 
> header 
> > files. 
> > 
> > #include <linux/types.h> 
> > 
> > #include <linux/spi/spidev.h> 
> > 
>
>
> http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Installing_kernel_headers
>  
>
> > 
> > On Wednesday, June 17, 2015 at 3:26:39 PM UTC-4, Bill Traynor wrote: 
> >> 
> >> On Wed, Jun 17, 2015 at 2:45 PM, Brendan Merna <[email protected]> 
> wrote: 
> >> > I have shored out my data pins on P9 and I keep seeing tutorials and 
> >> > code 
> >> > running SpiDev test program? I've tried to run and it says no files 
> >> > exists. 
> >> > Where are people getting this file? 
> >> 
> >> spidev_test.c is available from kernel.org 
> >> 
> >> https://www.kernel.org/doc/Documentation/spi/spidev_test.c 
> >> 
> >> There's also a version for the BBB that can be found in Derek Molloy's 
> >> repository for his book: 
> >> 
> >> git clone https://github.com/derekmolloy/exploringBB.git 
> >> then look for ../exploringBB/chp08/spi/spidev_test.c 
> >> 
> >> 
> >> > 
> >> > -- 
> >> > For more options, visit http://beagleboard.org/discuss 
> >> > --- 
> >> > You received this message because you are subscribed to the Google 
> >> > Groups 
> >> > "BeagleBoard" group. 
> >> > To unsubscribe from this group and stop receiving emails from it, 
> send 
> >> > an 
> >> > email to [email protected]. 
> >> > For more options, visit https://groups.google.com/d/optout. 
> > 
> > -- 
> > For more options, visit http://beagleboard.org/discuss 
> > --- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "BeagleBoard" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to