Qihoo360 / QConf

Qihoo Distributed Configuration Management System
Other
1.87k stars 536 forks source link

Cmake编译报错 #134

Open longfeiRen opened 2 years ago

longfeiRen commented 2 years ago

make[1]: Leaving directory '/var/www/html/QConf/deps/gdbm/po' Making install in src make[1]: Entering directory '/var/www/html/QConf/deps/gdbm/src' LEX lex.c CCLD gdbmtool /usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./libgdbmapp.a(parseopt.o):/var/www/html/QConf/deps/gdbm/src/parseopt.c:255: multiple definition of parseopt_program_args'; gdbmtool.o:/var/www/html/QConf/deps/gdbm/src/gdbmtool.c:1111: first defined here /usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./libgdbmapp.a(parseopt.o):/var/www/html/QConf/deps/gdbm/src/parseopt.c:254: multiple definition ofparseopt_program_doc'; gdbmtool.o:/var/www/html/QConf/deps/gdbm/src/gdbmtool.c:1110: first defined here collect2: error: ld returned 1 exit status make[1]: Leaving directory '/var/www/html/QConf/deps/gdbm/src' make[1]: [Makefile:675: gdbmtool] Error 1 make: [Makefile:461: install-recursive] Error 1

longfeiRen commented 2 years ago

gdbm更新到1.19,已经解决了