We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我是按照INSTALL安装 即:
git clone https://github.com/happyfish100/libfastcommon.git cd libfastcommon; git checkout V1.0.73 ./make.sh clean && ./make.sh && sudo ./make.sh install git clone https://github.com/happyfish100/libserverframe.git cd libserverframe; git checkout V1.2.3 ./make.sh clean && ./make.sh && sudo ./make.sh install git clone https://github.com/happyfish100/fastdfs.git cd fastdfs; git checkout V6.12.1 ./make.sh clean && ./make.sh
./make.sh报错: /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to sorted_queue_init' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to iniGetByteCorrectValueEx' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to fc_queue_push_queue_to_head_ex' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to g_set_cloexec' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to common_blocked_queue_free_all_nodes' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to fc_get_last_lines' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to fc_queue_push_ex' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to log_get_level_caption_ex' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to fc_get_first_lines' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to fast_timer_add_ex' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to split_string_ex' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to g_tcp_quick_ack' collect2: error: ld returned 1 exit status make: *** [Makefile:60: fdfs_monitor] Error 1
sorted_queue_init' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to
fc_queue_push_queue_to_head_ex' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to
common_blocked_queue_free_all_nodes' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to
fc_queue_push_ex' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to
fc_get_first_lines' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to
split_string_ex' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to
The text was updated successfully, but these errors were encountered:
估计你安装过旧版本的libfastcommon,按这个操作处理一下:
若出现libfastcommon版本不匹配问题,请执行如下命令:/bin/rm -rf /usr/local/lib/libfastcommon.so /usr/local/include/fastcommon
Sorry, something went wrong.
No branches or pull requests
我是按照INSTALL安装
即:
./make.sh报错:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to
sorted_queue_init' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to
iniGetByteCorrectValueEx'/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to
fc_queue_push_queue_to_head_ex' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to
g_set_cloexec'/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to
common_blocked_queue_free_all_nodes' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to
fc_get_last_lines'/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to
fc_queue_push_ex' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to
log_get_level_caption_ex'/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to
fc_get_first_lines' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to
fast_timer_add_ex'/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to
split_string_ex' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libserverframe.so: undefined reference to
g_tcp_quick_ack'collect2: error: ld returned 1 exit status
make: *** [Makefile:60: fdfs_monitor] Error 1
The text was updated successfully, but these errors were encountered: