Re: Missing makefile

2013-07-31 Thread Wouter Verhelst
On 31-07-13 22:09, Jerry Stuckle wrote: > Ben, > > I should also add - I doubt there are many people trying to create new > kernel modules for Debian which aren't being merged into the upstream > kernel, There are plenty of out-of-tree modules; that isn't very special. This should Just Work(TM),

Re: Missing makefile

2013-07-31 Thread Jerry Stuckle
On 7/31/2013 3:46 PM, Ben Hutchings wrote: On Wed, 2013-07-31 at 15:05 -0400, Jerry Stuckle wrote: On 7/31/2013 2:39 PM, Adam D. Barratt wrote: On Wed, 2013-07-31 at 10:53 -0400, Jerry Stuckle wrote: And compiling kernel modules is off-topic for debian-user. It should, however, be on-topic he

Re: Missing makefile

2013-07-31 Thread Jerry Stuckle
On 7/31/2013 3:46 PM, Ben Hutchings wrote: On Wed, 2013-07-31 at 15:05 -0400, Jerry Stuckle wrote: On 7/31/2013 2:39 PM, Adam D. Barratt wrote: On Wed, 2013-07-31 at 10:53 -0400, Jerry Stuckle wrote: And compiling kernel modules is off-topic for debian-user. It should, however, be on-topic he

Re: Missing makefile

2013-07-31 Thread Ben Hutchings
On Wed, 2013-07-31 at 15:05 -0400, Jerry Stuckle wrote: > On 7/31/2013 2:39 PM, Adam D. Barratt wrote: > > On Wed, 2013-07-31 at 10:53 -0400, Jerry Stuckle wrote: > >> And compiling kernel modules is off-topic for debian-user. It should, > >> however, be on-topic here. > > > > Not really, although

Re: Missing makefile

2013-07-31 Thread Jerry Stuckle
On 7/31/2013 2:39 PM, Adam D. Barratt wrote: On Wed, 2013-07-31 at 10:53 -0400, Jerry Stuckle wrote: And compiling kernel modules is off-topic for debian-user. It should, however, be on-topic here. Not really, although I realise the longer description on https://lists.debian.org/debian-devel/

Re: Missing makefile

2013-07-31 Thread Adam D. Barratt
On Wed, 2013-07-31 at 10:53 -0400, Jerry Stuckle wrote: > And compiling kernel modules is off-topic for debian-user. It should, > however, be on-topic here. Not really, although I realise the longer description on https://lists.debian.org/debian-devel/ could lead you to that conclusion. As the s

Re: Missing makefile

2013-07-31 Thread Jerry Stuckle
On 7/31/2013 11:09 AM, Chris Bannister wrote: On Wed, Jul 31, 2013 at 10:53:33AM -0400, Jerry Stuckle wrote: And compiling kernel modules is off-topic for debian-user. It should, however, be on-topic here. Correct, but you are more likely to be directed to debian-mentors. Try there. Chri

Re: Missing makefile

2013-07-31 Thread Chris Bannister
On Wed, Jul 31, 2013 at 10:53:33AM -0400, Jerry Stuckle wrote: > > And compiling kernel modules is off-topic for debian-user. It > should, however, be on-topic here. Correct, but you are more likely to be directed to debian-mentors. Try there. -- "If you're not careful, the newspapers will ha

Re: Missing makefile

2013-07-31 Thread Jerry Stuckle
that (it must have been later than I thought last night :) ). However, that didn't change the problem. I still get the missing Makefile message. Your Makefile works for me with the typo fixed and a trivial mymodule.c: #include MODULE_LICENSE("GPL"); Please direct further question

Re: Missing makefile

2013-07-31 Thread Ben Hutchings
/modules/$(KVERSION)/build M-$(PWD) modules > > [...] > > > > You typed 'M-' instead of 'M='. > > > > Ben. > > > > Ben, > > Thanks for catching that (it must have been later than I thought last > night :) ). > > Howe

Re: Missing makefile

2013-07-31 Thread Jerry Stuckle
mymodule.o KVERSION = $(shell uname -r) all: make -C /lib/modules/$(KVERSION)/build M-$(PWD) modules [...] You typed 'M-' instead of 'M='. Ben. Ben, Thanks for catching that (it must have been later than I thought last night :) ). However, that didn't change th

Re: Missing makefile

2013-07-31 Thread Jerry Stuckle
On 7/31/2013 2:11 AM, Paul Wise wrote: On Wed, Jul 31, 2013 at 5:05 AM, Jerry Stuckle wrote: 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) Looks like you are talki

Re: Missing makefile

2013-07-31 Thread Ben Hutchings
On Tue, 2013-07-30 at 23:05 -0400, Jerry Stuckle wrote: > Hi, all, > > I hope this is the right list. > > 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) >

Re: Missing makefile

2013-07-30 Thread Paul Wise
On Wed, Jul 31, 2013 at 5:05 AM, Jerry Stuckle wrote: > 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) Looks like you are talking about a Linux kernel module.

Missing makefile

2013-07-30 Thread Jerry Stuckle
Hi, all, I hope this is the right list. 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: