kcat / openal-soft

OpenAL Soft is a software implementation of the OpenAL 3D audio API.
Other
2.16k stars 522 forks source link

ld error: undefined symbol #905

Closed terrencetang2023 closed 1 year ago

terrencetang2023 commented 1 year ago

I get a lot of error when arm cross-compiles: undefined symbols

The error log is as follows:

`[ 86%] Linking C executable openal-info /data/local/ohos-sdk/linux/native/build-tools/cmake/bin/cmake -E cmake_link_script CMakeFiles/openal-info.dir/link.txt --verbose=1 /data/local/ohos-sdk/linux/native/llvm/bin/clang --target=arm-linux-ohos --gcc-toolchain=/data/local/ohos-sdk/linux/native/llvm --sysroot=/data/local/ohos-sdk/linux/native/sysroot -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fno-addrsig -Wa,--noexecstack -Wformat -Werror=format-security -march=armv7a -DMUSL -O2 -DNDEBUG --rtlib=compiler-rt -fuse-ld=lld -Wl,--build-id=sha1 -Wl,--warn-shared-textrel -Wl,--fatal-warnings -lunwind -Wl,--no-undefined -Qunused-arguments -Wl,-z,noexecstack -Wl,--gc-sections CMakeFiles/openal-info.dir/utils/openal-info.c.o -o openal-info -pthread libopenal.so.1.23.1 -lm ld.lld: error: undefined symbol: alcIsExtensionPresent

referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced 4 more times

ld.lld: error: undefined symbol: alcGetString

referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced 13 more times

ld.lld: error: undefined symbol: alcOpenDevice

referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)

ld.lld: error: undefined symbol: alcGetProcAddress

referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)

ld.lld: error: undefined symbol: alcGetIntegerv

referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced 5 more times

ld.lld: error: undefined symbol: alcGetError

referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced 6 more times

ld.lld: error: undefined symbol: alcCreateContext

referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)

ld.lld: error: undefined symbol: alcMakeContextCurrent

referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)

ld.lld: error: undefined symbol: alcDestroyContext

referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)

ld.lld: error: undefined symbol: alcCloseDevice

referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)

ld.lld: error: undefined symbol: alGetString

referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced 6 more times

ld.lld: error: undefined symbol: alGetError

referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced 8 more times

ld.lld: error: undefined symbol: alIsExtensionPresent

referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)

ld.lld: error: undefined symbol: alGetProcAddress

referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced 4 more times

ld.lld: error: undefined symbol: alGetInteger

referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) referenced by openal-info.c CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main) [ 87%] Linking C executable allatency /data/local/ohos-sdk/linux/native/build-tools/cmake/bin/cmake -E cmake_link_script CMakeFiles/allatency.dir/link.txt --verbose=1 /data/local/ohos-sdk/linux/native/llvm/bin/clang --target=arm-linux-ohos --gcc-toolchain=/data/local/ohos-sdk/linux/native/llvm --sysroot=/data/local/ohos-sdk/linux/native/sysroot -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fno-addrsig -Wa,--noexecstack -Wformat -Werror=format-security -march=armv7a -DMUSL -O2 -DNDEBUG --rtlib=compiler-rt -fuse-ld=lld -Wl,--build-id=sha1 -Wl,--warn-shared-textrel -Wl,--fatal-warnings -lunwind -Wl,--no-undefined -Qunused-arguments -Wl,-z,noexecstack -Wl,--gc-sections CMakeFiles/allatency.dir/examples/allatency.c.o -o allatency -pthread /home/tangshaoteng/codes/tpc_c_cplusplus/lycium/usr/libsndfile/armeabi-v7a/lib/libsndfile.a libex-common.a libopenal.so.1.23.1 -lrt -lm clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [CMakeFiles/openal-info.dir/build.make:85:openal-info] 错误 1 make[2]: 离开目录“/home/tangshaoteng/codes/tpc_c_cplusplus/thirdparty/openal-soft/openal-soft-1.23.1/armeabi-v7a-build” make[1]: [CMakeFiles/Makefile2:236:CMakeFiles/openal-info.dir/all] 错误 2 make[1]: *** 正在等待未完成的任务.... [ 87%] Linking C executable alhrtf /data/local/ohos-sdk/linux/native/build-tools/cmake/bin/cmake -E cmake_link_script CMakeFiles/alhrtf.dir/link.txt --verbose=1 /data/local/ohos-sdk/linux/native/llvm/bin/clang --target=arm-linux-ohos --gcc-toolchain=/data/local/ohos-sdk/linux/native/llvm --sysroot=/data/local/ohos-sdk/linux/native/sysroot -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fno-addrsig -Wa,--noexecstack -Wformat -Werror=format-security -march=armv7a -DMUSL -O2 -DNDEBUG --rtlib=compiler-rt -fuse-ld=lld -Wl,--build-id=sha1 -Wl,--warn-shared-textrel -Wl,--fatal-warnings -lunwind -Wl,--no-undefined -Qunused-arguments -Wl,-z,noexecstack -Wl,--gc-sections CMakeFiles/alhrtf.dir/examples/alhrtf.c.o -o alhrtf -pthread /home/tangshaoteng/codes/tpc_c_cplusplus/lycium/usr/libsndfile/armeabi-v7a/lib/libsndfile.a libex-common.a -lm libopenal.so.1.23.1 -lrt -lm ld.lld: error: undefined symbol: alIsExtensionPresent referenced by allatency.c CMakeFiles/allatency.dir/examples/allatency.c.o:(main)

ld.lld: error: undefined symbol: alGetProcAddress

referenced by allatency.c CMakeFiles/allatency.dir/examples/allatency.c.o:(main) referenced by allatency.c CMakeFiles/allatency.dir/examples/allatency.c.o:(main) referenced by allatency.c CMakeFiles/allatency.dir/examples/allatency.c.o:(main) referenced 9 more times

ld.lld: error: undefined symbol: alGenBuffers

referenced by allatency.c CMakeFiles/allatency.dir/examples/allatency.c.o:(main)

ld.lld: error: undefined symbol: alBufferData

referenced by allatency.c CMakeFiles/allatency.dir/examples/allatency.c.o:(main)

ld.lld: error: undefined symbol: alGetError

referenced by allatency.c CMakeFiles/allatency.dir/examples/allatency.c.o:(main) referenced by allatency.c CMakeFiles/allatency.dir/examples/allatency.c.o:(main)

ld.lld: error: undefined symbol: alGenSources

referenced by allatency.c CMakeFiles/allatency.dir/examples/allatency.c.o:(main)

ld.lld: error: undefined symbol: alSourcei

referenced by allatency.c CMakeFiles/allatency.dir/examples/allatency.c.o:(main)

ld.lld: error: undefined symbol: alSourcePlay

referenced by allatency.c CMakeFiles/allatency.dir/examples/allatency.c.o:(main)

ld.lld: error: undefined symbol: alGetSourcei

referenced by allatency.c CMakeFiles/allatency.dir/examples/allatency.c.o:(main)

ld.lld: error: undefined symbol: alDeleteSources

referenced by allatency.c CMakeFiles/allatency.dir/examples/allatency.c.o:(main)

ld.lld: error: undefined symbol: alDeleteBuffers

referenced by allatency.c CMakeFiles/allatency.dir/examples/allatency.c.o:(main) referenced by allatency.c CMakeFiles/allatency.dir/examples/allatency.c.o:(main)

ld.lld: error: undefined symbol: alGetString

referenced by allatency.c CMakeFiles/allatency.dir/examples/allatency.c.o:(main)

ld.lld: error: undefined symbol: alIsBuffer

referenced by allatency.c CMakeFiles/allatency.dir/examples/allatency.c.o:(main)

ld.lld: error: undefined symbol: alcOpenDevice

referenced by alhelpers.c alhelpers.c.o:(InitAL) in archive libex-common.a referenced by alhelpers.c alhelpers.c.o:(InitAL) in archive libex-common.a

ld.lld: error: undefined symbol: alcCreateContext

referenced by alhelpers.c alhelpers.c.o:(InitAL) in archive libex-common.a

ld.lld: error: undefined symbol: alcMakeContextCurrent

referenced by alhelpers.c alhelpers.c.o:(InitAL) in archive libex-common.a referenced by alhelpers.c alhelpers.c.o:(CloseAL) in archive libex-common.a

ld.lld: error: undefined symbol: alcIsExtensionPresent

referenced by alhelpers.c alhelpers.c.o:(InitAL) in archive libex-common.a

ld.lld: error: undefined symbol: alcGetString

referenced by alhelpers.c alhelpers.c.o:(InitAL) in archive libex-common.a referenced by alhelpers.c alhelpers.c.o:(InitAL) in archive libex-common.a

ld.lld: error: undefined symbol: alcGetError

referenced by alhelpers.c alhelpers.c.o:(InitAL) in archive libex-common.a

ld.lld: error: undefined symbol: alcDestroyContext

referenced by alhelpers.c alhelpers.c.o:(InitAL) in archive libex-common.a referenced by alhelpers.c alhelpers.c.o:(CloseAL) in archive libex-common.a

ld.lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors) clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [CMakeFiles/allatency.dir/build.make:87:allatency] 错误 1 make[2]: 离开目录“/home/tangshaoteng/codes/tpc_c_cplusplus/thirdparty/openal-soft/openal-soft-1.23.1/armeabi-v7a-build” make[1]: [CMakeFiles/Makefile2:153:CMakeFiles/allatency.dir/all] 错误 2 ld.lld: error: undefined symbol: alcGetCurrentContext

referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main) referenced by alhelpers.c alhelpers.c.o:(CloseAL) in archive libex-common.a

ld.lld: error: undefined symbol: alcGetContextsDevice

referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main) referenced by alhelpers.c alhelpers.c.o:(CloseAL) in archive libex-common.a

ld.lld: error: undefined symbol: alcIsExtensionPresent

referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main) referenced by alhelpers.c alhelpers.c.o:(InitAL) in archive libex-common.a

ld.lld: error: undefined symbol: alcGetProcAddress

referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main) referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main)

ld.lld: error: undefined symbol: alIsExtensionPresent

referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main)

ld.lld: error: undefined symbol: alcGetIntegerv

referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main) referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main)

ld.lld: error: undefined symbol: alcGetError

referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main) referenced by alhelpers.c alhelpers.c.o:(InitAL) in archive libex-common.a

ld.lld: error: undefined symbol: alcGetString

referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main) referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main) referenced by alhelpers.c alhelpers.c.o:(InitAL) in archive libex-common.a referenced 1 more times

ld.lld: error: undefined symbol: alGenBuffers

referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main)

ld.lld: error: undefined symbol: alBufferData

referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main)

ld.lld: error: undefined symbol: alGetError

referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main) referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main)

ld.lld: error: undefined symbol: alGenSources

referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main)

ld.lld: error: undefined symbol: alSourcei

referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main) referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main)

ld.lld: error: undefined symbol: alSource3f

referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main) referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main)

ld.lld: error: undefined symbol: alSourcePlay

referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main)

ld.lld: error: undefined symbol: alcProcessContext

referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main)

ld.lld: error: undefined symbol: alGetSourcei

referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main)

ld.lld: error: undefined symbol: alcSuspendContext

referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main)

ld.lld: error: undefined symbol: alSourcefv

referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main)

ld.lld: error: undefined symbol: alDeleteSources

referenced by alhrtf.c CMakeFiles/alhrtf.dir/examples/alhrtf.c.o:(main)

ld.lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors) clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [CMakeFiles/alhrtf.dir/build.make:87:alhrtf] 错误 1 make[2]: 离开目录“/home/tangshaoteng/codes/tpc_c_cplusplus/thirdparty/openal-soft/openal-soft-1.23.1/armeabi-v7a-build” make[1]: [CMakeFiles/Makefile2:181:CMakeFiles/alhrtf.dir/all] 错误 2 [ 88%] Linking CXX executable alstreamcb /data/local/ohos-sdk/linux/native/build-tools/cmake/bin/cmake -E cmake_link_script CMakeFiles/alstreamcb.dir/link.txt --verbose=1 /data/local/ohos-sdk/linux/native/llvm/bin/clang++ --target=arm-linux-ohos --gcc-toolchain=/data/local/ohos-sdk/linux/native/llvm --sysroot=/data/local/ohos-sdk/linux/native/sysroot -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fno-addrsig -Wa,--noexecstack -Wformat -Werror=format-security -march=armv7a -DMUSL -O2 -DNDEBUG --rtlib=compiler-rt -fuse-ld=lld -Wl,--build-id=sha1 -Wl,--warn-shared-textrel -Wl,--fatal-warnings -lunwind -Wl,--no-undefined -Qunused-arguments -Wl,-z,noexecstack -Wl,--gc-sections CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o -o alstreamcb -pthread /home/tangshaoteng/codes/tpc_c_cplusplus/lycium/usr/libsndfile/armeabi-v7a/lib/libsndfile.a libex-common.a libopenal.so.1.23.1 -lrt -lm ld.lld: error: undefined symbol: alIsExtensionPresent

referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main) referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main) referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main) referenced 3 more times

ld.lld: error: undefined symbol: alGetProcAddress

referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main)

ld.lld: error: undefined symbol: alcGetCurrentContext

referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main) referenced by alhelpers.c alhelpers.c.o:(CloseAL) in archive libex-common.a

ld.lld: error: undefined symbol: alcGetContextsDevice

referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main) referenced by alhelpers.c alhelpers.c.o:(CloseAL) in archive libex-common.a

ld.lld: error: undefined symbol: alcGetIntegerv

referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main)

ld.lld: error: undefined symbol: alGenBuffers

referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main)

ld.lld: error: undefined symbol: alGetError

referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main) referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main) referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main) referenced 1 more times

ld.lld: error: undefined symbol: alGenSources

referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main)

ld.lld: error: undefined symbol: alBufferi

referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main) referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main) referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main) referenced 1 more times

ld.lld: error: undefined symbol: alSourceRewind

referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main) referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main) referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main)

ld.lld: error: undefined symbol: alSourcei

referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main) referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main) referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main) referenced 1 more times

ld.lld: error: undefined symbol: alGetSourcei

referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main) referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main)

ld.lld: error: undefined symbol: alSourcePlay

referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main)

ld.lld: error: undefined symbol: alGetString

referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main)

ld.lld: error: undefined symbol: alDeleteBuffers

referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(main) referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(std::__n1::unique_ptr<(anonymous namespace)::StreamPlayer, std::__n1::default_delete<(anonymous namespace)::StreamPlayer>>::~unique_ptr[abi:v15004]())

ld.lld: error: undefined symbol: alDeleteSources

referenced by alstreamcb.cpp CMakeFiles/alstreamcb.dir/examples/alstreamcb.cpp.o:(std::__n1::unique_ptr<(anonymous namespace)::StreamPlayer, std::__n1::default_delete<(anonymous namespace)::StreamPlayer>>::~unique_ptr[abi:v15004]())

ld.lld: error: undefined symbol: alcOpenDevice

referenced by alhelpers.c alhelpers.c.o:(InitAL) in archive libex-common.a referenced by alhelpers.c alhelpers.c.o:(InitAL) in archive libex-common.a

ld.lld: error: undefined symbol: alcCreateContext

referenced by alhelpers.c alhelpers.c.o:(InitAL) in archive libex-common.a

ld.lld: error: undefined symbol: alcMakeContextCurrent

referenced by alhelpers.c alhelpers.c.o:(InitAL) in archive libex-common.a referenced by alhelpers.c alhelpers.c.o:(CloseAL) in archive libex-common.a

ld.lld: error: undefined symbol: alcIsExtensionPresent

referenced by alhelpers.c alhelpers.c.o:(InitAL) in archive libex-common.a

ld.lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors) clang++: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [CMakeFiles/alstreamcb.dir/build.make:87:alstreamcb] 错误 1 make[2]: 离开目录“/home/tangshaoteng/codes/tpc_c_cplusplus/thirdparty/openal-soft/openal-soft-1.23.1/armeabi-v7a-build” make[1]: [CMakeFiles/Makefile2:125:CMakeFiles/alstreamcb.dir/all] 错误 2 make[1]: 离开目录“/home/tangshaoteng/codes/tpc_c_cplusplus/thirdparty/openal-soft/openal-soft-1.23.1/armeabi-v7a-build” make: *** [Makefile:130:all] 错误 2 make: 离开目录“/home/tangshaoteng/codes/tpc_c_cplusplus/thirdparty/openal-soft/openal-soft-1.23.1/armeabi-v7a-build” `

terrencetang2023 commented 1 year ago

The problem has been solved, close this issue