Tencent / mars

Mars is a cross-platform network component developed by WeChat.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ubuntu 编译 C 解密程序报错

porum opened this issue · comments

[ 97%] Building C object CMakeFiles/decode_log_file.dir/decode_log_file.c.o
[ 97%] Building C object CMakeFiles/decode_log_file.dir/micro-ecc-master/uECC.c.o
/home/xxx/Documents/mars/mars/xlog/crypt/decode_log_file_c_impl/decode_log_file.c: In function ‘zstdDecompress’:
/home/xxx/Documents/mars/mars/xlog/crypt/decode_log_file_c_impl/decode_log_file.c:212:13: error: ‘lastPos’ undeclared (first use in this function)
212 | if (lastPos == output.pos) {
| ^~~~~~~
/home/xxx/Documents/mars/mars/xlog/crypt/decode_log_file_c_impl/decode_log_file.c:212:13: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [CMakeFiles/decode_log_file.dir/build.make:63:CMakeFiles/decode_log_file.dir/decode_log_file.c.o] 错误 1
make[2]: *** 正在等待未完成的任务....
make[1]: *** [CMakeFiles/Makefile2:99:CMakeFiles/decode_log_file.dir/all] 错误 2
make: *** [Makefile:130:all] 错误 2

Tasks