Skip to content
New issue

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

Ubuntu 编译 C 解密程序报错 #1213

Open
1 task
porum opened this issue Dec 29, 2023 · 0 comments · May be fixed by #1214
Open
1 task

Ubuntu 编译 C 解密程序报错 #1213

porum opened this issue Dec 29, 2023 · 0 comments · May be fixed by #1214

Comments

@porum
Copy link

porum commented Dec 29, 2023

[ 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

@porum porum linked a pull request Dec 29, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant