Hello, I am trying to compile tor for libreelec, for a personal project. But it gives me error, I am new to this area and I do not know if they could help me.
Code
make all-am
make[1]: Entering directory '/home/user/LibreELEC-RR/build.LibreELEC-RPi2.arm-11.0-devel/build/tor-0.4.7.6-rc/.armv7ve-libreelec-linux-gnueabihf'
CC src/app/main/main.o
CC src/app/main/risky_options.o
CC src/app/main/shutdown.o
CC src/app/main/subsystem_list.o
cc1: warning: command-line option '-Wextra-semi' is valid for C++/ObjC++ but not for C
cc1: warning: command-line option '-Wvexing-parse' is valid for C++/ObjC++ but not for C
cc1: warning: command-line option '-Wextra-semi' is valid for C++/ObjC++ but not for C
cc1: warning: command-line option '-Wvexing-parse' is valid for C++/ObjC++ but not for C
CC src/app/main/subsysmgr.o
cc1: warning: command-line option '-Wextra-semi' is valid for C++/ObjC++ but not for C
cc1: warning: command-line option '-Wvexing-parse' is valid for C++/ObjC++ but not for C
In file included from /home/user/LibreELEC-RR/build.LibreELEC-RPi2.arm-11.0-devel/build/tor-0.4.7.6-rc/src/app/main/subsysmgr.c:22:
/home/user/LibreELEC-RR/build.LibreELEC-RPi2.arm-11.0-devel/build/tor-0.4.7.6-rc/src/lib/log/util_bug.h:56:2: error: #error "Sorry; we don't support building with NDEBUG."
56 | #error "Sorry; we don't support building with NDEBUG."
| ^~~~~
cc1: warning: command-line option '-Wextra-semi' is valid for C++/ObjC++ but not for C
cc1: warning: command-line option '-Wvexing-parse' is valid for C++/ObjC++ but not for C
cc1: warning: command-line option '-Wextra-semi' is valid for C++/ObjC++ but not for C
cc1: warning: command-line option '-Wvexing-parse' is valid for C++/ObjC++ but not for C
make[1]: *** [Makefile:12660: src/app/main/subsysmgr.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from /home/user/LibreELEC-RR/build.LibreELEC-RPi2.arm-11.0-devel/build/tor-0.4.7.6-rc/src/core/or/or.h:51,
from /home/user/LibreELEC-RR/build.LibreELEC-RPi2.arm-11.0-devel/build/tor-0.4.7.6-rc/src/app/main/shutdown.c:13:
/home/user/LibreELEC-RR/build.LibreELEC-RPi2.arm-11.0-devel/build/tor-0.4.7.6-rc/src/lib/log/util_bug.h:56:2: error: #error "Sorry; we don't support building with NDEBUG."
56 | #error "Sorry; we don't support building with NDEBUG."
| ^~~~~
In file included from /home/user/LibreELEC-RR/build.LibreELEC-RPi2.arm-11.0-devel/build/tor-0.4.7.6-rc/src/core/or/or.h:51,
from /home/user/LibreELEC-RR/build.LibreELEC-RPi2.arm-11.0-devel/build/tor-0.4.7.6-rc/src/app/main/main.c:12:
/home/user/LibreELEC-RR/build.LibreELEC-RPi2.arm-11.0-devel/build/tor-0.4.7.6-rc/src/lib/log/util_bug.h:56:2: error: #error "Sorry; we don't support building with NDEBUG."
56 | #error "Sorry; we don't support building with NDEBUG."
| ^~~~~
make[1]: *** [Makefile:12660: src/app/main/shutdown.o] Error 1
make[1]: *** [Makefile:12660: src/app/main/main.o] Error 1
make[1]: Leaving directory '/home/user/LibreELEC-RR/build.LibreELEC-RPi2.arm-11.0-devel/build/tor-0.4.7.6-rc/.armv7ve-libreelec-linux-gnueabihf'
make: *** [Makefile:7468: all] Error 2
FAILURE: scripts/build tor during make_target (default)
*********** FAILED COMMAND ***********
make ${PKG_MAKE_OPTS_TARGET}
**************************************
Display More
The error from what I see is with the make and I do not understand much more to add it. Thank you