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

Mike Fedyk mfedyk at mikefedyk.com
Fri May 19 17:28:43 MST 2006


Tzafrir Cohen wrote:
> On Fri, May 19, 2006 at 04:56:31PM -0500, Kevin P. Fleming wrote:
>   
>> Mike Fedyk wrote:
>>
>>     
>>> I can modify the Makefile if you like and send the output, but it should
>>> only confirm what I have said above.  I'll reply with line numbers and
>>> svn revision numbers later today.
>>>       
>> There is no need. Essentially this boils down to /lib/modules/`uname
>> -r`/build/Makefile not containing enough information to create its own
>> path, which is needed for installing modules for that kernel.
>>     
>
> grep EXTRAVERSION /usr/src/kernel-headers-2.6.8-2-686/Makefile
> EXTRAVERSION =
> ifeq ($(EXTRAVERSION),)
> EXTRAVERSION := $(shell [ ! -f .extraversion ] || cat .extraversion)
> KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
> export  VERSION PATCHLEVEL SUBLEVEL EXTRAVERSION KERNELRELEASE ARCH \
>
> EXTRAVERSION does not have to come from the Makefile.
grep -i extraversion /lib/modules/2.6.12-9-686/build/Makefile
EXTRAVERSION =
KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)$(LOCALVERSION)
export  VERSION PATCHLEVEL SUBLEVEL EXTRAVERSION LOCALVERSION 
KERNELRELEASE \

It looks like Ubuntu doesn't package their kernels it like Debian does.



More information about the asterisk-dev mailing list