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

Re: cannot compile latest 2.4-benh kernel



On Tue, Dec 16, 2003 at 03:05:42PM +0100, Giuseppe Sacco wrote:
> Hi all,
> today I rsync'd from linux-2.4-benh and I tried to compile the kernel. I
> get some errors that I cannot fix. Could anyone help me?
> 
> gcc -D__KERNEL__ -I/usr/src/linux-2.4-benh/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -fomit-frame-pointer -I/usr/src/linux-2.4-benh/arch/ppc -fsigned-char
> -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring  
> -nostdinc -iwithprefix include -DKBUILD_BASENAME=nvram  -c -o nvram.o
> nvram.c
> nvram.c: In function `nvram_ioctl':
> nvram.c:78: error: `OBSOLETE_PMAC_NVRAM_GET_OFFSET' undeclared (first
> use in this function)
> nvram.c:78: error: (Each undeclared identifier is reported only once
> nvram.c:78: error: for each function it appears in.)
> nvram.c:79: error: `IOC_NVRAM_GET_OFFSET' undeclared (first use in this
> function)
> nvram.c:90: error: `IOC_NVRAM_SYNC' undeclared (first use in this
> function)
> nvram.c:91: warning: implicit declaration of function `pmac_nvram_sync'
> make[4]: *** [nvram.o] Error 1
> make[4]: Leaving directory `/usr/src/linux-2.4-benh/drivers/macintosh'
> make[3]: *** [first_rule] Error 2
> 

Hello Giusepe,

IIRC I ran into the same problem as a result of combing nvram, generic- 
rtc and extended-rtc in an invalid way. Though I don't remember what 
combination exactly caused the failure; look for NVRAM and RTC in the
config file and/or (s)diff against my config to find the relevant entries.
http://www.daniel-zimmermann.com/joe/ibook/config-2.4.23-pre5-ben0joe9

> Thanks,
> Giusepe

Joe



Reply to: