Linux beaglebone 3.8.13-bone47 armv7l GNU/Linux
ifneq ($(KERNELRELEASE),)
# kbuild part of makefile
obj-m := module.o
#module-objs := module.o
else
# normal makefile
KDIR ?= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
default:
$(MAKE) -C $(KDIR) M=$(PWD) modules
endifroot@beaglebone:~/lddgeek# make make -C /lib/modules/3.8.13-bone47/build M=/root/lddgeek modules make: *** /lib/modules/3.8.13-bone47/build: No such file or directory. Stop. make: *** [default] Error 2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-3.8.13-bone47
E: Couldn't find any package by regex 'linux-headers-3.8.13-bone47'
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/E9bS5pzCamo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sorry, bone47 is way 'before' the repo was enabled. Start with the latest image.
> 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 beagleboard...@googlegroups.com.
#wget --no-check-certificate https://raw.github.com/gkaindl/beaglebone-ubuntu-scripts/master/bb-get-rcn-kernel-source.sh
#chmod +x bb-get-rcn-kernel-source.sh
#./bb-get-rcn-kernel-source.sh
make -C /lib/modules/3.8.13-bone47/build M=/root/lddgeek modules
make[1]: Entering directory `/usr/src/linux-3.8.13-bone47'
make[1]: Warning: File `/usr/src/linux-3.8.13-bone47/arch/arm/Makefile' has modification time 1.2e+03 s in the future
make[2]: Warning: File `scripts/Makefile.lib' has modification time 1.2e+03 s in the future
CC [M] /root/lddgeek/module.o
/root/lddgeek/module.c: In function 'module_start':
/root/lddgeek/module.c:7:1: warning: control reaches end of non-void function [-Wreturn-type]
LD [M] /root/lddgeek/Module.o
make[2]: warning: Clock skew detected. Your build may be incomplete.
Building modules, stage 2.
make[2]: Warning: File `scripts/Makefile.lib' has modification time 1.2e+03 s in the future
MODPOST 1 modules
CC /root/lddgeek/Module.mod.o
LD [M] /root/lddgeek/Module.ko
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[1]: warning: Clock skew detected. Your build may be incomplete.
make[1]: Leaving directory `/usr/src/linux-3.8.13-bone47'
No, the first time it succedded but dont know why the second time it started sayingmake -C /lib/modules/3.8.13-bone47/build M=/root/lddgeek modules
make[1]: Entering directory `/usr/src/linux-3.8.13-bone47'
make[1]: Warning: File `/usr/src/linux-3.8.13-bone47/arch/arm/Makefile' has modification time 1.2e+03 s in the future
make[2]: Warning: File `scripts/Makefile.lib' has modification time 1.2e+03 s in the future
CC [M] /root/lddgeek/module.o
/root/lddgeek/module.c: In function 'module_start':
/root/lddgeek/module.c:7:1: warning: control reaches end of non-void function [-Wreturn-type]
LD [M] /root/lddgeek/Module.o
make[2]: warning: Clock skew detected. Your build may be incomplete.
Building modules, stage 2.
make[2]: Warning: File `scripts/Makefile.lib' has modification time 1.2e+03 s in the future
MODPOST 1 modules
CC /root/lddgeek/Module.mod.o
LD [M] /root/lddgeek/Module.ko
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[1]: warning: Clock skew detected. Your build may be incomplete.
make[1]: Leaving directory `/usr/src/linux-3.8.13-bone47'
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/E9bS5pzCamo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.