Hi, sorry for this "out of thread" reply, but I posted the first message without being subscribed, so I could not take Orlandi's answer and reply. Now I've subscribed, but is too late for reply to his message (I've no local copy). Anyway, here the thread, and my answer:

On Monday 12 December 2005 21:08, Marco Menardi wrote:
Hi, I've debian sid with kernel 2.6.14-2-686.
visdn make install puts the modules under the:
/lib/modules/2.6.14
structure instead of
/lib/modules/2.6.14-2-686

The configure script either uses "/lib/modules/`uname -r`/build" or "/usr/src/linux" if the former is missing.

Are you sure you didn't manually specify a modules directory?
Is the kernel configured with that prefix? (look at the first lines in kernel's Makefile)

Bye, Daniele Orlandi

I did not manually specify a module directory, I use vanilla debian sid kernels, never recompiled or configured or whatever.
I've had a look at first lines of Makefile, and are:
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 14
EXTRAVERSION =
NAME=Affluent Albatross

Seems that "extraversion" is only used for compiled kernels packages, not for sources.
In fact, I have:
ermes:/usr/src/linux# apt-cache search ^linux-image-2.6.14
linux-image-2.6.14-2-386 - Linux kernel 2.6.14 image on 386-class machines
linux-image-2.6.14-2-686 - Linux kernel 2.6.14 image on PPro/Celeron/PII/PIII/P4 machines linux-image-2.6.14-2-686-smp - Linux kernel 2.6.14 image on PPro/Celeron/PII/PIII/P4 SMP machines
linux-image-2.6.14-2-k7 - Linux kernel 2.6.14 image on AMD K7 machines
linux-image-2.6.14-2-k7-smp - Linux kernel 2.6.14 image on AMD K7 SMP machines

while if I issue:
ermes:/usr/src/linux# apt-cache search ^linux-source
linux-source-2.6.14 - Linux kernel source for version 2.6.14 with Debian patches

but
ermes:/usr/src/linux# uname -r
2.6.14-2-686

and my /usr/src is:
drwxr-sr-x 26 root src      4368 Dec 14 01:00 asterisk-1.2
drwxr-xr-x  3 root root       72 Sep 14  2004 kernel-kbuild-2.6-3
drwxr-sr-x  3 root src      1184 Dec  8 02:12 libpri-1.2
-rw-r--r--  1 root src     75374 Aug 27 23:37 libpri-1.2.0-beta1.tar.gz
lrwxrwxrwx  1 root src        19 Nov  4 23:49 linux -> linux-source-2.6.14
lrwxrwxrwx 1 root src 19 Nov 4 23:49 linux-2.6 -> linux-source-2.6.14
drwxr-xr-x 17 root root      528 Dec 13 14:41 linux-headers-2.6.14-2
drwxr-xr-x  5 root root      520 Dec 13 14:41 linux-headers-2.6.14-2-686
drwxr-xr-x 18 root root      696 Dec 13 14:28 linux-source-2.6.14
-rw-r--r--  1 root root 38281458 Dec  9 01:32 linux-source-2.6.14.tar.bz2
drwxrwxrwx 14  159  159      952 Dec 15 12:33 visdn-0.0.0
-rw-r--r--  1 root src    427928 Dec 15 08:00 visdn-devel-20051215.tar.bz2
drwxr-sr-x  6 root src      7144 Dec 14 01:01 zaptel-1.2


Any clue?
Maybe you have to accomodate the install scripts to some debian different way of doing things (and asterisk has to do so also), or I'm doing something wrong, I've no idea, I'm unfortunatly not a big expert.
thanks
Marco Menardi
_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers

Reply via email to