- 论坛徽章:
- 0
|
我用昨天编译的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版本如下:- commit fea8928b212226c7dd57531700ab407e2cf8badf
- Author: Conke Hu <conke@maxwit.com>
- Date: Mon Jun 7 16:35:56 2010 +0800
- fix DirectFB link address
-
- Signed-off-by: Conke Hu <conke@maxwit.com>
- diff --git a/core/bmw_pkgs b/core/bmw_pkgs
- index 0817ac1..4a8ea9f 100755
- --- a/core/bmw_pkgs
- +++ b/core/bmw_pkgs
- @@ -43,6 +43,7 @@ MWP_ALSA_UTILS="alsa-utils-1.0.16"
- MWP_FBV="fbv-1.0b"
- MWP_DFB="DirectFB-1.4.3"
- MWP_DFB_EX="DirectFB-examples-1.2.0"
- +MWP_DFB_DIR=${MWP_DFB%.[0-9]*}
- MWP_MPG123="mpg123-0.66"
- MWP_MADPLAY="madplay-0.15.2b"
- MWP_MPLAYER="MPlayer-1.0rc3"
- @@ -139,7 +140,8 @@ PLINK_LIST="http://www.kernel.org/pub/linux/kernel/v2.6/${MW
- http://nchc.dl.sourceforge.net/sourceforge/giflib/${MWP_LIBUNGIF}.tar.bz
- http://dl.maptools.org/dl/libtiff/${MWP_TIFF}.tar.gz \
复制代码 |
|