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

Re: Build errors for 2.4.25-ben1



On Sun, 2004-02-22 at 19:27, Wolfgang Pfeiffer wrote:
> Hi All
> 
> gcc-2.95 is running here.
> 
> For the running 2.4.24-ben1 I have, as it seems to me, successfully set

> gcc -D__KERNEL__ -I/home/user/sources/2.4-benh-kernel/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -fomit-frame-pointer -I/home/user/sources/2.4-benh-kernel/arch/ppc
> -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized
> -mmultiple -mstring -fno-builtin -D__BOOTER__
> -I/home/user/sources/2.4-benh-kernel/arch/ppc/boot/include  -nostdinc
> -iwithprefix include -DKBUILD_BASENAME=misc  -c -o misc.o misc.c
> misc.c: In function `get_of_args':
> misc.c:121: `phandle' undeclared (first use in this function)
> misc.c:121: (Each undeclared identifier is reported only once
> misc.c:121: for each function it appears in.)
> misc.c:121: parse error before `chosen'
> misc.c:125: `chosen' undeclared (first use in this function)
> misc.c:125: warning: implicit declaration of function `finddevice'
> misc.c:128: warning: implicit declaration of function `getprop'
> misc.c: In function `decompress_kernel':
> misc.c:155: warning: implicit declaration of function `ofinit'
> misc.c:252: `phandle' undeclared (first use in this function)
> misc.c:252: parse error before `dev_handle'
> misc.c:256: `dev_handle' undeclared (first use in this function)
> make[3]: *** [misc.o] Error 1
> make[3]: Leaving directory
> `/home/user/sources/2.4-benh-kernel/arch/ppc/boot/prep'
> make[2]: *** [zImage] Error 2
> make[2]: Leaving directory
> `/home/user/sources/2.4-benh-kernel/arch/ppc/boot'
> make[1]: *** [zImage] Error 2
> make[1]: Leaving directory `/home/user/sources/2.4-benh-kernel'
> make: *** [stamp-build] Error 2
> 
> _____________________________________


Same today, but as it seems with different errors, as it seems, and the
same
config:
<http://www.geocities.com/wolfgangpfeiffer/config.2.4.25-ben1.txt>

After another update of the sources
rsync -avz rsync.penguinppc.org::linux-2.4-benh sources/2.4-benh-kernel

cp config.2.4.25.from.yesterday /home/user/sources/2.4-benh-kernel/.config
make oldconfig
make-kpkg clean
fakeroot make-kpkg --revision=titaniumIV+1.0 kernel_image

I get these errors at the end of the compile:

cd /home/user/sources/2.4-benh-kernel/debian/tmp-image/lib/modules/2.4.25-ben1; \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b /home/user/sources/2.4-benh-kernel/debian/tmp-image -r 2.4.25-ben1; fi
make[2]: Leaving directory `/home/user/sources/2.4-benh-kernel'
depmod -q -FSystem.map -b debian/tmp-image 2.4.25-ben1
make[1]: depmod: Command not found
make[1]: [real_stamp_image] Error 127 (ignored)
if test -d /home/user/sources/2.4-benh-kernel/debian/image.d ; then                            \
             IMAGE_TOP=debian/tmp-image version=2.4.25-ben1                        \
                   run-parts --verbose /home/user/sources/2.4-benh-kernel/debian/image.d ;             \
        fi
if [ -x debian/post-install ]; then                                   \
        IMAGE_TOP=debian/tmp-image version=2.4.25-ben1 debian/post-install;\
fi
cp vmlinux debian/tmp-image/boot/vmlinux-2.4.25-ben1
chmod 644 debian/tmp-image/boot/vmlinux-2.4.25-ben1
cp arch/ppc/boot/images/vmlinux.coff   debian/tmp-image/boot/vmlinux.coff-2.4.25-ben1
cp: cannot stat `arch/ppc/boot/images/vmlinux.coff': No such file or directory
make[1]: *** [real_stamp_image] Error 1
make[1]: Leaving directory `/home/user/sources/2.4-benh-kernel'
make: *** [kernel-image-deb] Error 2

Anybody out there having successfully built 2.4.25-ben1 on a TitaniumIV,
on unstable, today or yesterday?

Thanks in anticipation

Best Regards
Wolfgang 


-- 
Profile, Links: http://profiles.yahoo.com/wolfgangpfeiffer



Reply to: