Re: Make problems with CVS snapshot

From: Jouni Malinen (
Date: 2002-08-16 13:42:40 UTC

On Thu, Aug 15, 2002 at 07:42:14PM -0500, Aron Silverton wrote:

> I grabbed a snapshot yesterday and recieve the following output when
> compiling:
> gcc -I/usr/src/linux-2.4/include -O2 -D__KERNEL__ -DMODULE -Wall -c
> -DMODVERSIONS -include /usr/src/linux-2.4/include/linux/modversions.h
> -fomit-frame-pointer -E -D__GENKSYMS__ driver/modules/hostap.c | \
> /sbin/genksyms -k 2.4.18-3 > driver/modules/hostap.ver
> unrecognised kernel version : 2.4.18-3

> 1. Is this important?

Yes; though only on systems that use kernel versions with EXTRAVERSION data.

> 2. How can I fix this?

Remove extraversion, i.e., "-3" in this case, from the kernel version when passing it to genksyms. I changed the Makefile to strip this so the current CVS snapshot should have fixed this.

> 3. What does it mean?j

genksyms needs some information about the kernel version, but it apparently does not like extraversions. It seems that the version does not really need to be exact, but something must be given to select suitable checksum version.

Jouni Malinen                                            PGP id EFC895FA

This archive was generated by hypermail 2.1.4.