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

Re: cannot compile latest 2.4-benh kernel

Il mar, 2003-12-16 alle 19:45, Joe Malik ha scritto:
> 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)
> 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 joe, I did try as you suggested but It did not fix the problem.
Moreover I think that something is broken in the kernel. Look at this

eppesuig3:/usr/src/linux-2.4-benh# grep -r IOC_NVRAM_GET_OFFSET .
./drivers/macintosh/nvram.c:    case IOC_NVRAM_GET_OFFSET: {

Anyway thanks,

Reply to: