OAID / Tengine-Convert-Tools

Tengine Convert Tool supports converting multi framworks' models into tmfile that suitable for Tengine-Lite AI framework.
Apache License 2.0
94 stars 34 forks source link

libatomic.so.1: error adding symbols: DSO missing from command line #26

Closed ghimiredhikura closed 3 years ago

ghimiredhikura commented 3 years ago

Target

Device: Raspberrypi3b+ OS: Raspberry Pi OS (32 bit)

build error:

/usr/bin/ld: ../libtengine-serializer.a(graph_task.cpp.o): undefined reference to symbol '__atomic_fetch_sub_8@@LIBATOMIC_1.0'
/usr/bin/ld: //usr/lib/arm-linux-gnueabihf/libatomic.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/tm_convert_tool.dir/build.make:512: tools/tm_convert_tool] Error 1
make[1]: *** [CMakeFiles/Makefile2:195: tools/CMakeFiles/tm_convert_tool.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Any idea please how to solve this issue?

BUG1989 commented 3 years ago

This tool can only compile on Linux-x86(maybe Ubuntu 18.04), Please try it again.

kalcohol commented 3 years ago

Hi Deepak Ghimire, convert tools was only fully tested in x86 linux for now, we do not have enough developers to support arm devices this year. So could u try to build this via x86 linux?