Octavei
Octavei
Anyone solved this problem?
In the Android environment, can we compile a runtime like in ubuntu?
> Why not run a light client? Should be much more battery friendly :P > Why not run a light client? Should be much more battery friendly :P I just...
error info: ``` root@localhost:~/substrate# cargo build --releas e --bin node-template Compiling node-template v4.0.0-dev (/root/substrate/bin/node-template/node) error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/root/.rustup/toolcha ins/nightly-aarch64-unknown-linux-gnu/lib/rustlib/aarch64-unknown-linux-gnu/bin:/root/.cargo/bin :/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/b in:/sbin:/bin:/usr/games:/usr/local/games:/snap/...
``` root@localhost:~/substrate# rustup show Default host: aarch64-unknown-linux-gnu rustup home: /root/.rustup installed toolchains -------------------- stable-aarch64-unknown-linux-gnu nightly-aarch64-unknown-linux-gnu (default) installed targets for active toolchain -------------------------------------- aarch64-unknown-linux-gnu wasm32-unknown-unknown active toolchain ---------------- nightly-aarch64-unknown-linux-gnu (default) rustc...
commands in Termux(andriod 13) ``` pkg install proot-distro proot-distro install ubuntu proot-distro login ubuntu git clone https://github.com/paritytech/substrate.git cd substrate cargo build --release --bin node-template ``` Before cargo build, I installed...
error info ``` Compiling sp-npos-elections-fuzzer v2.0.0-alpha.5 (/home/wjy/Desktop/substrate/primitives/npos-elections/fuzzer) Compiling sp-test-primitives v2.0.0 (/home/wjy/Desktop/substrate/primitives/test-primitives) The following warnings were emitted during compilation: warning: rocksdb/env/io_posix.cc:1001:41: error: use of undeclared identifier 'POSIX_MADV_NORMAL' warning: Madvise(mmapped_region_, length_, POSIX_MADV_NORMAL);...
> We are not officially support aarch64 on android. I mean I know that Substrate compiles on aarch64. You should ensure that you have enough main memory. Your error output...
``` error: failed to run custom build command for `reth-mdbx-sys v0.12.1-0 (https://github.com/paradigmxyz/reth.git?rev=aa6f2cb0610fb4fa0926b42cfed7f8ff51e0db8a#aa6f2cb0)` note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. Caused...
I'm not quite sure what is causing this err. Because I was able to compile and pass it a few days ago.