[asterisk-dev] make install in zaptel copies modules to wrong location with Ubuntu 5.10

Tzafrir Cohen tzafrir.cohen at xorcom.com
Fri May 19 14:08:02 MST 2006


On Fri, May 19, 2006 at 10:18:39AM -0700, Mike Fedyk wrote:
> Hi,
> 
> I did an install last week on Ubuntu 5.10 recently and when running make 
> install, instead of installing under /lib/modules/`uname -r` (which was 
> 2.6.12-9-686) it went in /lib/modules/2.6.12.
> 
> I traced the issue to the call to "make modules_install" from the zaptel 
> Makefile to the packaged Makefile for the kernel in ubuntu.  It didn't 
> have $(EXTRAVERSION) defined properly.
> 
> Now I'm no Makefile expert and I realize it is a bug in Ubuntu (and 
> possibly other distributions), but think there should be a work-around 
> in the zaptel Makefile.

Just to make sure how the makefile worked:

please edit the makefile and add (in the end) :

# remember that makefile is indented by tabs, and not spaces
check:
	@echo "KVERS=$(KVERS), KSRC=$(KSRC).
	ls -ld $(KSRC)
	dpkg -l kernel-\* linux-\* | grep ^.i

What do you get from 'make check' ?

-- 
Tzafrir Cohen      sip:tzafrir at local.xorcom.com
icq#16849755       iax:tzafrir at local.xorcom.com
+972-50-7952406           
tzafrir.cohen at xorcom.com  http://www.xorcom.com



More information about the asterisk-dev mailing list