We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
python build_deps.py时报错 报错信息如下: [100%] Building CXX object tools/converter/CMakeFiles/MNNConvert.dir/source/MNNConverter.cpp.o [100%] Linking CXX executable ../../MNNConvert /usr/bin/ld: /usr/local/lib/libprotobuf.a(arena.o): in function google::protobuf::internal::ArenaImpl::Init(bool)': arena.cc:(.text+0x3ac): undefined reference to __atomic_fetch_add_8' collect2: error: ld returned 1 exit status make[3]: *** [tools/converter/CMakeFiles/MNNConvert.dir/build.make:117: MNNConvert] Error 1 make[2]: *** [CMakeFiles/Makefile2:878: tools/converter/CMakeFiles/MNNConvert.dir/all] Error 2 make[1]: *** [CMakeFiles/Makefile2:890: tools/converter/CMakeFiles/MNNConvert.dir/rule] Error 2 make: *** [Makefile:424: MNNConvert] Error 2 pi@raspberrypi:~/zab/MNN/pymnn/pip_package $ protoc --version libprotoc 3.13.0
google::protobuf::internal::ArenaImpl::Init(bool)': arena.cc:(.text+0x3ac): undefined reference to
The text was updated successfully, but these errors were encountered:
参考下面链接的回答,请更新一下protobuf。
pytorch/pytorch#22564 (comment)
Sorry, something went wrong.
平台(如果交叉编译请再附上交叉编译目标平台): 树莓派4 python build_deps.py时报错 报错信息如下: [100%] Building CXX object tools/converter/CMakeFiles/MNNConvert.dir/source/MNNConverter.cpp.o [100%] Linking CXX executable ../../MNNConvert /usr/bin/ld: /usr/local/lib/libprotobuf.a(arena.o): in function google::protobuf::internal::ArenaImpl::Init(bool)': arena.cc:(.text+0x3ac): undefined reference to __atomic_fetch_add_8' collect2: error: ld returned 1 exit status make[3]: *** [tools/converter/CMakeFiles/MNNConvert.dir/build.make:117: MNNConvert] Error 1 make[2]: *** [CMakeFiles/Makefile2:878: tools/converter/CMakeFiles/MNNConvert.dir/all] Error 2 make[1]: *** [CMakeFiles/Makefile2:890: tools/converter/CMakeFiles/MNNConvert.dir/rule] Error 2 make: *** [Makefile:424: MNNConvert] Error 2 pi@raspberrypi:~/zab/MNN/pymnn/pip_package $ protoc --version libprotoc 3.13.0
请问你解决了吗?我更新了protobuf还是不行
@Winter-of-Cirno 请问你解决了吗,我编译了最新版本也是同样的错误
#1051
wangzhaode
No branches or pull requests
平台(如果交叉编译请再附上交叉编译目标平台): 树莓派4
python build_deps.py时报错
报错信息如下:
[100%] Building CXX object tools/converter/CMakeFiles/MNNConvert.dir/source/MNNConverter.cpp.o
[100%] Linking CXX executable ../../MNNConvert
/usr/bin/ld: /usr/local/lib/libprotobuf.a(arena.o): in function
google::protobuf::internal::ArenaImpl::Init(bool)': arena.cc:(.text+0x3ac): undefined reference to
__atomic_fetch_add_8'collect2: error: ld returned 1 exit status
make[3]: *** [tools/converter/CMakeFiles/MNNConvert.dir/build.make:117: MNNConvert] Error 1
make[2]: *** [CMakeFiles/Makefile2:878: tools/converter/CMakeFiles/MNNConvert.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:890: tools/converter/CMakeFiles/MNNConvert.dir/rule] Error 2
make: *** [Makefile:424: MNNConvert] Error 2
pi@raspberrypi:~/zab/MNN/pymnn/pip_package $ protoc --version
libprotoc 3.13.0
The text was updated successfully, but these errors were encountered: