Skip to content

Instantly share code, notes, and snippets.

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 --bootstrap ./src/ 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/* 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/ -o build/util.o Traceback (most recent call last): File "", line 515, in <module> objs += cxx(name, variables=cxxvariables) File "", line 284, in cxx return + objext), 'cxx', src(name + '.cc'), **kwargs) File "", line 164, in build self._run_command(self._expand(cmd, local_vars)) File "", line 189, in _run_command subprocess.check_call(cmdline, shell=True) File "/data/data/com.termux/files/usr/lib/python3.7/", 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.