码迷,mamicode.com
首页 > 其他好文 > 详细

cconv arm移植

时间:2015-04-25 22:47:24      阅读:211      评论:0      收藏:0      [点我收藏+]

标签:arm   动态库   移植   

cconv

cconv(pronunciation: see-conv.) is iconv based simplified-traditional chinese conversion tool. It is NOT only transcoding programm, but also TRANSLATE tools between the Simplified Chinese and Traditional Chinese.

下载

https://code.google.com/p/cconv/downloads/list
或者到这里:http://download.csdn.net/detail/chinaeran/8630971

编译

:此处使用 arm-linux-gnueabihf-gcc,—build 使用的是64位Linux,可以不添加此参数
解压后运行如下命令:

$ ./configure --host=arm-linux-gnueabihf --build=i686-pc-linux
$ make

报错如下:
cconv-cconv.o:/home/alan/libs/cconv/cconv-0.6.2/cconv.c:311: more undefined references to `rpl_malloc’ follow
解决
方法:
将 configure 文件中的 #define malloc rpl_malloc 注释掉 (-> // #define malloc rpl_malloc)

$ make clean
$ ./configure --host=arm-linux-gnueabihf --build=i686-pc-linux
$ make

目标路径:./.libs/libcconv.so.0.0.0

cconv arm移植

标签:arm   动态库   移植   

原文地址:http://blog.csdn.net/a_ran/article/details/45276581

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!