编译编译 Tina Linux失败
-
我看到东山pi的官网有说输入以下命令可以解决,但我试了还是不行
book@100ask:~/workspace/tina-v853$ chmod 755 /home/book/workspace/tina-v853/openwrt/target/v851s/v851s-lizard/busybox-init-base-files_generate/mk_extra_dir.sh
root@myUbuntu:/home/cunjiang/tina-v853# make V=s -j1 ===There is tina environment.=== Note: make is the shell functon in envsetup.sh. == action: openwrt_build, action_args: V=s -j1 == ========ACTION List: build_linuxdev V=s -j1;======== options : INFO: ---------------------------------------- INFO: build linuxdev ... INFO: chip: sun8iw21p1 INFO: platform: linux INFO: kernel: linux-4.9 INFO: board: lizard INFO: output: /home/cunjiang/tina-v853/out/v851s/lizard/openwrt INFO: ---------------------------------------- INFO: don't build dtbo ... INFO: build arisc INFO: build_bootloader: brandy_path= /home/cunjiang/tina-v853/brandy/brandy-2.0 INFO: skip build brandy. INFO: build kernel ... INFO: Prepare toolchain ... Building kernel /home/cunjiang/tina-v853/kernel/linux-4.9/output/lib/modules/4.9.191 CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CHK scripts/mod/devicetable-offsets.h CHK include/generated/timeconst.h CHK include/generated/bounds.h CHK include/generated/asm-offsets.h CALL scripts/checksyscalls.sh CHK include/generated/compile.h DTC arch/arm/boot/dts/board.dtb Kernel: arch/arm/boot/Image is ready Building modules, stage 2. MODPOST 16 modules Kernel: arch/arm/boot/zImage is ready Kernel: arch/arm/boot/uImage is ready 'arch/arm/boot/Image' -> 'output/bImage' 'arch/arm/boot/uImage' -> 'output/uImage' 'arch/arm/boot/zImage' -> 'output/zImage' Copy rootfs.cpio.gz for arm Building modules [GPU]: No GPU type is configured in /home/cunjiang/tina-v853/kernel/linux-4.9/.config. INFO: build dts ... INFO: Prepare toolchain ... removed '/home/cunjiang/tina-v853/out/v851s/lizard/openwrt/.board.dtb.d.dtc.tmp' removed '/home/cunjiang/tina-v853/out/v851s/lizard/openwrt/.board.dtb.dts.tmp' '/home/cunjiang/tina-v853/kernel/linux-4.9/arch/arm/boot/dts/.board.dtb.d.dtc.tmp' -> '/home/cunjiang/tina-v853/out/v851s/lizard/openwrt/.board.dtb.d.dtc.tmp' '/home/cunjiang/tina-v853/kernel/linux-4.9/arch/arm/boot/dts/.board.dtb.dts.tmp' -> '/home/cunjiang/tina-v853/out/v851s/lizard/openwrt/.board.dtb.dts.tmp' INFO: build rootfs ... ==mkcmd.sh: build_openwrt_rootfs V=s -j1== make: Entering directory '/home/cunjiang/tina-v853/openwrt/openwrt' make[1]: Entering directory '/home/cunjiang/tina-v853/openwrt/openwrt' CreateSoftLink /home/cunjiang/tina-v853/openwrt/openwrt/tmp link to /home/cunjiang/tina-v853/out/v851s/lizard/openwrt/tmp CreateSoftLink /home/cunjiang/tina-v853/openwrt/openwrt/staging_dir link to /home/cunjiang/tina-v853/out/v851s/lizard/openwrt/staging_dir make[2]: Entering directory '/home/cunjiang/tina-v853/openwrt/openwrt' make[2]: Leaving directory '/home/cunjiang/tina-v853/openwrt/openwrt' Check Vendor Package... CreateSoftLink /home/cunjiang/tina-v853/openwrt/openwrt/package/subpackage link to /home/cunjiang/tina-v853/openwrt/package end WARNING: Makefile 'package/subpackage/allwinner/multimedia/tina_multimedia_demo/decodertest/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/allwinner/multimedia/tina_multimedia_demo/encoderStressTest/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/allwinner/multimedia/tina_multimedia_demo/encodertest/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-libav/Makefile' has a build dependency on 'libgstreamer1', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-libav/Makefile' has a build dependency on 'gstreamer1-plugins-base', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-omx/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-omx/Makefile' has a dependency on 'libgst1gl', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-aw/Makefile' has a build dependency on 'libgstreamer1', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-aw/Makefile' has a build dependency on 'gstreamer1-plugins-base', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-aw/Makefile' has a build dependency on 'gstreamer1-plugins-good', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile' has a dependency on 'wayland', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile' has a dependency on 'wayland-protocols', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile' has a dependency on 'opencv', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile' has a dependency on 'libgst1badvideo', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile' has a dependency on 'libgst1gl', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile' has a build dependency on 'libgstreamer1', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile' has a build dependency on 'gstreamer1-plugins-base', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-base/Makefile' has a build dependency on 'libgstreamer1', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-good/Makefile' has a build dependency on 'libgstreamer1', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-good/Makefile' has a build dependency on 'gstreamer1-plugins-base', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-ugly/Makefile' has a build dependency on 'libgstreamer1', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-ugly/Makefile' has a build dependency on 'gstreamer1-plugins-base', which does not exist WARNING: Makefile 'package/subpackage/allwinner/multimedia/tina_multimedia_demo/jpegdecodedemo/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'kmod-sunxi-rf-wlan', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/gui/lvgl-8/lv_monitor/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/allwinner/multimedia/tina_multimedia_demo/moduledemo/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/gui/minigui/multimedia-test/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/gui/qt/qt5/Makefile' has a dependency on 'weston', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/gui/qt/qt5/Makefile' has a dependency on 'wayland', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/gui/qt/qt5/Makefile' has a dependency on 'qt5-multimediawidgets', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/gui/qt/qt5/Makefile' has a build dependency on 'libstdcpp', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/gui/minigui/smart-music-player/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/allwinner/multimedia/tina_multimedia_demo/tmetadataretrieverdemo/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/allwinner/multimedia/tina_multimedia_demo/tplayerdemo/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/allwinner/multimedia/tina_multimedia_demo/trecorderdemo/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/gui/minigui/washing-machine/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/allwinner/multimedia/tina_multimedia_demo/xplayerdemo/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/allwinner/testtools/testapk/__trecordertest/Makefile' has a dependency on 'libcedarx', which does not exist make[2]: Entering directory '/home/cunjiang/tina-v853/openwrt/openwrt/scripts/config' make[2]: 'conf' is up to date. make[2]: Leaving directory '/home/cunjiang/tina-v853/openwrt/openwrt/scripts/config' copy from /home/cunjiang/tina-v853/openwrt/target/v851s/v851s-lizard/defconfig target/linux/generic/image/Config.in:12:warning: choice default symbol 'uImage' is not contained in the choice target/linux/generic/image/Config.in:47:warning: choice default symbol 'uImage' is not contained in the choice target/linux/generic/image/Config.in:72:warning: choice default symbol 'CONFIG_BOOT_IMAGE_NAME_SUFFIX_NONE' is not contained in the choice target/linux/generic/image/Config.in:89:warning: choice default symbol 'CONFIG_ROOTFS_IMAGE_NAME_SUFFIX_NONE' is not contained in the choice # # No change to .config # copy to /home/cunjiang/tina-v853/openwrt/target/v851s/v851s-lizard/defconfig make[2]: Entering directory '/home/cunjiang/tina-v853/openwrt/openwrt' Makefile:29: "NOTE: Will skip kernel build." The command image-prereq(include/kernel-build.mk) execute. time: target/linux/prereq#0.09#0.05#0.17 make[2]: Leaving directory '/home/cunjiang/tina-v853/openwrt/openwrt' make[1]: Leaving directory '/home/cunjiang/tina-v853/openwrt/openwrt' make[1]: Entering directory '/home/cunjiang/tina-v853/openwrt/openwrt' make[2]: Entering directory '/home/cunjiang/tina-v853/openwrt/target/v851s' /home/cunjiang/tina-v853/openwrt/openwrt/include/target.mk:248: CPU_TYPE "xscale" doesn't correspond to a known type Parse error at /home/cunjiang/tina-v853/openwrt/openwrt/scripts/kconfig.pl line 144. make[2]: Leaving directory '/home/cunjiang/tina-v853/openwrt/target/v851s' time: target/linux/check#0.01#0.00#0.02 make[2]: Entering directory '/home/cunjiang/tina-v853/openwrt/openwrt' + mkdir -p /home/cunjiang/tina-v853/openwrt/openwrt/staging_dir/target + cd /home/cunjiang/tina-v853/openwrt/openwrt/staging_dir/target + mkdir -p bin lib stamp usr/include usr/lib mkdir -p /home/cunjiang/tina-v853/out/v851s/lizard/openwrt/build_dir/target/stamp touch /home/cunjiang/tina-v853/openwrt/openwrt/staging_dir/target/.prepared + mkdir -p /home/cunjiang/tina-v853/openwrt/openwrt/staging_dir/host + cd /home/cunjiang/tina-v853/openwrt/openwrt/staging_dir/host + mkdir -p bin lib stamp usr/include usr/lib mkdir -p /home/cunjiang/tina-v853/out/v851s/lizard/openwrt/build_dir/host/stamp /home/cunjiang/tina-v853/openwrt/openwrt/staging_dir/host/include/sys install -m0644 /home/cunjiang/tina-v853/openwrt/openwrt/tools/include/*.h /home/cunjiang/tina-v853/openwrt/openwrt/staging_dir/host/include/ install -m0644 /home/cunjiang/tina-v853/openwrt/openwrt/tools/include/sys/*.h /home/cunjiang/tina-v853/openwrt/openwrt/staging_dir/host/include/sys/ ln -snf lib /home/cunjiang/tina-v853/openwrt/openwrt/staging_dir/host/lib64 touch /home/cunjiang/tina-v853/openwrt/openwrt/staging_dir/host/.prepared make[3]: Entering directory '/home/cunjiang/tina-v853/openwrt/openwrt/tools/flock' make[3]: Leaving directory '/home/cunjiang/tina-v853/openwrt/openwrt/tools/flock' time: tools/flock/compile#0.05#0.01#0.05 make[3]: Entering directory '/home/cunjiang/tina-v853/openwrt/openwrt/tools/xz' make[3]: Leaving directory '/home/cunjiang/tina-v853/openwrt/openwrt/tools/xz' time: tools/xz/compile#0.05#0.01#0.06 make[3]: Entering directory '/home/cunjiang/tina-v853/openwrt/openwrt/tools/sed' make[3]: Leaving directory '/home/cunjiang/tina-v853/openwrt/openwrt/tools/sed' time: tools/sed/compile#0.06#0.01#0.06 make[3]: Entering directory '/home/cunjiang/tina-v853/openwrt/openwrt/tools/tar' (cd /home/cunjiang/tina-v853/out/v851s/lizard/openwrt/build_dir/host/tar-1.32/; if [ -x configure ]; then cp -fpR /home/cunjiang/tina-v853/openwrt/openwrt/scripts/config.{guess,sub} /home/cunjiang/tina-v853/out/v851s/lizard/openwrt/build_dir/host/tar-1.32// && CC="gcc" CFLAGS="-O2 -I/home/cunjiang/tina-v853/openwrt/openwrt/staging_dir/host/include " CXX="g++" CPPFLAGS="-I/home/cunjiang/tina-v853/openwrt/openwrt/staging_dir/host/include " LDFLAGS="-L/home/cunjiang/tina-v853/openwrt/openwrt/staging_dir/host/lib " CONFIG_SHELL="/usr/bin/env bash" bash ./configure --target=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --program-prefix="" --program-suffix="" --prefix=/home/cunjiang/tina-v853/openwrt/openwrt/staging_dir/host --exec-prefix=/home/cunjiang/tina-v853/openwrt/openwrt/staging_dir/host --sysconfdir=/home/cunjiang/tina-v853/openwrt/openwrt/staging_dir/host/etc --localstatedir=/home/cunjiang/tina-v853/openwrt/openwrt/staging_dir/host/var --sbindir=/home/cunjiang/tina-v853/openwrt/openwrt/staging_dir/host/bin --without-posix-acls --without-selinux --without-xattrs --disable-acl --disable-nls ; fi ) checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '0' is supported by ustar format... yes checking whether GID '0' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for x86_64-pc-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... none needed checking for gcc option to accept ISO Standard C... (cached) none needed checking for x86_64-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for bison... bison -y checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /home/cunjiang/tina-v853/openwrt/openwrt/staging_dir/host/bin/grep checking for egrep... /home/cunjiang/tina-v853/openwrt/openwrt/staging_dir/host/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for Minix Amsterdam compiler... no checking for x86_64-pc-linux-gnu-ar... no checking for ar... ar checking for _LARGEFILE_SOURCE value needed for large files... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for x86_64-pc-linux-gnu-ar... ar checking for special C compiler options needed for large files... (cached) no checking for _FILE_OFFSET_BITS value needed for large files... (cached) no checking for inline... inline checking for fcntl.h... yes checking for linux/fd.h... yes checking for memory.h... (cached) yes checking for net/errno.h... no checking for sgtty.h... yes checking for string.h... (cached) yes checking for sys/param.h... yes checking for sys/device.h... no checking for sys/gentape.h... no checking for sys/inet.h... no checking for sys/io/trioctl.h... no checking for sys/mtio.h... yes checking for sys/time.h... yes checking for sys/tprintf.h... no checking for sys/tape.h... no checking for unistd.h... (cached) yes checking for locale.h... yes checking for sys/types.h... (cached) yes checking for features.h... yes checking for linewrap.h... no checking for sys/socket.h... yes checking for dirent.h... yes checking for fnmatch.h... yes checking for wctype.h... yes checking for stdio_ext.h... yes checking for sys/stat.h... (cached) yes checking for getopt.h... yes checking for sys/cdefs.h... yes checking for limits.h... yes checking for wchar.h... yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking for crtdefs.h... no checking for langinfo.h... yes checking for xlocale.h... no checking for sys/mman.h... yes checking for priv.h... no checking for malloc.h... yes checking for selinux/selinux.h... no checking for strings.h... (cached) yes checking for sysexits.h... yes checking for utime.h... yes checking for netdb.h... yes checking for sys/wait.h... yes checking for pwd.h... yes checking for grp.h... yes checking for sys/buf.h... no checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking for st_fstype string in struct stat... no checking for mode_t... yes checking for pid_t... yes checking for off_t... yes checking for uid_t in sys/types.h... yes checking for major_t... no checking for minor_t... no checking for dev_t... yes checking for ino_t... yes checking for ssize_t... yes checking for fchmod... yes checking for flockfile... yes checking for funlockfile... yes checking for pathconf... yes checking for btowc... yes checking for canonicalize_file_name... yes checking for getcwd... yes checking for readlink... yes checking for realpath... yes checking for readlinkat... yes checking for chown... yes checking for fchown... yes checking for _set_invalid_parameter_handler... no checking for fchdir... yes checking for fdopendir... yes checking for faccessat... yes checking for fchmodat... yes checking for lchmod... no checking for fcntl... yes checking for symlink... yes checking for mempcpy... yes checking for fnmatch... yes checking for isblank... yes checking for iswctype... yes checking for mbsrtowcs... yes checking for wmemchr... yes checking for wmemcpy... yes checking for wmempcpy... yes checking for fstatat... yes checking for futimens... yes checking for getdelim... yes checking for getdtablesize... yes checking for getprogname... no checking for getexecname... no checking for gettimeofday... yes checking for iswcntrl... yes checking for iswblank... yes checking for link... yes checking for openat... yes checking for linkat... yes checking for lstat... yes checking for mbsinit... yes checking for mbrtowc... yes checking for mprotect... yes checking for mkdirat... yes checking for mkfifoat... yes checking for mknodat... yes checking for mknod... yes checking for tzset... yes checking for nl_langinfo... yes checking for renameat... yes checking for renameat2... yes checking for setenv... yes checking for sleep... yes checking for snprintf... yes checking for strdup... yes checking for strndup... yes checking for strtoimax... yes checking for strtoumax... yes checking for symlinkat... yes checking for localtime_r... yes checking for timegm... yes checking for pipe... yes checking for unlinkat... yes checking for utime... yes checking for futimes... yes checking for futimesat... yes checking for utimensat... yes checking for lutimes... yes checking for vasnprintf... no checking for wcrtomb... yes checking for wcwidth... yes checking for mkfifo... yes checking for setlocale... yes checking for fsync... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for C/C++ restrict keyword... __restrict checking whether clearerr_unlocked is declared... yes checking whether feof_unlocked is declared... yes checking whether ferror_unlocked is declared... yes checking whether fflush_unlocked is declared... yes checking whether fgets_unlocked is declared... yes checking whether fputc_unlocked is declared... yes checking whether fputs_unlocked is declared... yes checking whether fread_unlocked is declared... yes checking whether fwrite_unlocked is declared... yes checking whether getc_unlocked is declared... yes checking whether getchar_unlocked is declared... yes checking whether putc_unlocked is declared... yes checking whether putchar_unlocked is declared... yes checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for d_ino member in directory struct... yes checking for long file names... yes checking whether <wchar.h> uses 'inline' correctly... yes checking for nl_langinfo and CODESET... yes checking for a traditional french locale... none checking whether // is distinct from /... no checking whether realpath works... yes checking for unistd.h... (cached) yes checking for working chown... yes checking whether chown dereferences symlinks... yes checking whether chown honors trailing slash... yes checking whether chown always updates ctime... yes checking whether the preprocessor supports include_next... yes checking whether system header files limit the line length... no checking if environ is properly declared... yes checking for complete errno.h... yes checking type of array argument to getgroups... gid_t checking whether lstat correctly handles trailing slash... yes checking whether fchdir is declared... yes checking for working fcntl.h... yes checking for promoted mode_t type... mode_t checking for mbstate_t... yes checking whether stdin defaults to large file offsets... yes checking whether fseeko is declared... yes checking for fseeko... yes checking whether stat file-mode macros are broken... no checking for nlink_t... yes checking whether getcwd (NULL, 0) allocates memory for result... yes checking for getcwd with POSIX signature... yes checking whether getcwd is declared... yes checking whether getdelim is declared... yes checking whether getdtablesize is declared... yes checking whether getline is declared... yes checking for getopt.h... (cached) yes checking for getopt_long_only... yes checking whether getopt is POSIX compatible... yes checking for working GNU getopt function... yes checking for working GNU getopt_long function... yes checking for struct timeval... yes checking for wide-enough struct timeval.tv_sec member... yes checking whether limits.h has LLONG_MAX, WORD_BIT, ULLONG_WIDTH etc.... yes checking for wint_t... yes checking whether wint_t is too small... no checking for unsigned long long int... yes checking for long long int... yes checking whether stdint.h conforms to C99... yes checking whether stdint.h predates C++11... no checking whether stdint.h has UINTMAX_WIDTH etc.... yes checking for inttypes.h... (cached) yes checking whether the inttypes.h PRIxNN macros are broken... no checking whether iswcntrl works... yes checking for towlower... yes checking for wctype_t... yes checking for wctrans_t... yes checking for O_CLOEXEC... yes checking for wchar_t... yes checking for good max_align_t... yes checking whether NULL can be used in arbitrary expressions... yes checking whether malloc, realloc, calloc are POSIX compliant... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for a traditional japanese locale... none checking for a transitional chinese locale... none checking for a french Unicode locale... none checking for mmap... yes checking for MAP_ANONYMOUS... yes checking whether memchr works... yes checking whether memrchr is declared... yes checking whether <limits.h> defines MIN and MAX... no checking whether <sys/param.h> defines MIN and MAX... yes checking whether time_t is signed... yes checking whether alarm is declared... yes checking for working mktime... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for struct tm.tm_gmtoff... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for compound literals... yes checking whether we are using the GNU C Library >= 2.1 or uClibc... yes checking whether setenv is declared... yes checking search.h usability... yes checking search.h presence... yes checking for search.h... yes checking for tsearch... yes checking for sigset_t... yes checking whether snprintf returns a byte count as in C99... yes checking whether snprintf is declared... yes checking whether strdup is declared... yes checking whether strerror(0) succeeds... yes checking whether strndup is declared... yes checking whether strnlen is declared... yes checking whether strtoimax is declared... yes checking whether strtoumax is declared... yes checking for struct timespec in <time.h>... yes checking whether unsetenv is declared... yes checking whether the utimes function works... yes checking for inttypes.h... yes checking for stdint.h... yes checking for intmax_t... yes checking where to find the exponent in a 'double'... word 1 bit 20 checking for snprintf... (cached) yes checking for strnlen... yes checking for wcslen... yes checking for wcsnlen... yes checking for mbrtowc... (cached) yes checking for wcrtomb... (cached) yes checking whether _snprintf is declared... no checking whether vsnprintf is declared... yes checking for alloca as a compiler built-in... yes checking whether program_invocation_name is declared... yes checking whether program_invocation_short_name is declared... yes checking whether program_invocation_name is defined... yes checking whether program_invocation_short_name is defined... yes checking whether btowc(0) is correct... yes checking whether btowc(EOF) is correct... guessing yes checking for __builtin_expect... yes checking whether this system has an arbitrary file name length limit... yes checking for library containing clock_gettime... none required checking for clock_gettime... yes checking for clock_settime... yes checking for closedir... yes checking for d_ino member in directory struct... (cached) yes checking for dirfd... yes checking whether dirfd is declared... yes checking whether dirfd is a macro... no checking whether // is distinct from /... (cached) no checking whether dup works... yes checking whether dup2 works... yes checking for error_at_line... yes checking for euidaccess... yes checking for fchownat... yes checking whether fchownat works with AT_SYMLINK_NOFOLLOW... yes checking whether fchownat works with an empty file name... yes checking whether fcntl handles F_DUPFD correctly... yes checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check checking whether fdopendir is declared... yes checking whether fdopendir works... yes checking for struct stat.st_blocks... yes checking for flexible array member... yes checking whether conversion from 'int' to 'long double' works... yes checking for working GNU fnmatch... yes checking for __fpending... yes checking whether __fpending is declared... yes checking for fseeko... (cached) yes checking whether fstatat (..., 0) works... yes checking whether futimens works... yes checking whether getcwd handles long file names properly... yes checking for getpagesize... yes checking whether getcwd aborts when 4k < cwd_length < 16k... no checking for working getdelim function... yes checking whether getdtablesize works... yes checking for getgroups... yes checking for working getgroups... yes checking whether getgroups handles negative values... yes checking for getline... yes checking for working getline function... yes checking for getpagesize... (cached) yes checking whether getpagesize is declared... yes checking whether program_invocation_name is declared... (cached) yes checking whether program_invocation_short_name is declared... (cached) yes checking whether __argv is declared... no checking whether gettimeofday clobbers localtime buffer... no checking for gettimeofday with POSIX signature... yes checking for group_member... yes checking whether INT32_MAX < INTMAX_MAX... yes checking whether INT64_MAX == LONG_MAX... yes checking whether UINT32_MAX < UINTMAX_MAX... yes checking whether UINT64_MAX == ULONG_MAX... yes checking whether iswblank is declared... yes checking whether langinfo.h defines CODESET... yes checking whether langinfo.h defines T_FMT_AMPM... yes checking whether langinfo.h defines ALTMON_1... yes checking whether langinfo.h defines ERA... yes checking whether langinfo.h defines YESEXPR... yes checking for lchown... yes checking whether the compiler supports the __inline keyword... yes checking whether link obeys POSIX... yes checking for __xpg4... no checking whether link(2) dereferences a symlink... no checking whether linkat() can link symlinks... yes checking whether linkat handles trailing slash correctly... yes checking whether locale.h conforms to POSIX:2001... yes checking whether struct lconv is properly defined... yes checking whether lseek detects pipes... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking whether mbrtowc handles incomplete characters... guessing yes checking whether mbrtowc works as well as mbtowc... guessing yes checking whether mbrtowc handles a NULL pwc argument... guessing yes checking whether mbrtowc handles a NULL string argument... guessing yes checking whether mbrtowc has a correct return value... guessing yes checking whether mbrtowc returns 0 when parsing a NUL character... guessing yes checking whether mbrtowc works on empty input... yes checking whether the C locale is free of encoding errors... no checking whether mbrtowc handles incomplete characters... (cached) guessing yes checking whether mbrtowc works as well as mbtowc... (cached) guessing yes checking whether mbrtowc handles incomplete characters... (cached) guessing yes checking whether mbrtowc works as well as mbtowc... (cached) guessing yes checking whether mbsrtowcs works... guessing yes checking for mempcpy... (cached) yes checking for memrchr... yes checking whether mkdir handles trailing slash... yes checking whether mkdir handles trailing dot... yes checking for mkdtemp... yes checking for mkfifo... yes checking whether mkfifo rejects trailing slashes... yes checking whether mknod can create fifo without root privileges... configure: error: in `/home/cunjiang/tina-v853/out/v851s/lizard/openwrt/build_dir/host/tar-1.32': configure: error: you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check) See `config.log' for more details Makefile:31: recipe for target '/home/cunjiang/tina-v853/out/v851s/lizard/openwrt/build_dir/host/tar-1.32/.configured' failed make[3]: *** [/home/cunjiang/tina-v853/out/v851s/lizard/openwrt/build_dir/host/tar-1.32/.configured] Error 1 make[3]: Leaving directory '/home/cunjiang/tina-v853/openwrt/openwrt/tools/tar' time: tools/tar/compile#9.67#3.07#15.57 ERROR: tools/tar failed to build. tools/Makefile:157: recipe for target 'tools/tar/compile' failed make[2]: *** [tools/tar/compile] Error 1 make[2]: Leaving directory '/home/cunjiang/tina-v853/openwrt/openwrt' tools/Makefile:155: recipe for target '/home/cunjiang/tina-v853/openwrt/openwrt/staging_dir/host/stamp/.tools_compile_yyynyynnyyynnyyyyynynnnnyyynyyyyyynnyyyyyyyynynnyyyyyyyy' failed make[1]: *** [/home/cunjiang/tina-v853/openwrt/openwrt/staging_dir/host/stamp/.tools_compile_yyynyynnyyynnyyyyynynnnnyyynyyyyyynnyyyyyyyynynnyyyyyyyy] Error 2 make[1]: Leaving directory '/home/cunjiang/tina-v853/openwrt/openwrt' /home/cunjiang/tina-v853/openwrt/openwrt/include/toplevel.mk:236: recipe for target 'world' failed make: *** [world] Error 2 make: Leaving directory '/home/cunjiang/tina-v853/openwrt/openwrt' INFO: build_openwrt_rootfs failed root@myUbuntu:/home/cunjiang/tina-v853#
-
@cunjiang 在 编译编译 Tina Linux失败 中说:
configure: error: you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)
不建议用 root 用户编译.
-
@whycan 如果我不用root也编译不了
cunjiang@myUbuntu:~/tina-v853$ make ===There is tina environment.=== Note: make is the shell functon in envsetup.sh. == action: openwrt_build, action_args: == ========ACTION List: build_linuxdev ;======== options : INFO: ---------------------------------------- INFO: build linuxdev ... INFO: chip: sun8iw21p1 INFO: platform: linux INFO: kernel: linux-4.9 INFO: board: lizard INFO: output: /home/cunjiang/tina-v853/out/v851s/lizard/openwrt INFO: ---------------------------------------- cp: cannot create regular file '/home/cunjiang/tina-v853/out/v851s/lizard/openwrt/.buildconfig': Permission denied INFO: don't build dtbo ... INFO: build arisc INFO: build_bootloader: brandy_path= /home/cunjiang/tina-v853/brandy/brandy-2.0 INFO: skip build brandy. INFO: build kernel ... INFO: Prepare toolchain ... Building kernel rm: cannot remove 'output/bImage': Permission denied rm: cannot remove 'output/rootfs.cpio.gz': Permission denied rm: cannot remove 'output/uImage': Permission denied rm: cannot remove 'output/zImage': Permission denied rm: cannot remove 'output/lib/modules/4.9.191/Module.symvers': Permission denied rm: cannot remove 'output/lib/modules/4.9.191/drbg.ko': Permission denied rm: cannot remove 'output/lib/modules/4.9.191/hmac.ko': Permission denied rm: cannot remove 'output/lib/modules/4.9.191/echainiv.ko': Permission denied rm: cannot remove 'output/lib/modules/4.9.191/xradio_mac.ko': Permission denied rm: cannot remove 'output/lib/modules/4.9.191/jitterentropy_rng.ko': Permission denied rm: cannot remove 'output/lib/modules/4.9.191/arc4.ko': Permission denied rm: cannot remove 'output/lib/modules/4.9.191/xradio_core.ko': Permission denied rm: cannot remove 'output/lib/modules/4.9.191/xradio_wlan.ko': Permission denied rm: cannot remove 'output/vmlinux.tar.bz2': Permission denied rm: cannot remove 'output/.config': Permission denied ERROR: build Failed INFO: build kernel failed cunjiang@myUbuntu:~/tina-v853$ sudo make [sudo] cunjiang 的密码: make: *** 没有指明目标并且找不到 makefile。 停止。
-
@cunjiang
用chown命令先把这个文件夹的权限递归改成当前用户。 -
@whycan 具体应该怎么做?
我按照之前报错的提示输入了这条命令,编译似乎再进一步,但最后还是有报错,这次是ERROR: package/kernel/linux failed to build.export FORCE_UNSAFE_CONFIGURE=1
root@myUbuntu:/home/cunjiang/tina-v853# make -j10 ===There is tina environment.=== Note: make is the shell functon in envsetup.sh. == action: openwrt_build, action_args: -j10 == ========ACTION List: build_linuxdev -j10;======== options : INFO: ---------------------------------------- INFO: build linuxdev ... INFO: chip: sun8iw21p1 INFO: platform: linux INFO: kernel: linux-4.9 INFO: board: lizard INFO: output: /home/cunjiang/tina-v853/out/v851s/lizard/openwrt INFO: ---------------------------------------- INFO: don't build dtbo ... INFO: build arisc INFO: build_bootloader: brandy_path= /home/cunjiang/tina-v853/brandy/brandy-2.0 INFO: skip build brandy. INFO: build kernel ... INFO: Prepare toolchain ... Building kernel /home/cunjiang/tina-v853/kernel/linux-4.9/output/lib/modules/4.9.191 CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CHK scripts/mod/devicetable-offsets.h CHK include/generated/timeconst.h CHK include/generated/bounds.h CHK include/generated/asm-offsets.h CALL scripts/checksyscalls.sh CHK include/generated/compile.h DTC arch/arm/boot/dts/board.dtb Kernel: arch/arm/boot/Image is ready Building modules, stage 2. MODPOST 8 modules Kernel: arch/arm/boot/zImage is ready Kernel: arch/arm/boot/uImage is ready 'arch/arm/boot/Image' -> 'output/bImage' 'arch/arm/boot/uImage' -> 'output/uImage' 'arch/arm/boot/zImage' -> 'output/zImage' Copy rootfs.cpio.gz for arm Building modules [GPU]: No GPU type is configured in /home/cunjiang/tina-v853/kernel/linux-4.9/.config. INFO: build dts ... INFO: Prepare toolchain ... removed '/home/cunjiang/tina-v853/out/v851s/lizard/openwrt/.board.dtb.d.dtc.tmp' removed '/home/cunjiang/tina-v853/out/v851s/lizard/openwrt/.board.dtb.dts.tmp' '/home/cunjiang/tina-v853/kernel/linux-4.9/arch/arm/boot/dts/.board.dtb.d.dtc.tmp' -> '/home/cunjiang/tina-v853/out/v851s/lizard/openwrt/.board.dtb.d.dtc.tmp' '/home/cunjiang/tina-v853/kernel/linux-4.9/arch/arm/boot/dts/.board.dtb.dts.tmp' -> '/home/cunjiang/tina-v853/out/v851s/lizard/openwrt/.board.dtb.dts.tmp' INFO: build rootfs ... ==mkcmd.sh: build_openwrt_rootfs -j10== make: Entering directory '/home/cunjiang/tina-v853/openwrt/openwrt' make[1]: Entering directory '/home/cunjiang/tina-v853/openwrt/openwrt' CreateSoftLink /home/cunjiang/tina-v853/openwrt/openwrt/tmp link to /home/cunjiang/tina-v853/out/v851s/lizard/openwrt/tmp CreateSoftLink /home/cunjiang/tina-v853/openwrt/openwrt/staging_dir link to /home/cunjiang/tina-v853/out/v851s/lizard/openwrt/staging_dir make[2]: Entering directory '/home/cunjiang/tina-v853/openwrt/openwrt' make[2]: Leaving directory '/home/cunjiang/tina-v853/openwrt/openwrt' Check Vendor Package... CreateSoftLink /home/cunjiang/tina-v853/openwrt/openwrt/package/subpackage link to /home/cunjiang/tina-v853/openwrt/package end WARNING: Makefile 'package/subpackage/allwinner/multimedia/tina_multimedia_demo/decodertest/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/allwinner/multimedia/tina_multimedia_demo/encoderStressTest/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/allwinner/multimedia/tina_multimedia_demo/encodertest/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-libav/Makefile' has a build dependency on 'libgstreamer1', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-libav/Makefile' has a build dependency on 'gstreamer1-plugins-base', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-omx/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-omx/Makefile' has a dependency on 'libgst1gl', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-aw/Makefile' has a build dependency on 'libgstreamer1', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-aw/Makefile' has a build dependency on 'gstreamer1-plugins-base', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-aw/Makefile' has a build dependency on 'gstreamer1-plugins-good', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile' has a dependency on 'wayland', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile' has a dependency on 'wayland-protocols', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile' has a dependency on 'opencv', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile' has a dependency on 'libgst1badvideo', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile' has a dependency on 'libgst1gl', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile' has a build dependency on 'libgstreamer1', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile' has a build dependency on 'gstreamer1-plugins-base', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-base/Makefile' has a build dependency on 'libgstreamer1', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-good/Makefile' has a build dependency on 'libgstreamer1', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-good/Makefile' has a build dependency on 'gstreamer1-plugins-base', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-ugly/Makefile' has a build dependency on 'libgstreamer1', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-ugly/Makefile' has a build dependency on 'gstreamer1-plugins-base', which does not exist WARNING: Makefile 'package/subpackage/allwinner/multimedia/tina_multimedia_demo/jpegdecodedemo/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'kmod-sunxi-rf-wlan', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/gui/lvgl-8/lv_monitor/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/allwinner/multimedia/tina_multimedia_demo/moduledemo/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/gui/minigui/multimedia-test/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/gui/qt/qt5/Makefile' has a dependency on 'weston', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/gui/qt/qt5/Makefile' has a dependency on 'wayland', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/gui/qt/qt5/Makefile' has a dependency on 'qt5-multimediawidgets', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/gui/qt/qt5/Makefile' has a build dependency on 'libstdcpp', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/gui/minigui/smart-music-player/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/allwinner/multimedia/tina_multimedia_demo/tmetadataretrieverdemo/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/allwinner/multimedia/tina_multimedia_demo/tplayerdemo/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/allwinner/multimedia/tina_multimedia_demo/trecorderdemo/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/thirdparty/gui/minigui/washing-machine/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/allwinner/multimedia/tina_multimedia_demo/xplayerdemo/Makefile' has a dependency on 'libcedarx', which does not exist WARNING: Makefile 'package/subpackage/allwinner/testtools/testapk/__trecordertest/Makefile' has a dependency on 'libcedarx', which does not exist make[2]: Entering directory '/home/cunjiang/tina-v853/openwrt/openwrt/scripts/config' make[2]: 'conf' is up to date. make[2]: Leaving directory '/home/cunjiang/tina-v853/openwrt/openwrt/scripts/config' copy from /home/cunjiang/tina-v853/openwrt/target/v851s/v851s-lizard/defconfig target/linux/generic/image/Config.in:12:warning: choice default symbol 'uImage' is not contained in the choice target/linux/generic/image/Config.in:47:warning: choice default symbol 'uImage' is not contained in the choice target/linux/generic/image/Config.in:72:warning: choice default symbol 'CONFIG_BOOT_IMAGE_NAME_SUFFIX_NONE' is not contained in the choice target/linux/generic/image/Config.in:89:warning: choice default symbol 'CONFIG_ROOTFS_IMAGE_NAME_SUFFIX_NONE' is not contained in the choice # # No change to .config # copy to /home/cunjiang/tina-v853/openwrt/target/v851s/v851s-lizard/defconfig make[2]: Entering directory '/home/cunjiang/tina-v853/openwrt/openwrt' Makefile:29: "NOTE: Will skip kernel build." The command image-prereq(include/kernel-build.mk) execute. time: target/linux/prereq#0.09#0.03#0.15 make[2]: Leaving directory '/home/cunjiang/tina-v853/openwrt/openwrt' make[1]: Leaving directory '/home/cunjiang/tina-v853/openwrt/openwrt' make[1] world make[2] -C /home/cunjiang/tina-v853/openwrt/target/v851s check make[2] package/cleanup make[2] target/compile make[3] -C /home/cunjiang/tina-v853/openwrt/target/v851s compile make[2] buildinfo make[2] package/compile make[3] -C package/libs/libiconv host-compile make[3] -C package/libs/toolchain compile make[3] -C package/system/usign host-compile make[3] -C package/libs/libjson-c host-compile make[3] -C package/libs/ncurses host-compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/libs/expat host-compile make[3] -C package/utils/bzip2 host-compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/libs/libffi host-compile make[3] -C package/libs/gettext-full host-compile make[3] diffconfig buildversion feedsversion make[3] -C /home/cunjiang/tina-v853/openwrt/package/thirdparty/gui/directfb/flux host-compile make[3] -C package/utils/e2fsprogs host-compile make[3] -C package/libs/libubox host-compile make[3] -C package/libs/libjson-c compile make[3] -C package/firmware/prism54-firmware compile make[3] -C package/firmware/linux-firmware compile make[3] -C package/utils/lua compile make[3] -C package/libs/zlib compile make[3] -C package/firmware/wireless-regdb compile make[3] -C package/libs/libnl-tiny compile make[3] -C package/libs/libpcap compile make[3] -C package/libs/openssl compile make[3] -C package/libs/uclibc++ compile make[3] -C package/libs/sysfsutils compile make[3] -C package/libs/mbedtls compile make[3] -C package/libs/gettext compile make[3] -C package/libs/libiconv compile make[3] -C package/libs/libtool compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/allwinner/display/libuapi compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/allwinner/system/busybox-init-base-files compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/allwinner/testtools/testapk/rwcheck compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/libs/libev compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/allwinner/vision/camerademo compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/allwinner/wireless/common compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/lang/python/python-pip-conf compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/lang/python/python3 host-compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/libs/libxml2 compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/libs/gdbm compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/libs/libffi compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/libs/sqlite3 compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/utils/xz compile make[3] -C package/utils/bzip2 compile make[3] -C package/system/ca-certificates compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/libs/alsa-lib compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/libs/ell compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/libs/expat compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/libs/libpng compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/libs/glib2 host-compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/utils/attr compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/libs/libconfig compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/libs/libical compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/libs/libjpeg-turbo compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/libs/libsndfile compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/libs/lzo compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/libs/tinyalsa compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/libs/tslib compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/sound/fdk-aac compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/utils/dbus compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/utils/i2c-tools compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/utils/memtester compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/utils/rftest compile make[3] -C package/utils/adb compile make[3] -C package/libs/libsepol compile make[3] -C package/libs/musl-fts compile make[3] -C package/system/opkg host-compile make[3] -C package/kernel/linux compile make[3] -C package/libs/libubox compile make[3] -C package/libs/ncurses compile make[3] -C package/libs/libunwind compile make[3] -C package/libs/pcre compile make[3] -C package/libs/wolfssl compile make[3] -C package/network/utils/iw compile make[3] -C package/network/utils/tcpdump compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/allwinner/usb/adbd compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/allwinner/wireless/wifimanager compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/libs/db47 compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/libs/freetype compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/libs/glib2 compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/libs/sbc compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/feeds/sound/alsa-utils compile make[3] -C package/libs/libselinux compile make[3] -C package/utils/jsonfilter compile make[3] -C package/system/ubus compile make[3] -C package/system/uci compile make[3] -C package/utils/util-linux compile make[3] -C package/libs/readline compile make[3] -C package/libs/ustream-ssl compile make[3] -C /home/cunjiang/tina-v853/openwrt/package/thirdparty/gui/directfb/libdirectfb compile ERROR: package/kernel/linux failed to build. make -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on /home/cunjiang/tina-v853/openwrt/openwrt/include/toplevel.mk:236: recipe for target 'world' failed make: *** [world] Error 1 make: Leaving directory '/home/cunjiang/tina-v853/openwrt/openwrt' INFO: build_openwrt_rootfs failed root@myUbuntu:/home/cunjiang/tina-v853#
-
@whycan 我文件夹的权限是这样的
-
@whycan 我用以下命令编译成功了,还没烧写到开发板上,明天下班我试试能不能用
root@myUbuntu:/home/cunjiang/tina-v853# export FORCE_UNSAFE_CONFIGURE=1 root@myUbuntu:/home/cunjiang/tina-v853# source build/envsetup.sh root@myUbuntu:/home/cunjiang/tina-v853# lunch root@myUbuntu:/home/cunjiang/tina-v853# make -j1 -i V=s
-
@cunjiang 在那之后会起作用吗?
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号