交叉编译curlftpfs
来源:互联网 发布:淘宝2017新规则 编辑:程序博客网 时间:2024/05/16 06:00
curlftpfs的作用:使linux系统能够mount FTP服务器的ftp目录。
交叉编译curlftpfs
依赖库:openssl-1.0.0e.tar.gz
fuse-2.7.4.tar.gz,不要使用fuse-2.8.3.tar.gz。在运行过程中可能出现,找不到设备的情况。
curl-7.33.0.tar.gz,需要手动拷贝库,make install不会安装到/usr/local/lib下。
glib-2.0.6.tar.bz2,(可能还需要)
交叉编译:需要./configure --host=arm-none-linux-gnueabi
当/usr/local/lib/目录下有libssl.so libcrpto.so libcurl.so libfuse.so等库(或类似的库),才可以安装curlftpfs。
tar -xzvf curlftpfs-0.9.2.tar.gz
cd curlftpfs-0.9.2
curlftpfs-0.9.2#./configure --host=arm-none-linux-gnueabi
curlftpfs-0.9.2#make
问题1:
ftpfs.c:1693: undefined reference to `rpl_realloc'
ftpfs.c:707: undefined reference to `rpl_malloc'
解决1:
屏蔽config.h.in中间的#undef malloc和#undef realloc
问题2:
运行curlftpfs -o codepage=utf8 ftp://username:password@192.168.1.100 /ftp
Error setting curl:
解决2:
屏蔽ftpfs.c中间的curl_easy_setopt_or_die(easy, CURLOPT_FTP_SSL, ftpfs.use_ssl);
问题3:
运行curlftpfs
找不到fuse:device not found,try ‘modprobe fuse’ first
解决3:
内核需要加载fuse模块。
内核位置:linux-2.6.28-fa/fs/fuse
- 交叉编译curlftpfs
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- SUSE如何截屏
- javascript转换日期字符串---转化为Date对象---再转化为时间戳
- Spring中的定时器时间格式配置
- linux trap命令详解
- The MySQL C API 编程实例
- 交叉编译curlftpfs
- c++ ofstream和ifstream详细用法
- 理解RESTful架构
- test4-6(银行系统)
- IBATIS返回map
- Java程序员要知道的C/C++函数
- Android.mk语法说明(android ndk开发)
- 3dmax导出的obj有时需要转成utf-8格式才能被ios读取
- autocomplete的使用 从数据库中读取后显示在JSP页面上 JSON jquery