[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 08:49:34PM +0100, Giuseppe Sacco wrote:
> 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)
> [suggestion that turned out to be irrelevant to this]
> 
> 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: {
> eppesuig3:/usr/src/linux-2.4-benh# 

I just rsynced and tried compiling with the same config as before 
and got the very same error you got. So you guessed correctly, there 
is something broken in the kernel. 

> 
> Anyway thanks,
> Giuseppe
> 

Joe



Reply to: