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

cannot compile latest 2.4-benh kernel



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

Thanks,
Giusepe



Reply to: