2.4.23-bk1 && RTC
Looks like RTC is broken in 2.4.23-bk1.
gcc -D__KERNEL__ -I/exp/src1/kernels/2.4.23/Server/General/linux-2.4.23/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -nostdinc -iwithprefix include -DKBUILD_BASENAME=rtc -c -o rtc.o rtc.c rtc.c: In function `rtc_init':
rtc.c:772: `RTC_IOMAPPED' undeclared (first use in this function)
rtc.c:772: (Each undeclared identifier is reported only once
rtc.c:772: for each function it appears in.)
rtc.c:773: `RTC_IO_EXTENT' undeclared (first use in this function)rtc.c: In function `rtc_exit':
rtc.c:873: `RTC_IOMAPPED' undeclared (first use in this function)
rtc.c:874: `RTC_IO_EXTENT' undeclared (first use in this function)
If I disable the Enhanced Real Time Clock in menuconfig it compiles just fine.
:wq!
---------------------------------------------------------------------------
Robert L. Harris | GPG Key ID: E344DA3B
@ x-hkp://pgp.mit.edu
DISCLAIMER:
These are MY OPINIONS ALONE. I speak for no-one else.
Life is not a destination, it's a journey.
Microsoft produces 15 car pileups on the highway.
Don't stop traffic to stand and gawk at the tragedy.
On Tue, 2 Dec 2003 10:53:13 -0500 "Robert L. Harris" <[email protected]> wrote:
| | | Looks like RTC is broken in 2.4.23-bk1. | | gcc -D__KERNEL__ -I/exp/src1/kernels/2.4.23/Server/General/linux-2.4.23/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -nostdinc -iwithprefix include -DKBUILD_BASENAME=rtc -c -o rtc.o rtc.c | rtc.c: In function `rtc_init': | rtc.c:772: `RTC_IOMAPPED' undeclared (first use in this function) | rtc.c:772: (Each undeclared identifier is reported only once | rtc.c:772: for each function it appears in.) | rtc.c:773: `RTC_IO_EXTENT' undeclared (first use in this function) | rtc.c: In function `rtc_exit': | rtc.c:873: `RTC_IOMAPPED' undeclared (first use in this function) | rtc.c:874: `RTC_IO_EXTENT' undeclared (first use in this function) | | If I disable the Enhanced Real Time Clock in menuconfig it compiles just | fine.
Marcelo just applied the patch here:
http://lkml.org/lkml/2003/12/1/150
--
~Randy
MOTD: Always include version info.