[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#330081: Possible fix

As I said in #343521, I had problems with this exact linux-headers
version when compiling zaptel-source with module-assistant, and when
compiling cxacru (non-debian) with make ("make -C
/usr/src/linux-headers-2.6.12-1-686/  SUBDIR=`pwd` modules"). In both
cases, the version was set to "2.6.12" instead of "2.6.12-1-686",
generating wrong module information, and installing in the wrong
modules directory.

I saw that in pre-2.6.12 kernel-headers packages, in the file
include/linux/version.h would define UTS_RELEASE with the complete
version, including extraversion, as you can see:

#define UTS_RELEASE "2.6.10-1-386"
#define UTS_RELEASE "2.6.10-1"
#define UTS_RELEASE "2.6.11-1-386"
#define UTS_RELEASE "2.6.11-1"

In linux-image-2.6.12 this was not the case: the extraversion was not
present in UTS_RELEASE. I don't know if this was intentional, but
changing that value, solved all my module-compiling problems.

Regards, Martín.

Martín Ferrari

Reply to: