rstrip.sh: /home/de/openwrt/build_dir/target-x86_64_musl/gcc-7.4.0/ipkg-x86_64/gcc/usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/crtfastmath.o: relocatable
rstrip.sh: /home/de/openwrt/build_dir/target-x86_64_musl/gcc-7.4.0/ipkg-x86_64/gcc/usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libcilkrts.so. 5.0.0: shared object
rstrip.sh: /home/de/openwrt/build_dir/target-x86_64_musl/gcc-7.4.0/ipkg-x86_64/gcc/usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/collect2: exec utable
rstrip.sh: /home/de/openwrt/build_dir/target-x86_64_musl/gcc-7.4.0/ipkg-x86_64/gcc/usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/install-tools/ fixincl: executable
(cd /home/de/openwrt/build_dir/target-x86_64_musl/gcc-7.4.0/ipkg-x86_64/gcc/CONTROL; ( echo "$CONTROL"; printf "Description: "; echo "$DESCRI PTION" | sed -e 's,^[[:space:]]*, ,g'; ) > control; chmod 644 control; ( echo "#!/bin/sh"; echo "[ \"\${IPKG_NO_SCRIPT}\" = \"1\" ] && exit 0 "; echo "[ -x "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_postinst \$0 \$@" ; ) > postinst; ( echo "#!/bin/sh"; echo "[ -x "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh" ; echo "default_prerm \$0 \$@"; ) > prerm; chmod 0755 postinst prerm; echo "$V_Package_gcc_postinst" > postinst-pkg; chmod 0755 postinst-pkg; echo "$V_Package_gcc_postrm" > postrm; chmod 0755 postrm; )
install -d -m0755 /home/de/openwrt/bin/packages/x86_64/packages
/home/de/openwrt/scripts/ipkg-build -c -o 0 -g 0 /home/de/openwrt/build_dir/target-x86_64_musl/gcc-7.4.0/ipkg-x86_64/gcc /home/de/openwrt/bin /packages/x86_64/packages
Packaged contents of /home/de/openwrt/build_dir/target-x86_64_musl/gcc-7.4.0/ipkg-x86_64/gcc into /home/de/openwrt/bin/packages/x86_64/packag es/gcc_7.4.0-5_x86_64.ipk
make[3]: Leaving directory '/home/de/openwrt/feeds/packages/devel/gcc'
time: package/feeds/packages/gcc/compile#1165.93#166.51#1687.51
make[2]: Leaving directory '/home/de/openwrt'
package/Makefile:107: recipe for target '/home/de/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile' failed
make[1]: *** [/home/de/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/de/openwrt'
Build failed - please re-run with -j1 to see the real error message
/home/de/openwrt/include/toplevel.mk:225: recipe for target 'world' failed
make: *** [world] Error 1
Hi,
did you properly configure your build (make menuconfig
or at least make defconfig
)?
Regards
margau
Looks like it failed at CMake.
Please run make V=s -j1 tools/cmake/compile
to reproduce the error.
OK,let me try again
I
I reconfigured the environment, and then recompiled I encountered this problem, thank you
You're not helping yourself. Post the make V=s -j1 tools/cmake/compile
output so people can look at it.
Please use the code tags - visible as </> above the text field when you post - to include your output.
de@ubuntu:~/openwrt$ make V=s -j1 tools/cmake/compile
make[1]: Entering directory '/home/de/openwrt'
+ mkdir -p /home/de/openwrt/staging_dir/target-x86_64_musl
+ cd /home/de/openwrt/staging_dir/target-x86_64_musl
+ mkdir -p bin lib include stamp
mkdir -p /home/de/openwrt/build_dir/target-x86_64_musl/stamp
touch /home/de/openwrt/staging_dir/target-x86_64_musl/.prepared
+ mkdir -p /home/de/openwrt/staging_dir/host
+ cd /home/de/openwrt/staging_dir/host
+ mkdir -p bin lib include stamp
mkdir -p /home/de/openwrt/build_dir/host/stamp /home/de/openwrt/staging_dir/host/include/sys
install -m0644 /home/de/openwrt/tools/include/*.h /home/de/openwrt/staging_dir/host/include/
install -m0644 /home/de/openwrt/tools/include/sys/*.h /home/de/openwrt/staging_dir/host/include/sys/
ln -sf lib /home/de/openwrt/staging_dir/host/lib64
touch /home/de/openwrt/staging_dir/host/.prepared
make[2]: Entering directory '/home/de/openwrt/tools/flock'
make[2]: Leaving directory '/home/de/openwrt/tools/flock'
time: tools/flock/compile#0.04#0.01#0.06
make[2]: Entering directory '/home/de/openwrt/tools/xz'
make[2]: Leaving directory '/home/de/openwrt/tools/xz'
time: tools/xz/compile#0.04#0.02#0.12
make[2]: Entering directory '/home/de/openwrt/tools/sed'
make[2]: Leaving directory '/home/de/openwrt/tools/sed'
time: tools/sed/compile#0.05#0.02#0.14
make[2]: Entering directory '/home/de/openwrt/tools/tar'
make[2]: Leaving directory '/home/de/openwrt/tools/tar'
time: tools/tar/compile#0.04#0.04#0.12
make[2]: Entering directory '/home/de/openwrt/tools/patch'
make[2]: Leaving directory '/home/de/openwrt/tools/patch'
time: tools/patch/compile#0.05#0.02#0.07
make[2]: Entering directory '/home/de/openwrt/tools/pkg-config'
make[2]: Leaving directory '/home/de/openwrt/tools/pkg-config'
time: tools/pkg-config/compile#0.04#0.03#0.14
make[2]: Entering directory '/home/de/openwrt/tools/libressl'
make[2]: Leaving directory '/home/de/openwrt/tools/libressl'
time: tools/libressl/compile#0.07#0.06#0.31
make[2]: Entering directory '/home/de/openwrt/tools/cmake'
make[2]: Leaving directory '/home/de/openwrt/tools/cmake'
time: tools/cmake/compile#0.07#0.33#1.48
make[1]: Leaving directory '/home/de/openwrt'
de@ubuntu:~/openwrt$