我是靠谱客的博主 糟糕音响,最近开发中收集的这篇文章主要介绍fastDFS make 失败 FastDFS/storage/storage_dump.c:36: undefined reference to `g_exe_name',觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

o trunk_mgr/trunk_sync.o trunk_mgr/trunk_client.o trunk_mgr/trunk_free_block_checker.o ../client/client_global.o ../client/tracker_client.o ../client/storage_client.o ../client/client_func.o fdht_client/fdht_proto.o fdht_client/fdht_client.o fdht_client/fdht_func.o fdht_client/fdht_global.o storage_dump.o -L/usr/lib64 -lpthread  -lfastcommon -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
/tmp/ccob9lB6.o: In function `main':
/opt/FastDFS/storage/fdfs_storaged.c:130: undefined reference to `g_exe_name'
storage_dump.o: In function `fdfs_dump_global_vars':
/opt/FastDFS/storage/storage_dump.c:36: undefined reference to `g_exe_name'
collect2: error: ld returned 1 exit status
make: *** [fdfs_storaged] Error 1
make: Nothing to be done for `all'.

解决方案:

./make.sh clean ,清理以前的编译文件
./make.sh  重新编译
./make.sh install 从新安装

最后

以上就是糟糕音响为你收集整理的fastDFS make 失败 FastDFS/storage/storage_dump.c:36: undefined reference to `g_exe_name'的全部内容,希望文章能够帮你解决fastDFS make 失败 FastDFS/storage/storage_dump.c:36: undefined reference to `g_exe_name'所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(34)

评论列表共有 0 条评论

立即
投稿
返回
顶部