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

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun May 21 21:41:21 MST 2006


On Sun, May 21, 2006 at 04:57:11PM -0700, Mike Fedyk wrote:
> Tzafrir Cohen wrote:
> >On Fri, May 19, 2006 at 05:28:43PM -0700, Mike Fedyk wrote:
> >  
> >>Tzafrir Cohen wrote:
> >>    
> >>It looks like Ubuntu doesn't package their kernels it like Debian does.
> >>    
> >
> >It does. Either upstream has changed it in 2.6.12 or Debian have changed
> >it in 2.6.12 (which still was the last kernel-image package that Debian
> >Etch used before the transition to linux-image)
> >
> >$ grep EXTRAVERSION /usr/src/kernel-headers-2.6.12-1-686/Makefile 
> >EXTRAVERSION =
> >KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)$(LOCALVERSION)
> >export  VERSION PATCHLEVEL SUBLEVEL EXTRAVERSION LOCALVERSION
> >KERNELRELEASE \
> >
> >Now, would you please provide me the information I asked for (that 'make
> >check'). Private mail or IRC will do, as I have some follow-up
> >questions.
> KVERS=2.6.12-9-686, KSRC=/lib/modules/2.6.12-9-686/build.
> ls -ld /lib/modules/2.6.12-9-686/build
> lrwxrwxrwx  1 root root 35 2006-05-15 19:10 
> /lib/modules/2.6.12-9-686/build -> /usr/src/linux-headers-2.6.12-9-686
> dpkg -l kernel-\* linux-\* | grep ^.i
> ii  linux-386                             2.6.12.16.1        Complete 
> Linux kernel on 386.
> ii  linux-headers-2.6.12-10               2.6.12-10.32       Header 
> files related to Linux kernel version
> ii  linux-headers-2.6.12-10-686           2.6.12-10.32       Linux 
> kernel headers 2.6.12 on PPro/Celeron/
> ii  linux-headers-2.6.12-9                2.6.12-9.23        Header 
> files related to Linux kernel version
> ii  linux-headers-2.6.12-9-686            2.6.12-9.23        Linux 
> kernel headers 2.6.12 on PPro/Celeron/
> ii  linux-image-2.6.12-10-686             2.6.12-10.32       Linux 
> kernel image for version 2.6.12 on PPr
> ii  linux-image-2.6.12-9-386              2.6.12-9.23        Linux 
> kernel image for version 2.6.12 on 386
> ii  linux-image-2.6.12-9-686              2.6.12-9.23        Linux 
> kernel image for version 2.6.12 on PPr
> ii  linux-image-386                       2.6.12.16          Linux 
> kernel image on 386.
> ii  linux-image-686                       2.6.12.16.1        Linux 
> kernel image on PPro/Celeron/PII/PIII/
> ii  linux-kernel-headers                  2.6.11.2-0ubuntu13 Linux 
> Kernel Headers for development
> ii  linux-restricted-modules-2.6.12-9-386 2.6.12.4-11        Non-free 
> Linux 2.6.12 modules on 386
> ii  linux-restricted-modules-386          2.6.12.16          Restricted 
> Linux modules on 386.
> ii  linux-restricted-modules-common       2.6.12.4-11.1      Non-free 
> Linux 2.6.12 modules helper script
> ii  linux-sound-base                      1.0.9b-4           base 
> package for ALSA and OSS sound systems

So you have the following kernels installed:

headers:
2.6.12-10-686
2.6.12-9-686

images:
2.6.12-10-686
2.6.12-9-686
2.6.12-9-386

Which kernel do you actually want to build for?

Also, as a point of reference:

http://pkg-voip.buildserver.net/debian/pool/main/z/zaptel-modules/
http://pkg-voip.buildserver.net/ubuntu/pool/main/z/zaptel-modules/

(those are built using linux-headers , rather than kernel-headers that I
use as a Sarge user)

-- 
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