This is a cache of https://discuss.96boards.org/t/build-tensorflow-on-bubblegum-96/3073. It is a snapshot of the page at 2024-10-31T02:05:31.468+0000.
Build Tensorflow on Bubblegum-96 - Bubblegum-96 - 96Boards Forum

Build Tensorflow on Bubblegum-96

Hi Guys,
I’m trying to build Tensorflow on Bubblegum-96 according to the guide on github(https://github.com/96boards/documentation/blob/master/ConsumerEdition/guides/tensorflow-installation.md). It seems the compiling is finished. But an error occurred when linking on Step 2.5. The log is like below,

“-L/usr/local/lib -lstdc++ -lprotobuf -lpthread -lm -lz -ldl -lpthread
/root/source/tensorflow/tensorflow/tensorflow/contrib/makefile/gen/host_obj/tensorflow/core/platform/env.o:
In function tensorflow::mutex::mutex()': env.cc:(.text._ZN10tensorflow5mutexC2Ev[_ZN10tensorflow5mutexC5Ev]+0x10): undefined reference to nsync::nsync_mu_init(nsync::nsync_mu_s_)’
/root/source/tensorflow/tensorflow/tensorflow/contrib/makefile/gen/host_obj/tensorflow/core/platform/env.o:
In function tensorflow::mutex::lock()': env.cc:(.text._ZN10tensorflow5mutex4lockEv[_ZN10tensorflow5mutex4lockEv]+0x10): undefined reference to nsync::nsync_mu_lock(nsync::nsync_mu_s_
)’
/root/source/tensorflow/tensorflow/tensorflow/contrib/makefile/gen/host_obj/tensorflow/core/platform/env.o:
In function tensorflow::mutex::unlock()': env.cc:(.text._ZN10tensorflow5mutex6unlockEv[_ZN10tensorflow5mutex6unlockEv]+0x10): undefined reference to nsync::nsync_mu_unlock(nsync::nsync_mu_s_*)’
collect2: error: ld returned 1 exit status”

Has it happened to anyone before? If anyone could help it will be great.

Thanks