全新安装 Leap 15后编译 Baidupcs 有问题,提示全的尽量解决了,但是到下面的就不懂了,大神们帮帮忙!
libtool: link: gcc -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -pthread -o baidupcs baidupcs-shell.o baidupcs-arg.o baidupcs-dir.o rb_tree/baidupcs-misc.o rb_tree/baidupcs-red_black_tree.o rb_tree/baidupcs-stack.o baidupcs-utils.o baidupcs-hashtable.o pcs/baidupcs-cJSON.o pcs/baidupcs-pcs_fileinfo.o pcs/baidupcs-pcs_http.o pcs/baidupcs-pcs_mem.o pcs/baidupcs-pcs_pan_api_resinfo.o pcs/baidupcs-pcs_slist.o pcs/baidupcs-pcs_utils.o pcs/baidupcs-err_msg.o pcs/baidupcs-utf8.o pcs/baidupcs-pcs.o pcs/baidupcs-pcs_buffer.o pcs/baidupcs-pcs_passport_dv.o -lm -lcurl -lssl -lcrypto -pthread
baidupcs-shell.o: In function download_write': /home/gs/BaiduPCS-master/shell.c:1265: undefined reference to
cache_add’
/home/gs/BaiduPCS-master/shell.c:1271: undefined reference to cache_flush' baidupcs-shell.o: In function
download_write_for_multy_thread’:
/home/gs/BaiduPCS-master/shell.c:1328: undefined reference to cache_flush' /home/gs/BaiduPCS-master/shell.c:1348: undefined reference to
cache_reset’
/home/gs/BaiduPCS-master/shell.c:1308: undefined reference to cache_add' baidupcs-shell.o: In function
init_download_state’:
/home/gs/BaiduPCS-master/shell.c:1038: undefined reference to cache_init' baidupcs-shell.o: In function
do_download’:
/home/gs/BaiduPCS-master/shell.c:3742: undefined reference to cache_flush' /home/gs/BaiduPCS-master/shell.c:3893: undefined reference to
cache_flush’
baidupcs-shell.o: In function uninit_download_state': /home/gs/BaiduPCS-master/shell.c:1061: undefined reference to
cache_uninit’
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:664:baidupcs] 错误 1
make[1]: 离开目录“/home/gs/BaiduPCS-master”
make: *** [Makefile:466:all] 错误 2
============================================
另外,BaiduPCS 作者说不维护了,神器啊太可惜了。能不能把依赖解决了重新发布?
还有,Baidu盘的油猴脚本是不都用不了了?我从来没成功过。