TarsCloud / Tars

Tars is a high-performance RPC framework based on name service and Tars protocol, also integrated administration platform, and implemented hosting-service via flexible schedule.
BSD 3-Clause "New" or "Revised" License
9.8k stars 2.08k forks source link

recipe for target 'all' failed #415

Closed liudb5 closed 5 years ago

liudb5 commented 5 years ago

在Ubuntu执行 build.sh all 的时候报错 /home/liudb/github.com/TarCloud/TarsFramework/tarscpp/servant/tup/tup.h:384:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] respPacket.iRequestId = iRequestId; ^~~~~~ make[2]: 没有规则可制作目标“/usr/local/mysql/lib/libmysqlclient.a”,由“deploy/tarsconfig/bin/tarsconfig” 需求。 停止。 CMakeFiles/Makefile2:1373: recipe for target 'ConfigServer/CMakeFiles/tarsconfig.dir/all' failed make[1]: [ConfigServer/CMakeFiles/tarsconfig.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2

liudb5 commented 5 years ago

libmysqlclient.a 的连接被阻断了 重新连接一下就可以了