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

2.4.14 won't compile if Real Time Clock is enabled



Hi,

System is a Dell 7150 4x800MHz , 4Go RAM + Debain Unstable.
BIOS is A01 

cat /proc/cpuinfo gives a revision number 6

I can't compile 2.4.14 with Real Time Clock enabled:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -g -O2 -fomit-frame-pointer -fno-strict-aliasing
-fno-common -pipe  -ffixed-r13 -mfixed-range=f10-f15,f32-f127
-falign-functions=32 -mb-step -mconstant-gp   -c -o rtc.o rtc.c
In file included from rtc.c:65:
/usr/src/linux/include/linux/mc146818rtc.h:17:69: asm/mc146818rtc.h: No
such file or directory
rtc.c: In function `rtc_ioctl':


I can compile the kernel fine without RTC enabled but the kernel
will oops on boot during the network configuration (Debian
S40networking)
and will also oops when running ntpdate (with no network configured
also).

I managed to boot 2.4.14 by disabling the network , ntpdate and by
logging
through the serial console.

Right now, i can boot fine under 2.4.9 except that i can't use ReiserFS,
reason why i need to upgrade.


Thanks,

Philippe.
Lycos Europe.



Reply to: