[ 93%] Linking CXX executable /smartview/devel/lib/t3/t3_node [ 94%] Built target smartview_player [ 95%] Built target websocket_server_node [ 96%] Built target smartview_common /usr/bin/ld: /usr/local/lib/libprotobuf.so: undefined reference to symbol 'inflateEnd' /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libz.so: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status t3/CMakeFiles/t3_node.dir/build.make:319: recipe for target '/smartview/devel/lib/t3/t3_node' failed make[2]: *** [/smartview/devel/lib/t3/t3_node] Error 1 CMakeFiles/Makefile2:3555: recipe for target 't3/CMakeFiles/t3_node.dir/all' failed make[1]: *** [t3/CMakeFiles/t3_node.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... Consolidate compiler generated dependencies of target smartview_network [ 96%] Built target smartview_network Makefile:145: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j20 -l20" failed
时间: 2023-09-18 07:12:23 浏览: 287
AnIntroductiontoGCC.zip_Linux/Unix编程_Unix_Linux_
这段提示信息是一个编译错误,可能是由于在编译过程中缺少了某个库文件或者链接顺序不正确导致的。具体来说,它在链接 libprotobuf 库时出现了 undefined reference to symbol 'inflateEnd' 的错误,这是由于缺少 zlib 库导致的。你需要检查你的编译环境是否正确安装了 zlib 库,并且在链接时是否将它加入到链接命令中。
阅读全文