fastDFS make 失败 FastDFS/storage/storage_dump.c:36: undefined reference to `g_exe_name'

匿名 (未验证) 提交于 2019-12-02 23:34:01
版权声明:欢迎转载.转载请注明出处 https://blog.csdn.net/zhaluo_dehezi/article/details/90482418
 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 install 从新安装

文章来源: https://blog.csdn.net/zhaluo_dehezi/article/details/90482418
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!