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

unable to compile kernel 2.6.13-4



Hi all.

When i try to compile kernel 2.6.13-4 (from kernel.org), i got the
following compile errors. Any hints?

---------------------------------8<-------------------------------------
williamxu:/home/william/studio/build/linux-2.6.13.4# make-kpkg kernel_image
Please ignore the warning about overriding and ignoring targets above.
These are harmless. They are only invoked in a part of the process
that tries to snarf variable values for the conf.vars file.
echo done >  stamp-configure
test -f stamp-configure || /usr/bin/make -f /usr/share/kernel-package/rules configure
/usr/bin/make    ARCH=ppc \
                     zImage
make[1]: Entering directory `/home/william/studio/build/linux-2.6.13.4'
  CHK     include/linux/version.h
make[2]: “arch/ppc/kernel/asm-offsets.s”is the newest.
  CHK     include/linux/compile.h
  LD      init/mounts.o
ld: cannot find -lfoo
make[2]: *** [init/mounts.o] error 1
make[1]: *** [init] error 2
make[1]: Leaving directory `/home/william/studio/build/linux-2.6.13.4'
make: *** [stamp-build] error 2
williamxu:/home/william/studio/build/linux-2.6.13.4#
---------------------------------8<-------------------------------------

My system info,

$ cat /proc/cpuinfo
processor	: 0
cpu		: 7447A, altivec supported
clock		: 1066MHz
revision	: 1.1 (pvr 8003 0101)
bogomips	: 530.43
machine		: PowerBook6,5
motherboard	: PowerBook6,5 MacRISC3 Power Macintosh
detected as	: 287 (iBook G4)
pmac flags	: 0000000a
L2 cache	: 512K unified
memory		: 512MB
pmac-generation	: NewWorld

$ gcc -V
gcc (GCC) 4.0.2 (Debian 4.0.2-2)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

--
William



Reply to: