Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
FAILED: ../../../src/ninja cd /data/data/com.termux/files/usr/tmp/pip-install-pecgye5u/ninja/src && /data/data/com.termux/files/usr/bin/python configure.py --bootstrap ./src/util.cc:578:7: error: use of undeclared identifier 'getloadavg' if (getloadavg(loadavg, 3) < 0) { ^ 1 error generated. bootstrapping ninja... warning: A compatible version of re2c (>= 0.11.3) was not found; changes to src/*.in.cc will not affect your build. when running: g++ -MMD -MT build/util.o -MF build/util.o.d -g -Wall -Wextra -Wno-deprecated -Wno-missing-field-initializers -Wno-unused-parameter -fno-rtti -fno-exceptions -fvisibility=hidden -pipe '-DNINJA_PYTHON="python"' -O2 -DNDEBUG -fdiagnostics-color -DUSE_PPOLL -DNINJA_HAVE_BROWSE -I. -c ./src/util.cc -o build/util.o Traceback (most recent call last): File "configure.py", line 515, in <module> objs += cxx(name, variables=cxxvariables) File "configure.py", line 284, in cxx return n.build(built(name + objext), 'cxx', src(name + '.cc'), **kwargs) File "configure.py", line 164, in build self._run_command(self._expand(cmd, local_vars)) File "configure.py", line 189, in _run_command subprocess.check_call(cmdline, shell=True) File "/data/data/com.termux/files/usr/lib/python3.7/subprocess.py", line 347, in check_call raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'g++ -MMD -MT build/util.o -MF build/util.o.d -g -Wall -Wextra -Wno-deprecated -Wno-missing-field-initializers -Wno-unused-parameter -fno-rtti -fno-exceptions -fvisib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.