問題1:/opt/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/../libexec/gcc/arm-fsl-linux-gnueabi/4.6.2/cc1: error while loading shared librari
/home/mack/kernel/linux-3.0.35/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 1
/opt/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/../libexec/gcc/arm-fsl-linux-gnueabi/4.6.2/cc1: error while loading shared librari
scripts/Makefile.build:305: recipe for target 'scripts/mod/empty.o' failed
make[2]: *** [scripts/mod/empty.o] Error 1
scripts/Makefile.build:441: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: 'include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
/opt/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/../libexec/gcc/arm-fsl-linux-gnueabi/4.6.2/cc1: error while loading shared librari
/home/mack/kernel/linux-3.0.35/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 1
Makefile:985: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
make: *** Waiting for unfinished jobs....
HOSTCC scripts/genksyms/lex.o
HOSTCC scripts/genksyms/parse.o
HOSTLD scripts/genksyms/genksyms
Makefile:506: recipe for target 'scripts' failed
make: *** [scripts] Error 2
解決方法
mack@ubuntu:~/kernel/linux-3.0.35$ sudo apt-get install lib32z1
問題2:
"mkimage" command not found - U-Boot images will not be built
/home/mack/kernel/linux-3.0.35/arch/arm/boot/Makefile:76: recipe for target 'arch/arm/boot/uImage' failed
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
UIMAGE arch/arm/boot/uImage
"mkimage" command not found - U-Boot images will not be built
/home/mack/kernel/linux-3.0.35/arch/arm/boot/Makefile:76: recipe for target 'arch/arm/boot/uImage' failed
make[1]: *** [arch/arm/boot/uImage] Error 1
/home/mack/kernel/linux-3.0.35/arch/arm/Makefile:280: recipe for target 'uImage' failed
make: *** [uImage] Error 2
解決方法
將uboot目錄下的mkimage命令拷貝到/bin目錄下
mack@ubuntu:~/uboot/uboot-master$ sudo cp tools/mkimage /bin/