免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1978 | 回复: 0
打印 上一主题 下一主题

lablin测试错误报告 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-06-07 18:31 |只看该作者 |倒序浏览
我用昨天编译的kernel image 和toolchain 以及busybox
今下载如下版本的lablin,直接测试编译app,出现如下错误:
commit fea8928b212226c7dd57531700ab407e2cf8badf
Date:   Mon Jun 7 16:35:56 2010 +0800


第一个错误我看了下之后,修改了我这边的脚本,编译通过,但大意没有把错误记录下来。
错误出现在 lablin/application/libpng-1.4.2/build.sh 中的最后一行
sed -i "s:^libdir=.*:libdir=${ROOTFS_PATH}/usr/lib:" ${ROOTFS_PATH}/usr/lib/libpng12.la
编译时提示找不到 /home/rv/maxwit/sysroot/usr/lib/libpng12.la
我在修改为
sed -i "s:^libdir=.*:libdir=${ROOTFS_PATH}/usr/lib:" ${ROOTFS_PATH}/usr/lib/libpng14.la
请check下

第二个错误提示如下:
/**************************************************/
    Downloading package of DirectFB-1.4.3
/**************************************************/

--2010-06-07 05:57:02--  http://www.directfb.org/downloads/Core//DirectFB-1.4.3.tar.gz
Resolving www.directfb.org... 212.227.87.76
Connecting to www.directfb.org|212.227.87.76|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-06-07 05:57:05 ERROR 404: Not Found.

Extracting "DirectFB-1.4.3" ..
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Exiting with failure status due to previous errors


经过我测试地址应该是如下这个
http://www.directfb.org/download ... rectFB-1.4.3.tar.gz

编译DirectFB-1.4.3还是出现错误
arm-maxwit-linux-gnueabi-gcc -I/usr/include/freetype2 -O3 -ffast-math -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -o directfb-csource directfb-csource.o  -lpng12 -ldl -lpthread  
/home/rv/maxwit/toolchain/usr/bin/../lib/gcc/arm-maxwit-linux-gnueabi/4.4.0/../../../../arm-maxwit-linux-gnueabi/bin/ld: cannot find -lpng12
collect2: ld returned 1 exit status
make[2]: *** [directfb-csource] Error 1
make[2]: Leaving directory `/home/rv/maxwit/build/application/DirectFB-1.4.3/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rv/maxwit/build/application/DirectFB-1.4.3'
make: *** [all] Error 2

缺少png12的lib.

...


lablin版本如下:
  1. commit fea8928b212226c7dd57531700ab407e2cf8badf
  2. Author: Conke Hu <conke@maxwit.com>
  3. Date:   Mon Jun 7 16:35:56 2010 +0800

  4.     fix DirectFB link address
  5.    
  6.     Signed-off-by: Conke Hu <conke@maxwit.com>

  7. diff --git a/core/bmw_pkgs b/core/bmw_pkgs
  8. index 0817ac1..4a8ea9f 100755
  9. --- a/core/bmw_pkgs
  10. +++ b/core/bmw_pkgs
  11. @@ -43,6 +43,7 @@ MWP_ALSA_UTILS="alsa-utils-1.0.16"
  12. MWP_FBV="fbv-1.0b"
  13. MWP_DFB="DirectFB-1.4.3"
  14. MWP_DFB_EX="DirectFB-examples-1.2.0"
  15. +MWP_DFB_DIR=${MWP_DFB%.[0-9]*}
  16. MWP_MPG123="mpg123-0.66"
  17. MWP_MADPLAY="madplay-0.15.2b"
  18. MWP_MPLAYER="MPlayer-1.0rc3"
  19. @@ -139,7 +140,8 @@ PLINK_LIST="http://www.kernel.org/pub/linux/kernel/v2.6/${MW
  20.         http://nchc.dl.sourceforge.net/sourceforge/giflib/${MWP_LIBUNGIF}.tar.bz
  21.         http://dl.maptools.org/dl/libtiff/${MWP_TIFF}.tar.gz \
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP