Re: 2.4 pre-patch ?


Subject: Re: 2.4 pre-patch ?
From: Martin Costabel (costabel@wanadoo.fr)
Date: Thu Aug 24 2000 - 01:36:18 MDT


Samuel Rydh wrote:

> Here it is. I was actually about to post it yesterday, but I got
> sidetracked. Anyway, the recent time-keeping changes in 2.4
> breaks MOL (probably due to a bug in the mol kernel module).
> MacOS still boots, but X typically gets confused due to bad
> time stamps.

With which kernel headers is one supposed to compile MOL for 2.4?
Usually one had to point /usr/src/linux to the sources of the kernel on
which MOL was going to run, because the modules wanted the right kernel
version.

Now, if I try to compile MOL (versions 0.9.48 through 51) with headers
from 2.4.0-test kernels, it does not compile due to conflicts in those
horrible string.h headers:

gcc -pipe -O2 -Wall -fomit-frame-pointer -mmultiple
-I/mnt/root2/BUILD/mol-0.9.51/sinclude -I./include -I../include
-I../../include -c -o obj/scsi-unit.o scsi-unit.c
In file included from /usr/include/linux/fs.h:23,
                 from scsi-unit.c:24:
/usr/include/linux/string.h:12: parse error before `__extension__'
/usr/include/linux/string.h:12: parse error before `&&'
/usr/include/linux/string.h:14: parse error before `__extension__'
/usr/include/linux/string.h:14: parse error before `('
/usr/include/linux/string.h:15: parse error before `__extension__'
/usr/include/linux/string.h:15: parse error before `&&'
In file included from /usr/include/linux/string.h:21,
                 from /usr/include/linux/fs.h:23,
                 from scsi-unit.c:24:
/usr/include/asm/string.h:17: conflicting types for `strncasecmp'
/usr/include/string.h:266: previous declaration of `strncasecmp'
[etc.]

> Note that MOL does not yet support 603 machines running the
> 2.4 kernel (but it *is* on my to-do list).

OK, so I'll have to wait anyway.

--
Martin



This archive was generated by hypermail 2a24 : Thu Aug 24 2000 - 01:41:47 MDT