登录
注册
一键加入QQ群
友善之臂官方网站
首 页
联系我们
淘宝店铺
维基教程
资料下载
搜索帖子!
NanoPC-T2
Core4418
NanoPC-T3 Plus
Core6818
NanoPi-M4B
NanoPC-T4
NanoPC-T6
NanoPi-NEO
NanoPi-NEO Core
NanoPi-NEO Air
NanoPi-M1 Plus
NanoPi-Duo2
NanoPi-NEO3
核心板:
Smart210
Tiny210
Smart4418
Smart6818
SOM-RK3399V2
CM3588(新品)
路由器:
R1
R1S
R2S
R2S Plus
R2C Plus
R4S
R5S
R5C
R6C
R6S
热门版块:
友善之臂最新动态
开发板实战手册及教程
站点服务
Linux技术交流区
站务管理与公告
裸机程序和微型OS
默认风格
用户中心首页
编辑个人资料
查看个人资料
好友列表
用户权限查看
积分管理
积分转换
特殊组购买
收藏夹
我的主题
基本统计信息
到访IP统计
管理团队
管理统计
在线统计
会员排行
版块排行
帖子排行
个人首页
我的收藏
好友近况
友善之家
OpenWRT讨论区
tiny210 openwrt编译aria2问题
友友粉丝快线
开发板销售中心
嵌入式最新资讯
友善之臂最新动态
友善之臂官方客服中心
开发板实战手册及教程
应用方案和定制开发
NanoPi 交流与讨论
NanoPi 玩家交流区
ROM发布区
硬软DIY及开发
嵌入式交流与讨论
Android技术交流区
Linux技术交流区
U-boot技术交流区
WinCE技术交流区
Ubuntu技术交流区
裸机程序和微型OS
OpenWRT讨论区
开发板硬件讨论区
相关资料下载及使用技巧
站点服务
二手交易区
我的论坛我的贴
站务管理与公告
上一主题
下一主题
新 帖
主题 : tiny210 openwrt编译aria2问题
复制链接
|
浏览器收藏
|
打印
xxtest
级别: 新手上路
作者资料
发送短消息
加为好友
UID:
87405
精华:
0
发帖:
12
金钱:
60 两
威望:
12 点
贡献值:
0 点
综合积分:
24 分
注册时间:
2013-02-11
最后登录:
2017-09-13
楼主
发表于: 2013-02-13 22:00
全看
|
小
中
大
tiny210 openwrt编译aria2问题
openwrt编译aria2各种错误求讨论,在线等
附上我现在用的Makefile
附件:
Makefile.tar.gz
(1 K) 下载次数:10
顶端
回复
引用
分享
xxtest
级别: 新手上路
作者资料
发送短消息
加为好友
UID:
87405
精华:
0
发帖:
12
金钱:
60 两
威望:
12 点
贡献值:
0 点
综合积分:
24 分
注册时间:
2013-02-11
最后登录:
2017-09-13
1楼
发表于: 2013-02-13 22:22
全看
|
小
中
大
好的 ,我整理一下贴上来,稍等
顶端
回复
引用
分享
xxtest
级别: 新手上路
作者资料
发送短消息
加为好友
UID:
87405
精华:
0
发帖:
12
金钱:
60 两
威望:
12 点
贡献值:
0 点
综合积分:
24 分
注册时间:
2013-02-11
最后登录:
2017-09-13
2楼
发表于: 2013-02-13 22:28
全看
|
小
中
大
回 1楼(huhu2207) 的帖子
刚才make clean了,稍等。
这个Makefile是openwrt官网拿过来的,原本aria2-1.16.0编译到ar71xx平台无任何错误
我把Makefile拿了过来,改成编译1.16.3版本,各种错误。马上贴log
顶端
回复
引用
分享
xxtest
级别: 新手上路
作者资料
发送短消息
加为好友
UID:
87405
精华:
0
发帖:
12
金钱:
60 两
威望:
12 点
贡献值:
0 点
综合积分:
24 分
注册时间:
2013-02-11
最后登录:
2017-09-13
3楼
发表于: 2013-02-13 22:29
全看
|
小
中
大
复制代码
make[2]: Entering directory `/hi3716m/sun/package/aria2'
bzcat /hi3716m/sun/dl/aria2-1.16.3.tar.bz2 | /bin/tar -C /hi3716m/sun/build_dir/target-arm_v7-a_eglibc-2.8_eabi/aria2-1.16.3/.. -xf -
ls: cannot access ./patches: No such file or directory
touch /hi3716m/sun/build_dir/target-arm_v7-a_eglibc-2.8_eabi/aria2-1.16.3/.prepared_b1bc9a31d67a261a48edb2da942768b6
(cd /hi3716m/sun/build_dir/target-arm_v7-a_eglibc-2.8_eabi/aria2-1.16.3/./; if [ -x ./configure ]; then /usr/bin/find /hi3716m/sun/build_dir/target-arm_v7-a_eglibc-2.8_eabi/aria2-1.16.3/ -name config.guess | xargs -r chmod u+w; /usr/bin/find /hi3716m/sun/build_dir/target-arm_v7-a_eglibc-2.8_eabi/aria2-1.16.3/ -name config.guess | xargs -r -n1 cp /hi3716m/sun/scripts/config.guess; /usr/bin/find /hi3716m/sun/build_dir/target-arm_v7-a_eglibc-2.8_eabi/aria2-1.16.3/ -name config.sub | xargs -r chmod u+w; /usr/bin/find /hi3716m/sun/build_dir/target-arm_v7-a_eglibc-2.8_eabi/aria2-1.16.3/ -name config.sub | xargs -r -n1 cp /hi3716m/sun/scripts/config.sub; AR=arm-openwrt-linux-gnueabi-ar AS="arm-openwrt-linux-gnueabi-gcc -c -O2 -pipe -march=armv7-a -mtune=cortex-a8 -funit-at-a-time -mfpu=vfpv3-d16 -mfloat-abi=softfp -fhonour-copts -msoft-float" LD=arm-openwrt-linux-gnueabi-ld NM=arm-openwrt-linux-gnueabi-nm CC="arm-openwrt-linux-gnueabi-gcc" GCC="arm-openwrt-linux-gnueabi-gcc" CXX="arm-openwrt-linux-gnueabi-g++" RANLIB=arm-openwrt-linux-gnueabi-ranlib STRIP=arm-openwrt-linux-gnueabi-strip OBJCOPY=arm-openwrt-linux-gnueabi-objcopy OBJDUMP=arm-openwrt-linux-gnueabi-objdump SIZE=arm-openwrt-linux-gnueabi-size CFLAGS="-O2 -pipe -march=armv7-a -mtune=cortex-a8 -funit-at-a-time -mfpu=vfpv3-d16 -mfloat-abi=softfp -fhonour-copts -msoft-float " CXXFLAGS="-O2 -pipe -march=armv7-a -mtune=cortex-a8 -funit-at-a-time -mfpu=vfpv3-d16 -mfloat-abi=softfp -fhonour-copts -msoft-float " CPPFLAGS="-I/hi3716m/sun/staging_dir/target-arm_v7-a_eglibc-2.8_eabi/usr/include -I/hi3716m/sun/staging_dir/target-arm_v7-a_eglibc-2.8_eabi/include -I/hi3716m/sun/staging_dir/toolchain-arm_v7-a_gcc-4.3.3+cs_eglibc-2.8_eabi/usr/include -I/hi3716m/sun/staging_dir/toolchain-arm_v7-a_gcc-4.3.3+cs_eglibc-2.8_eabi/include " LDFLAGS="-L/hi3716m/sun/staging_dir/target-arm_v7-a_eglibc-2.8_eabi/usr/lib -L/hi3716m/sun/staging_dir/target-arm_v7-a_eglibc-2.8_eabi/lib -L/hi3716m/sun/staging_dir/toolchain-arm_v7-a_gcc-4.3.3+cs_eglibc-2.8_eabi/usr/lib -L/hi3716m/sun/staging_dir/toolchain-arm_v7-a_gcc-4.3.3+cs_eglibc-2.8_eabi/lib " ZLIB_CFLAGS="-I/hi3716m/sun/staging_dir/target-arm_v7-a_eglibc-2.8_eabi/usr/include" ZLIB_LIBS="-L/hi3716m/sun/staging_dir/target-arm_v7-a_eglibc-2.8_eabi/usr/lib" ./configure --target=arm-openwrt-linux --host=arm-openwrt-linux --build=x86_64-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls --disable-nls --without-gnutls --without-libnettle --without-libgmp --without-libgcrypt --without-libexpat --without-libcares --without-sqlite3 --with-openssl --with-libxml2 --with-libz ; fi; )
configure: loading site script /hi3716m/sun/include/site/arm-openwrt-linux-gnueabi
checking for arm-openwrt-linux-gcc... arm-openwrt-linux-gnueabi-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-openwrt-linux-gnueabi-gcc accepts -g... yes
checking for arm-openwrt-linux-gnueabi-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... arm-openwrt-linux-gnueabi-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... arm-openwrt-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /hi3716m/sun/staging_dir/host/bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by arm-openwrt-linux-gnueabi-gcc... arm-openwrt-linux-gnueabi-ld
checking if the linker (arm-openwrt-linux-gnueabi-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... arm-openwrt-linux-gnueabi-nm
checking the name lister (arm-openwrt-linux-gnueabi-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 32768
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to arm-openwrt-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for arm-openwrt-linux-gnueabi-ld option to reload object files... -r
checking for arm-openwrt-linux-objdump... arm-openwrt-linux-gnueabi-objdump
checking how to recognize dependent libraries... pass_all
checking for arm-openwrt-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-openwrt-linux-ar... arm-openwrt-linux-gnueabi-ar
checking for archiver @FILE support... @
checking for arm-openwrt-linux-strip... arm-openwrt-linux-gnueabi-strip
checking for arm-openwrt-linux-ranlib... arm-openwrt-linux-gnueabi-ranlib
checking for gawk... gawk
checking command to parse arm-openwrt-linux-gnueabi-nm output from arm-openwrt-linux-gnueabi-gcc object... ok
checking for sysroot... no
checking for arm-openwrt-linux-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if arm-openwrt-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-openwrt-linux-gnueabi-gcc option to produce PIC... -fPIC -DPIC
checking if arm-openwrt-linux-gnueabi-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-openwrt-linux-gnueabi-gcc static flag -static works... yes
checking if arm-openwrt-linux-gnueabi-gcc supports -c -o file.o... yes
checking if arm-openwrt-linux-gnueabi-gcc supports -c -o file.o... (cached) yes
checking whether the arm-openwrt-linux-gnueabi-gcc linker (arm-openwrt-linux-gnueabi-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking target system type... arm-openwrt-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-openwrt-linux-strip... (cached) arm-openwrt-linux-gnueabi-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of arm-openwrt-linux-gnueabi-gcc... gcc3
checking for cppunit-config... no
checking for Cppunit - version >= 1.10.2... no
checking whether we are using the GNU C++ compiler... yes
checking whether arm-openwrt-linux-gnueabi-g++ accepts -g... yes
checking how to run the C++ preprocessor... arm-openwrt-linux-gnueabi-g++ -E
checking for ld used by arm-openwrt-linux-gnueabi-g++... arm-openwrt-linux-gnueabi-ld
checking if the linker (arm-openwrt-linux-gnueabi-ld) is GNU ld... yes
checking whether the arm-openwrt-linux-gnueabi-g++ linker (arm-openwrt-linux-gnueabi-ld) supports shared libraries... yes
checking for arm-openwrt-linux-gnueabi-g++ option to produce PIC... -fPIC -DPIC
checking if arm-openwrt-linux-gnueabi-g++ PIC flag -fPIC -DPIC works... yes
checking if arm-openwrt-linux-gnueabi-g++ static flag -static works... yes
checking if arm-openwrt-linux-gnueabi-g++ supports -c -o file.o... yes
checking if arm-openwrt-linux-gnueabi-g++ supports -c -o file.o... (cached) yes
checking whether the arm-openwrt-linux-gnueabi-g++ linker (arm-openwrt-linux-gnueabi-ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking dependency style of arm-openwrt-linux-gnueabi-g++... gcc3
checking for arm-openwrt-linux-gcc... (cached) arm-openwrt-linux-gnueabi-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether arm-openwrt-linux-gnueabi-gcc accepts -g... (cached) yes
checking for arm-openwrt-linux-gnueabi-gcc option to accept ISO C89... (cached) none needed
checking for bison... bison -y
checking for arm-openwrt-linux-ar... (cached) arm-openwrt-linux-gnueabi-ar
checking for a2x... no
checking for asciidoc... no
checking pkg-config is at least version 0.20... yes
checking for ZLIB... yes
checking for xml2-config... no
checking for libxml - version >= 2.6.24... no
*** The xml2-config script installed by LIBXML could not be found
*** If libxml was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the XML2_CONFIG environment variable to the
*** full path to xml2-config.
configure: error: in `/hi3716m/sun/build_dir/target-arm_v7-a_eglibc-2.8_eabi/aria2-1.16.3':
configure: error: libxml2 is requested but not found in the system.
See `config.log' for more details
make[2]: *** [/hi3716m/sun/build_dir/target-arm_v7-a_eglibc-2.8_eabi/aria2-1.16.3/.configured_] Error 1
make[2]: Leaving directory `/hi3716m/sun/package/aria2'
make[1]: *** [package/aria2/compile] Error 2
make[1]: Leaving directory `/hi3716m/sun'
make: *** [package/aria2/compile] Error 2
先贴这一部分,不知道能看错问题所在了没?
顶端
回复
引用
分享
xxtest
级别: 新手上路
作者资料
发送短消息
加为好友
UID:
87405
精华:
0
发帖:
12
金钱:
60 两
威望:
12 点
贡献值:
0 点
综合积分:
24 分
注册时间:
2013-02-11
最后登录:
2017-09-13
4楼
发表于: 2013-02-13 22:48
全看
|
小
中
大
应该是没有libxml2这个库吧?
顶端
回复
引用
分享
xxtest
级别: 新手上路
作者资料
发送短消息
加为好友
UID:
87405
精华:
0
发帖:
12
金钱:
60 两
威望:
12 点
贡献值:
0 点
综合积分:
24 分
注册时间:
2013-02-11
最后登录:
2017-09-13
5楼
发表于: 2013-02-13 23:22
全看
|
小
中
大
先编译libxml2,再编译aria2,解决问题
附件解压放到
/sun/bin/s5pc1xx/packages
make package/libxml2/compile
附件:
libxml2.tar.gz
(18 K) 下载次数:9
顶端
回复
引用
分享
xxtest
级别: 新手上路
作者资料
发送短消息
加为好友
UID:
87405
精华:
0
发帖:
12
金钱:
60 两
威望:
12 点
贡献值:
0 点
综合积分:
24 分
注册时间:
2013-02-11
最后登录:
2017-09-13
6楼
发表于: 2013-02-17 11:50
全看
|
小
中
大
回 7楼(huhu2207) 的帖子
手头有个广电机顶盒是hi3716m的,不移植openwrt了,太麻烦
只编译自己需要的东西过去用用就算了,我看你们的optware做的不错啦。
另,我是新年那几天发邮件问你要sdk那位
顶端
回复
引用
分享
上一主题
下一主题
友善之家
OpenWRT讨论区
http://www.aiothome.net
访问内容超出本站范围,不能确定是否安全
继续访问
取消访问