Hi, all,
I was sent here by the debian-devel list people. Hopefully someone here
can help me.
I'm trying to compile my first module for Debian (right now it doesn't
do anything - one step at a time ).
My makefile is:
obj-m = mymodule.o
KVERSION = $(shell uname -r)
all:
make -C /lib/modules/$(KVERSION)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(KVERSION)/build M=$(PWD) clean
When I try to run make, I get the following:
make -C /lib/modules/3.2.0-4-amd64/build M-/home/jerry modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-4-amd64'
/usr/src/linux-headers-3.2.0-4-common/scripts/Makefile.build:44:
/usr/src/linux-headers-3.2.0-4-common/scripts/basic/Makefile: No such
file or directory
make[5]: *** No rule to make target
`/usr/src/linux-headers-3.2.0-4-common/scripts/basic/Makefile'. Stop.
<snip rest>
That is true -
/usr/src/linux-headers-3.2.0-4-common/scripts/basic/Makefile does not exist.
I've googled for the problem and seen several others with similar
problems (including a bug on the Debian list), but nothing stands out. I
seem to have all of the packages needed, have run m-a update and m-a
prepare, all with no change.
Has anyone seen this? Any idea what I'm doing wrong?
TIA
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51f969ec.3070...@attglobal.net