找回密码
 注册
查看: 2041|回复: 2

我编译EGui 出错了!

[复制链接]
发表于 2006-11-7 09:33:30 | 显示全部楼层 |阅读模式
内核是linux-2.6.8.1 gcc是3.4.5  uclib 是0.9.27 PC机上是FC5
提示如下:
arm-linux-gcc -I../zlib-1.2.3 -Wall -O3 -funroll-loops     -c -o pngtest.o pngtest.c
arm-linux-gcc -o pngtest -I../zlib-1.2.3 -Wall -O3 -funroll-loops   pngtest.o -L. -Wl,-rpath,. -L../zlib-1.2.3 -Wl,-rpath,../zlib-1.2.3 -lpng12 -lz -lm
/home/linzhi/buildroot/buildroot/build_arm_nofpu/staging_dir/lib/gcc/arm-linux-uclibc/3.4.5/../../../../arm-linux-uclibc/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[2]: *** [pngtest] 错误 1
make[2]: Leaving directory `/home/cqq/EGUI/EGui/3rdparty/libpng-1.2.5'
make[1]: *** [libpng] 错误 2
make[1]: Leaving directory `/home/cqq/EGUI/EGui/3rdparty'
make: *** [otherlibary] 错误 2
发表于 2006-11-7 09:48:52 | 显示全部楼层
看你的zlib-1.2.3编译是否通过。
应该系统会到 zlib-1.2.3目录寻找 libz.a
回复

使用道具 举报

 楼主| 发表于 2006-11-7 10:39:52 | 显示全部楼层
OK!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-2-6 14:30 , Processed in 0.032194 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表