Processed: Re: Bug#641151: sl-modem-source: Fails to compile on Linux 3.0 kernels
Processing commands for cont...@bugs.debian.org: reassign 641151 linux-2.6 Bug #641151 [sl-modem-source] sl-modem-source: Fails to compile on Linux 3.0 kernels Bug reassigned from package 'sl-modem-source' to 'linux-2.6'. Bug No longer marked as found in versions sl-modem/2.9.11~20110321-3. quit Stopping processing here. Please contact me if you need assistance. -- 641151: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641151 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/handler.s.c.13158287559549.transcr...@bugs.debian.org
Bug#641151: Processed: Re: Bug#641151: sl-modem-source: Fails to compile on Linux 3.0 kernels
The correct way to invoke kbuild is: make -C /lib/modules/$(uname -r)/build M=$(PWD) Ben. -- Ben Hutchings Never attribute to conspiracy what can adequately be explained by stupidity. signature.asc Description: This is a digitally signed message part
Bug#641151: Processed: Re: Bug#641151: sl-modem-source: Fails to compile on Linux 3.0 kernels
On Mon, 2011-09-12 at 13:07 +0100, Ben Hutchings wrote: The correct way to invoke kbuild is: make -C /lib/modules/$(uname -r)/build M=$(PWD) Without looking at the source, I suspect that the makefile tries to distinguish between 2.6.x (where the above works) and 2.4.x (where it doesn't). And 3.0 is wrongly being treated as the latter. You should remove the version test and make it always use kbuild, since 2.4.x is obsolete. Ben. -- Ben Hutchings Never attribute to conspiracy what can adequately be explained by stupidity. signature.asc Description: This is a digitally signed message part