Did you install the kernel-dev package?
On Saturday, March 8, 2014, siva kumar wrote:
> hai,
> thank u!!
> but my folder structure from my board looks like
>
> *root@beaglebone:/usr/src# ls*
> *backfire linux-3.8.13*
> *root@beaglebone:/usr/src# cd linux-3.8.13/*
> *root@beaglebone:/usr/src/
hai,
thank u!!
but my folder structure from my board looks like
*root@beaglebone:/usr/src# ls*
*backfire linux-3.8.13*
*root@beaglebone:/usr/src# cd linux-3.8.13/*
*root@beaglebone:/usr/src/linux-3.8.13# ls*
*include*
*root@beaglebone:/usr/src/linux-3.8.13/include# ls*
*asm asm-generic drm
Missed first line on that copy paste. Should be
KERNELDIR := /usr/src/kernel
On Sat, Mar 8, 2014 at 1:21 AM, Brandon I wrote:
> Just a regular kernel type makefile. For examlpe, here's mine for a file
> phyaccess.c
>
> BEAGLEBONE_PROJ=/systems/Projects/beaglebone/workspace/Beaglebone
> MDIO_R
Just a regular kernel type makefile. For examlpe, here's mine for a file
phyaccess.c
BEAGLEBONE_PROJ=/systems/Projects/beaglebone/workspace/Beaglebone
MDIO_ROOT=$(BEAGLEBONE_PROJ)/local/MDIODriver
#
http://stackoverflow.com/questions/10176238/how-do-i-add-an-include-path-for-kernel-module-makefil
thanks for your reply
yes , u r right i compiled the module against
arm-angstrom-linux-gnueabi-gcc but my angstrom os comes with Linaro gcc
root@beaglebone:~# opkg list_installed | grep gcc
*gcc - linaro-4.7-r9.2*
gcc-symlinks - linaro-4.7-r9.2
libgcc-s-dev - linaro-4.7-r9.0
libgcc1 - linaro-4
thanks for your reply brandon I
its hard for me to update kernel-source for my bbb. when i execute the
command it always says
root@beaglebone:~# opkg install kernel-headers
Package kernel-headers (3.8.13-r23a.22) installed in root is up to date.
when i look inside the /lib/modules/3.8.13/build/
dmesg will give you more details.
This usually means you compiled the kernel modules against a different
build of the kernel. So, the kernel source you used didn't match what was
on the beaglebone.
You can install the kernel-headers and kernel-dev packages and build
directly on the beaglebone.