Closed liudb5 closed 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
libmysqlclient.a 的连接被阻断了 重新连接一下就可以了
在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