Barre Posted September 16, 2016 Share Posted September 16, 2016 Hi, I'm trying to compile a kernel using the procedure described here: https://github.com/igorpecovnik/lib apt-get -y install gitgit clone https://github.com/igorpecovnik/lib --depth 1cp lib/compile.sh ../compile.sh I've set the KERNEL_ONLY="yes" in the compile.sh script, but I get the following error after a while [ o.k. ] Compiler version [ arm-linux-gnueabihf-gcc 5.2.1 ] HOSTCC scripts/basic/fixdep/bin/sh: 1: cc: not foundscripts/Makefile.host:99: recipe for target 'scripts/basic/fixdep' failedmake[1]: *** [scripts/basic/fixdep] Error 127Makefile:398: recipe for target 'scripts_basic' failedmake: *** [scripts_basic] Error 2make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'. Stop. [ error ] ERROR in function compile_uboot [ common.sh:96 ][ error ] U-boot file not found [ u-boot-sunxi-with-spl.bin ][ o.k. ] Process terminated I wonder what i've missed or if there's some other issues. I've tried both the master branch and v2016.08 tag, same result. My system lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 16.04.1 LTSRelease: 16.04Codename: xenialLinux apu 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Any pointers would be much appreciated, Thanks in advance Link to comment Share on other sites More sharing options...
zador.blood.stained Posted September 16, 2016 Share Posted September 16, 2016 Please provide full terminal log and file "output/debug/output.log" Link to comment Share on other sites More sharing options...
Barre Posted September 16, 2016 Author Share Posted September 16, 2016 Don't exactly understand what you mean with terminal log, but attached is ht output.log Displaying message: Preparing host info Displaying message: Build host OS release xenial info ## BUILD SCRIPT ENVIRONMENT Version: 4c54309b7b1c681817dfc733d26ccf56b08aedf3 ## BUILD CONFIGURATION Build target: Board: bananapim2plus Branch: dev Kernel configuration: Repository: https://github.com/megous/linux Branch: branch:orange-pi-4.7 Config file: linux-sun8i-dev U-boot configuration: Repository: git://git.denx.de/u-boot.git Branch: tag:v2016.09 Offset: 1 Size: 0 CPU configuration: 240000 - 1200000 with ondemand Displaying message: Starting Armbian build script @host info Displaying message: Syncing clock host info Displaying message: Downloading sources info Displaying message: Checking git sources u-boot v2016.09 info Displaying message: Checking out Displaying message: Checking git sources linux-sun8i-mainline orange-pi-4.7 info Displaying message: Up to date Displaying message: Checking git sources sunxi-display-changer master info Displaying message: Up to date Displaying message: Checking git sources sunxi-tools master info Displaying message: Up to date Displaying message: Cleaning u-boot/v2016.09 info Displaying message: Cleaning linux-sun8i-mainline/orange-pi-4.7 info Displaying message: Cleaning output/debs for bananapim2plus dev info Displaying message: Started patching process for u-boot u-boot-dev info Displaying message: Looking for user patches in userpatches/u-boot/u-boot-dev info Displaying message: ... add-awsom-uboot.patch succeeded info Displaying message: ... add-cubieboard4.patch succeeded info Displaying message: ... add-lime2-emmc.patch succeeded info Displaying message: ... add-missing-h3-boards.patch succeeded info Displaying message: ... adjust-h3-dram-frequency.patch succeeded info Displaying message: ... disable-usb-keyboards.patch succeeded info Displaying message: ... u-boot-set-safe-axi_apb-clock-dividers.patch succeeded info Displaying message: Compiling uboot 2016.09 info Displaying message: Compiler version arm-linux-gnueabihf-gcc 5.2.1 info Displaying message: ERROR in function compile_uboot common.sh:96 err Displaying message: U-boot file not found u-boot-sunxi-with-spl.bin err Displaying message: Process terminated info Link to comment Share on other sites More sharing options...
Barre Posted September 17, 2016 Author Share Posted September 17, 2016 Hi, I retried in a new, clean docker container and it works this time. Thanks. 1 Link to comment Share on other sites More sharing options...
Recommended Posts