[root@localhost linux-2.6.32.2]# make zImage CHK include/linux/version.h Generating include/asm-arm/mach-types.h CHK include/linux/utsrelease.h SYMLINK include/asm -> include/asm-arm HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/docproc HOSTCC scripts/basic/hash CC kernel/bounds.s GEN include/linux/bounds.h CC arch/arm/kernel/asm-offsets.s GEN include/asm/asm-offsets.h CALL scripts/checksyscalls.sh CC scripts/mod/empty.o /opt/FriendlyARM/toolschain/4.4.3/lib/gcc/arm-none-linux-gnueabi/4.4.3/../../../ ../arm-none-linux-gnueabi/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory make[2]: *** [scripts/mod/empty.o] Error 1 make[1]: *** [scripts/mod] Error 2 make: *** [scripts] Error 2 [root@localhost linux-2.6.32.2]#
[kernel make error] can't find libz.so.1 ...
[root@localhost toolschain]# find -iname libz* ./4.4.3/arm-none-linux-gnueabi/sys-root/lib/libz.a ./4.4.3/arm-none-linux-gnueabi/sys-root/lib/libz.so.1 [root@localhost toolschain]# pwd /opt/FriendlyARM/toolschain [root@localhost toolschain]#
[root@localhost linux-2.6.32.2]# make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- zImage CHK include/linux/version.h make[1]: `include/asm-arm/mach-types.h' is up to date. CHK include/linux/utsrelease.h SYMLINK include/asm -> include/asm-arm CC kernel/bounds.s GEN include/linux/bounds.h CC arch/arm/kernel/asm-offsets.s GEN include/asm/asm-offsets.h CALL scripts/checksyscalls.sh CC scripts/mod/empty.o /opt/FriendlyARM/toolschain/4.4.3/lib/gcc/arm-none-linux-gnueabi/4.4.3/../../../ ../arm-none-linux-gnueabi/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory make[2]: *** [scripts/mod/empty.o] Error 1 make[1]: *** [scripts/mod] Error 2 make: *** [scripts] Error 2 [root@localhost linux-2.6.32.2]#