indianmifan opened a new issue, #587: URL: https://github.com/apache/incubator-kvrocks/issues/587
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-kvrocks/issues) and found no similar issues. ### Version building Kvrocks, commit id: 411bf43710679a7fa8a5c4b5e4946225757be562 -- Available event backends: -- CMAKE_BINARY_DIR: /Users/mifan/incubator-kvrocks/build -- CMAKE_CURRENT_BINARY_DIR: /Users/mifan/incubator-kvrocks/build/_deps/libevent-build -- CMAKE_SOURCE_DIR: /Users/mifan/incubator-kvrocks -- CMAKE_CURRENT_SOURCE_DIR: /Users/mifan/incubator-kvrocks/build/_deps/libevent-src -- PROJECT_BINARY_DIR: /Users/mifan/incubator-kvrocks/build/_deps/libevent-build -- PROJECT_SOURCE_DIR: /Users/mifan/incubator-kvrocks/build/_deps/libevent-src -- CMAKE_MODULE_PATH: /Users/mifan/incubator-kvrocks/build/_deps/libevent-src/cmake/ -- CMAKE_COMMAND: /opt/homebrew/Cellar/cmake/3.23.0/bin/cmake -- CMAKE_ROOT: /opt/homebrew/Cellar/cmake/3.23.0/share/cmake -- CMAKE_SYSTEM: Darwin-21.4.0 -- CMAKE_SYSTEM_NAME: Darwin -- CMAKE_SYSTEM_VERSION: 21.4.0 -- CMAKE_SYSTEM_PROCESSOR: arm64 -- CMAKE_SKIP_RPATH: NO -- CMAKE_VERBOSE_MAKEFILE: FALSE -- CMAKE_C_FLAGS: -Wall -Wextra -Wno-unused-parameter -Wstrict-aliasing -Wstrict-prototypes -fno-strict-aliasing -Wmissing-prototypes -Winit-self -Wmissing-field-initializers -Wdeclaration-after-statement -Waddress -Woverride-init -Wwrite-strings -Wno-unused-function -Wno-error=deprecated-declarations -Qunused-arguments -- CMAKE_BUILD_TYPE: Release -- CMAKE_C_COMPILER: /Library/Developer/CommandLineTools/usr/bin/cc (id AppleClang, clang 1, GNUC 1) -- CMAKE_AR: /Library/Developer/CommandLineTools/usr/bin/ar -- CMAKE_RANLIB: /Library/Developer/CommandLineTools/usr/bin/ranlib ### Minimal reproduce step ``` $ git clone https://github.com/apache/incubator-kvrocks.git $ cd kvrocks $ mkdir build $ ./build.sh build ``` ### What did you expect to see? successfully build ### What did you see instead? ``` ...... Consolidate compiler generated dependencies of target kvrocks [ 88%] Linking CXX executable kvrocks ld: warning: ignoring file _deps/lua-src/src/liblua.a, building for macOS-arm64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 ) Undefined symbols for architecture arm64: "_luaL_argerror", referenced from: Lua::redisMathRandom(lua_State*) in scripting.cc.o "_luaL_checkinteger", referenced from: Lua::redisMathRandom(lua_State*) in scripting.cc.o Lua::redisMathRandomSeed(lua_State*) in scripting.cc.o ...... ...... ``` ### Anything Else? _No response_ ### Are you willing to submit a PR? - [ ] I'm willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
