Problem resolved.
If the Unbuntu linux-headers-2.6.8.1-3/Makefile
is edited to:
EXTRAVERSION =
and the original
linux-headers-2.6.8.1-3-686/.extraversion
-3-686
edited to
.1-3--686
Then after compilation of the drivers and
# make install
the drivers are properly installed to:
lib
`-- modules
`-- 2.6.8.1-3-386
`-- extra
|-- lt_modem.ko
`-- lt_serial.ko
Thus the Debian Bug 285359 against kernel-build can be dropped,
Note that in in the Ubuntu packages linux-headers-2.6.8.1 and linux-headers-2.6.8.1-3-686
there is assignment:
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
so please transfer the Bug Report to those packages
The problem resides purely in the inappropriate split of EXTRAVERSION into EXTRAVERSION = .1 in linux-headers-2.6.8.1-3/Makefile and -3-686 in linux-headers-2.6.8.1-3-686/.extraversion
Credit to,
Alexei Chentsov <[EMAIL PROTECTED]>
-------- Original Message --------
Subject: Re: the extraversion problem
Date: Tue, 14 Dec 2004 10:26:33 +0200
From: Alexei Chentsov <[EMAIL PROTECTED]>
To: Marvin Stodolsky <[EMAIL PROTECTED]>
CC: Mark Spieth <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
I couldn't find kernel-headers-2.6.8.1-3*. It seems to be included in Ubuntu which doesn't provide packages on the net.
I will talk about unstable debian packages kernel-headers-2.6.8-1*. I get familiarized with them. They look Ok. Extra version is taken from '.extraversion' file provided by kernel-headers-2.6.8-1-X package. But this happens only if EXTRAVERSION in major Makefile is empty: --- ifeq ($(EXTRAVERSION),) EXTRAVERSION := $(shell [ ! -f .extraversion ] || cat .extraversion) endif ---
I assume those problems were due to either Ubuntu making a mess or manual editing of Makefile when EXTRAVERSION was set to .1.
Marvin if you won't mind send the Makefile in question.
Regards.