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

Re: BenH 2.4.24 error on build



On Mon, 2004-02-23 at 18:10, David Ulrich wrote:

my config for 2.4.24-ben1:

<http://www.geocities.com/wolfgangpfeiffer/config-2.4.24-ben1.txt>

It's a rather modular kernel ... :)

cat /proc/cpuinfo:

processor       : 0
cpu             : 7455, altivec supported
clock           : 867MHz
revision        : 3.2 (pvr 8001 0302)
bogomips        : 864.64
machine         : PowerBook3,5
motherboard     : PowerBook3,5 MacRISC2 MacRISC Power Macintosh
board revision  : 00000000
detected as     : 80 (PowerBook Titanium IV)
pmac flags      : 0000000b
L2 cache        : 256K unified
memory          : 768MB
pmac-generation : NewWorld

HTH

Best Regards
Wolfgang



> When I compile the source on my 9500MP running 2.4.23 woody I have this 
> error:
> 
> > make[2]: Leaving directory 
> > `/usr/src/benH/src-linux-2.4-benh/arch/ppc/mm'
> > /usr/bin/make CFLAGS="-D__KERNEL__ 
> > -I/usr/src/benH/src-linux-2.4-benh/include -Wall -Wstrict-prototypes 
> > -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
> > -fomit-frame-pointer -I/usr/src/benH/src-linux-2.4-benh/arch/ppc 
> > -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized 
> > -mmultiple -mstring " -C  arch/ppc/lib
> > make[2]: Entering directory 
> > `/usr/src/benH/src-linux-2.4-benh/arch/ppc/lib'
> > /usr/bin/make all_targets
> > pmac_nvram.c: In function `pmac_nvram_init':
> > pmac_nvram.c:531: `pmu_nvram_read_byte' undeclared (first use in this 
> > function)
> > pmac_nvram.c:531: (Each undeclared identifier is reported only once
> > pmac_nvram.c:531: for each function it appears in.)
> > pmac_nvram.c:532: `pmu_nvram_write_byte' undeclared (first use in this 
> > function)
> > make[3]: Entering directory 
> > `/usr/src/benH/src-linux-2.4-benh/arch/ppc/lib'
> > gcc -D__ASSEMBLY__ -D__KERNEL__ 
> > -I/usr/src/benH/src-linux-2.4-benh/include 
> > -I/usr/src/benH/src-linux-2.4-benh/arch/ppc   -c -o checksum.o 
> > checksum.S
> > make[3]: *** [pmac_nvram.o] Error 1
> > make[3]: Leaving directory 
> > `/usr/src/benH/src-linux-2.4-benh/arch/ppc/platforms'
> > gcc -D__ASSEMBLY__ -D__KERNEL__ 
> > -I/usr/src/benH/src-linux-2.4-benh/include 
> > -I/usr/src/benH/src-linux-2.4-benh/arch/ppc   -c -o string.o string.S
> > make[2]: *** [first_rule] Error 2
> > make[2]: Leaving directory 
> > `/usr/src/benH/src-linux-2.4-benh/arch/ppc/platforms'
> > make[1]: *** [_dir_arch/ppc/platforms] Error 2
> > make[1]: *** Waiting for unfinished jobs....
> > gcc -D__KERNEL__ -I/usr/src/benH/src-linux-2.4-benh/include -Wall 
> > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing 
> > -fno-common -fomit-frame-pointer 
> > -I/usr/src/benH/src-linux-2.4-benh/arch/ppc -fsigned-char -msoft-float 
> > -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring   -nostdinc 
> > -iwithprefix include -DKBUILD_BASENAME=strcase  -c -o strcase.o 
> > strcase.c
> > gcc -D__KERNEL__ -I/usr/src/benH/src-linux-2.4-benh/include -Wall 
> > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing 
> > -fno-common -fomit-frame-pointer 
> > -I/usr/src/benH/src-linux-2.4-benh/arch/ppc -fsigned-char -msoft-float 
> > -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring   -nostdinc 
> > -iwithprefix include -DKBUILD_BASENAME=dec_and_lock  -DEXPORT_SYMTAB 
> > -c dec_and_lock.c
> > gcc -D__ASSEMBLY__ -D__KERNEL__ 
> > -I/usr/src/benH/src-linux-2.4-benh/include 
> > -I/usr/src/benH/src-linux-2.4-benh/arch/ppc   -c -o div64.o div64.S
> > gcc -D__KERNEL__ -I/usr/src/benH/src-linux-2.4-benh/include -Wall 
> > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing 
> > -fno-common -fomit-frame-pointer 
> > -I/usr/src/benH/src-linux-2.4-benh/arch/ppc -fsigned-char -msoft-float 
> > -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring   -nostdinc 
> > -iwithprefix include -DKBUILD_BASENAME=locks  -c -o locks.o locks.c
> > rm -f lib.o
> > ld  -r -o lib.o checksum.o string.o strcase.o dec_and_lock.o div64.o 
> > locks.o
> > make[3]: Leaving directory 
> > `/usr/src/benH/src-linux-2.4-benh/arch/ppc/lib'
> > make[2]: Leaving directory 
> > `/usr/src/benH/src-linux-2.4-benh/arch/ppc/lib'
> > make[1]: Leaving directory `/usr/src/benH/src-linux-2.4-benh'
> > make: *** [stamp-build] Error 2
> 
> Somebody know how to fix it?
> 
> David
-- 
Profile, Links: http://profiles.yahoo.com/wolfgangpfeiffer



Reply to: