-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
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
Make onnc failed #11
Comments
Sophon target no longer supports automake building system, but the building commands haven't been cleaned in I made ONNC/onnc#59 and requested for review. During the pending time, you may like to use The usage is as same as |
I use "./build.cmake.sh", but meet another trouble: -- Found BISON: /usr/bin/bison (found version "3.0.4")
Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set CMake Error: The following variables are used in this project, but they are set to NOTFOUND. -- Configuring incomplete, errors occurred! |
Let me fix it...... |
ONNC/onnc#59 has been checked in, and I successfully built with I'll still fixing Sorry for the inconvenience and thanks you for unearth the bugs. |
I got the "success" with some errors. [/media/walker/DATA/work/onnc/onnc-umbrella/build-dbg] leave |
It seems like you lost You can remove Let the |
It still doesn't work. |
I made 2 PRs, both of them will fix it. Let's waiting for review, or you can give these patches a try. |
Yes, it works! |
how to solve this error??
-- Configuring incomplete, errors occurred! |
Follow your step:
./build.sh dbg /opt/onnc
but meet the following error message:
/bin/bash ../../libtool --tag=CXX --mode=link g++ -std=c++14 -g -O2 -o onnc main.o ONNCApp.o ONNCConfig.o -L/home/walker/onnc/onnc-master/build-dbg/lib /home/walker/onnc/onnc-master/build-dbg/lib/libonnc.a -lprotobuf -pthread -lpthread /home/walker/onnc/onnc-master/onncroot/lib/libonnx.a /home/walker/onnc/onnc-master/onncroot/lib/libonnx_proto.a -lpthread /home/walker/onnc/onnc-master/onncroot/lib/libskypat.a -lglog -lprotobuf -lpthread -lz
libtool: link: g++ -std=c++14 -g -O2 -o onnc main.o ONNCApp.o ONNCConfig.o -pthread -L/home/walker/onnc/onnc-master/build-dbg/lib /home/walker/onnc/onnc-master/build-dbg/lib/libonnc.a /home/walker/onnc/onnc-master/onncroot/lib/libonnx.a /home/walker/onnc/onnc-master/onncroot/lib/libonnx_proto.a /home/walker/onnc/onnc-master/onncroot/lib/libskypat.a -lglog -lprotobuf -lpthread -lz -pthread
/home/walker/onnc/onnc-master/build-dbg/lib/libonnc.a(BM188xBackend.o): In function
onnc::Lower* onnc::LowerRegistry::emplace<onnc::MulLower>()': /home/walker/onnc/onnc-master/src/include/onnc/Transforms/TensorSel/LowerRegistry.h:60: undefined reference to
onnc::MulLower::MulLower()'collect2: error: ld returned 1 exit status
Makefile:455: recipe for target 'onnc' failed
make[2]: *** [onnc] Error 1
make[2]: Leaving directory '/home/walker/onnc/onnc-master/build-dbg/tools/onnc'
Makefile:406: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/walker/onnc/onnc-master/build-dbg/tools'
Makefile:530: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
[/home/walker/onnc/onnc-master/build-dbg] Make onnc failed.
Failed to execute command: 'make DESTDIR=/home/walker/onnc/onnc-master/install-dbg install'
The text was updated successfully, but these errors were encountered: