compile.22
build number: 22
re-implement command
docker pull immortalwrt/opde:sdk
docker run -it --rm immortalwrt/opde:sdk zsh # or bash
export http_proxy= # [your proxy], do not use localhost or 127.0.0.1
export https_proxy=$http_proxy
opde feeds && opde config -a
make package/feeds/packages/netatop/compile -j$(nproc) || make package/feeds/packages/netatop/compile V=s
Compile.txt
Applying ./patches/010-daemon-makefile-ldflags.patch using plaintext:
patching file daemon/Makefile
make[4]: Entering directory '/openwrt/build_dir/target-aarch64_cortex-a53_musl/netatop-3.1/module'
echo start the make
start the make
make -C /openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/linux-4.19.204 M=/openwrt/build_dir/target-aarch64_cortex-a53_musl/netatop-3.1/module modules
make[5]: Entering directory '/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/linux-4.19.204'
CC [M] /openwrt/build_dir/target-aarch64_cortex-a53_musl/netatop-3.1/module/netatop.o
Building modules, stage 2.
MODPOST 1 modules
CC /openwrt/build_dir/target-aarch64_cortex-a53_musl/netatop-3.1/module/netatop.mod.o
LD [M] /openwrt/build_dir/target-aarch64_cortex-a53_musl/netatop-3.1/module/netatop.ko
/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/aarch64-openwrt-linux-musl-ld: cannot open linker script file ./arch/arm64/kernel/module.lds: No such file or directory
make[6]: *** [scripts/Makefile.modpost:129: /openwrt/build_dir/target-aarch64_cortex-a53_musl/netatop-3.1/module/netatop.ko] Error 1
make[5]: *** [Makefile:1548: modules] Error 2
make[5]: Leaving directory '/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/linux-4.19.204'
make[4]: *** [Makefile:10: netatop.ko] Error 2
make[4]: Leaving directory '/openwrt/build_dir/target-aarch64_cortex-a53_musl/netatop-3.1/module'
make[3]: *** [Makefile:89: /openwrt/build_dir/target-aarch64_cortex-a53_musl/netatop-3.1/.built] Error 2