20200221在ubuntu20.04下编译全志R16的tinav3.0.4(编译没有成功)

20200221在ubuntu20.04下编译全志R16的tinav3.0.4

14:07 2020/2/21 星期五

 

参考:

https://blog.csdn.net/zmlovelx/article/details/104200565
编译某基于openwrt的sdk

 

问题一:

mv -f $depbase.Tpo $depbase.Po
depbase=`echo fclose.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include   -O2 -I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include  -MT fclose.o -MD -MP -MF $depbase.Tpo -c -o fclose.o fclose.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo fcntl.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include   -O2 -I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include  -MT fcntl.o -MD -MP -MF $depbase.Tpo -c -o fcntl.o fcntl.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo fflush.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include   -O2 -I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include  -MT fflush.o -MD -MP -MF $depbase.Tpo -c -o fflush.o fflush.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo fpurge.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include   -O2 -I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include  -MT fpurge.o -MD -MP -MF $depbase.Tpo -c -o fpurge.o fpurge.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo freadahead.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include   -O2 -I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include  -MT freadahead.o -MD -MP -MF $depbase.Tpo -c -o freadahead.o freadahead.c &&\
mv -f $depbase.Tpo $depbase.Po
freadahead.c: In function 'freadahead':
freadahead.c:91:3: error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
   91 |  #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
      |   ^~~~~
make[7]: *** [Makefile:1837: freadahead.o] Error 1
make[7]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/m4-1.4.17/lib'
make[6]: *** [Makefile:1602: all] Error 2
make[6]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/m4-1.4.17/lib'
make[5]: *** [Makefile:1506: all-recursive] Error 1
make[5]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/m4-1.4.17'
make[4]: *** [Makefile:1461: all] Error 2
make[4]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/m4-1.4.17'
make[3]: *** [Makefile:29: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/m4-1.4.17/.built] Error 2
make[3]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/tools/m4'
make[2]: *** [tools/Makefile:130: tools/m4/compile] Error 2
make[2]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0'
make[1]: *** [tools/Makefile:128: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/staging_dir/target/stamp/.tools_install_yyyynyyynyyyyyynnnyyyyyyyyyynnyyyyyyynynyyynnyyyy] Error 2
make[1]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0'
make: *** [/home/rootroot/wyb/r16/tinav3.0/build/toplevel.mk:274:world] 错误 2

#### make failed to build some targets (02:45 (mm:ss)) ####


real    2m45.164s
user    1m57.265s
sys    0m41.347s
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
 

 

 

 

rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ find . -name m4-1.4.17
./out/astar-parrot/compile_dir/host/m4-1.4.17
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ cd out/astar-parrot/compile_dir/host/m4-1.4.17
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/m4-1.4.17$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/m4-1.4.17$ ll
总用量 2444
drwxr-xr-x 10 rootroot rootroot    4096 2月  21 13:48 ./
drwxr-xr-x  7 rootroot rootroot    4096 2月  21 13:47 ../
-rw-r--r--  1 rootroot rootroot     863 9月  22  2013 acinclude.m4
-rw-r--r--  1 rootroot rootroot   47617 9月  22  2013 aclocal.m4
-rw-r--r--  1 rootroot rootroot    2448 9月  22  2013 AUTHORS
-rw-r--r--  1 rootroot rootroot    2584 9月  22  2013 BACKLOG
-rwxr-xr-x  1 rootroot rootroot  142895 9月  22  2013 bootstrap*
drwxr-xr-x  3 rootroot rootroot    4096 2月  21 13:47 build-aux/
-rw-r--r--  1 rootroot rootroot   15283 9月  22  2013 c-boxes.el
-rw-r--r--  1 rootroot rootroot    1889 9月  22  2013 cfg.mk
-rw-r--r--  1 rootroot rootroot  194892 9月  22  2013 ChangeLog
drwxr-xr-x  2 rootroot rootroot   12288 2月  21 13:48 checks/
-rwxrwxr-x  1 rootroot rootroot   43434 6月   1  2018 config.guess*
-rw-r--r--  1 rootroot rootroot  429471 2月  21 13:48 config.log
-rwxr-xr-x  1 rootroot rootroot   75366 2月  21 13:48 config.status*
-rwxrwxr-x  1 rootroot rootroot   36132 6月   1  2018 config.sub*
-rwxr-xr-x  1 rootroot rootroot 1089430 9月  22  2013 configure*
-rw-r--r--  1 rootroot rootroot    7979 9月  22  2013 configure.ac
-rw-r--r--  1 rootroot rootroot       0 2月  21 13:48 .configured
-rw-r--r--  1 rootroot rootroot   35147 9月  22  2013 COPYING
drwxr-xr-x  2 rootroot rootroot    4096 2月  21 13:48 doc/
drwxr-xr-x  2 rootroot rootroot    4096 2月  21 13:48 examples/
-rw-r--r--  1 rootroot rootroot    4573 9月  22  2013 GNUmakefile
-rw-r--r--  1 rootroot rootroot   15752 9月  22  2013 INSTALL
drwxr-xr-x  5 rootroot rootroot   16384 2月  21 13:48 lib/
drwxr-xr-x  2 rootroot rootroot    4096 2月  21 13:47 m4/
-rw-r--r--  1 rootroot rootroot   62890 9月  22  2013 maint.mk
-rw-r--r--  1 rootroot rootroot   55053 2月  21 13:48 Makefile
-rw-r--r--  1 rootroot rootroot    1936 9月  22  2013 Makefile.am
-rw-r--r--  1 rootroot rootroot   69291 9月  22  2013 Makefile.in
-rw-r--r--  1 rootroot rootroot   30087 9月  22  2013 NEWS
-rw-r--r--  1 rootroot rootroot       0 2月  21 13:47 .preparedd2c71c83f94494e834bc09b8c699a30d
-rw-r--r--  1 rootroot rootroot       7 9月  22  2013 .prev-version
-rw-r--r--  1 rootroot rootroot    3983 9月  22  2013 README
drwxr-xr-x  3 rootroot rootroot    4096 2月  21 13:48 src/
-rw-r--r--  1 rootroot rootroot      29 2月  21 13:48 stamp-h
-rw-r--r--  1 rootroot rootroot       7 9月  22  2013 .tarball-version
drwxr-xr-x  3 rootroot rootroot   12288 2月  21 13:48 tests/
-rw-r--r--  1 rootroot rootroot    6438 9月  22  2013 THANKS
-rw-r--r--  1 rootroot rootroot    2062 9月  22  2013 TODO
-rw-r--r--  1 rootroot rootroot       7 9月  22  2013 .version
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/m4-1.4.17$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/m4-1.4.17$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/m4-1.4.17$ sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/m4-1.4.17$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/m4-1.4.17$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/m4-1.4.17$ echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/m4-1.4.17$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/m4-1.4.17$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/m4-1.4.17$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/m4-1.4.17$ cd -
/home/rootroot/wyb/r16/tinav3.0
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ time(make -j1)
 

 

 

 

问题二:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../glib -I../glib -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DGLIB_COMPILATION -DPCRE_STATIC -I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -fvisibility=hidden -O2 -I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include -MT libglib_2_0_la-gdataset.lo -MD -MP -MF .deps/libglib_2_0_la-gdataset.Tpo -c gdataset.c -o libglib_2_0_la-gdataset.o
mv -f .deps/libglib_2_0_la-gdataset.Tpo .deps/libglib_2_0_la-gdataset.Plo
/usr/bin/env bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../glib -I../glib -I..  -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DGLIB_COMPILATION -DPCRE_STATIC -I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include  -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -fvisibility=hidden -O2 -I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include  -MT libglib_2_0_la-gdate.lo -MD -MP -MF .deps/libglib_2_0_la-gdate.Tpo -c -o libglib_2_0_la-gdate.lo `test -f 'gdate.c' || echo './'`gdate.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../glib -I../glib -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DGLIB_COMPILATION -DPCRE_STATIC -I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -fvisibility=hidden -O2 -I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include -MT libglib_2_0_la-gdate.lo -MD -MP -MF .deps/libglib_2_0_la-gdate.Tpo -c gdate.c -o libglib_2_0_la-gdate.o
gdate.c: In function 'g_date_strftime':
gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral]
 2497 |       tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm);
      |       ^~~~~~
cc1: some warnings being treated as errors
make[10]: *** [Makefile:1386: libglib_2_0_la-gdate.lo] Error 1
make[10]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/pkg-config-0.29/glib/glib'
make[9]: *** [Makefile:1933: all-recursive] Error 1
make[9]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/pkg-config-0.29/glib/glib'
make[8]: *** [Makefile:952: all] Error 2
make[8]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/pkg-config-0.29/glib/glib'
make[7]: *** [Makefile:1045: all-recursive] Error 1
make[7]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/pkg-config-0.29/glib'
make[6]: *** [Makefile:769: all] Error 2
make[6]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/pkg-config-0.29/glib'
make[5]: *** [Makefile:697: all-recursive] Error 1
make[5]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/pkg-config-0.29'
make[4]: *** [Makefile:456: all] Error 2
make[4]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/pkg-config-0.29'
make[3]: *** [Makefile:40: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/pkg-config-0.29/.built] Error 2
make[3]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/tools/pkg-config'
make[2]: *** [tools/Makefile:130: tools/pkg-config/compile] Error 2
make[2]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0'
make[1]: *** [tools/Makefile:128: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/staging_dir/target/stamp/.tools_install_yyyynyyynyyyyyynnnyyyyyyyyyynnyyyyyyynynyyynnyyyy] Error 2
make[1]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0'
make: *** [/home/rootroot/wyb/r16/tinav3.0/build/toplevel.mk:274:world] 错误 2

#### make failed to build some targets (01:12 (mm:ss)) ####


real    1m12.332s
user    0m53.064s
sys    0m19.456s
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
 

 

https://blog.csdn.net/zmlovelx/article/details/81664043#comments
gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonlit


本来是要做一个patch的。但是老有问题。最后基本确定是因为patch文件是在windows建立的。

--- a/glib/glib/gdate.c
+++ b/glib/glib/gdate.c
@@ -2439,6 +2439,9 @@ win32_strftime_helper (const GDate     *d,
  *
  * Returns: number of characters written to the buffer, or 0 the buffer was too small
  */
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wformat-nonliteral"
+
 gsize     
 g_date_strftime (gchar       *s, 
                  gsize        slen, 
@@ -2549,3 +2552,5 @@ g_date_strftime (gchar       *s,
   return retval;
 #endif
 }
+
+#pragma GCC diagnostic pop


百度搜索,直接在github上面把整个源码包下载了!
https://blog.csdn.net/qq_29757283/article/details/98643425
【OpenWRT】(linkit7688) 从源码编译和问题解决

https://github.com/hak5/wifipineapple-openwrt/blob/master/tools/pkg-config/patches/001-glib-gdate-suppress-string-format-literal-warning.patch

 

 

 

 

问题三:

gcc    -I. -I./lib -I. -I./lib -I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include   -O2 -I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include  -MT lib/fcntl.o -MD -MP -MF $depbase.Tpo -c -o lib/fcntl.o lib/fcntl.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo lib/fprintf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc    -I. -I./lib -I. -I./lib -I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include   -O2 -I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include  -MT lib/fprintf.o -MD -MP -MF $depbase.Tpo -c -o lib/fprintf.o lib/fprintf.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo lib/fseterr.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc    -I. -I./lib -I. -I./lib -I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include   -O2 -I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include  -MT lib/fseterr.o -MD -MP -MF $depbase.Tpo -c -o lib/fseterr.o lib/fseterr.c &&\
mv -f $depbase.Tpo $depbase.Po
lib/fseterr.c: In function 'fseterr':
lib/fseterr.c:77:3: error: #error "Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib."
   77 |  #error "Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib."
      |   ^~~~~
make[6]: *** [Makefile:3461: lib/fseterr.o] Error 1
make[6]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/bison-3.0.4'
make[5]: *** [Makefile:4522: all-recursive] Error 1
make[5]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/bison-3.0.4'
make[4]: *** [Makefile:2625: all] Error 2
make[4]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/bison-3.0.4'
make[3]: *** [Makefile:31: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/bison-3.0.4/.built] Error 2
make[3]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/tools/bison'
make[2]: *** [tools/Makefile:130: tools/bison/compile] Error 2
make[2]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0'
make[1]: *** [tools/Makefile:128: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/staging_dir/target/stamp/.tools_install_yyyynyyynyyyyyynnnyyyyyyyyyynnyyyyyyynynyyynnyyyy] Error 2
make[1]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0'
make: *** [/home/rootroot/wyb/r16/tinav3.0/build/toplevel.mk:274:world] 错误 2

#### make failed to build some targets (04:13 (mm:ss)) ####


real    4m12.941s
user    3m12.891s
sys    0m54.054s
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
 

 

 

rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ find . -name bison
./out/astar-parrot/compile_dir/host/bison-3.0.4/tests/bison
./tools/bison
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ +
+:未找到命令
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ cd out/astar-parrot/compile_dir/host/bison-3.0.4
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/bison-3.0.4$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/bison-3.0.4$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/bison-3.0.4$ ll
总用量 4512
drwxr-xr-x 14 rootroot rootroot    4096 2月  21 15:59 ./
drwxr-xr-x 16 rootroot rootroot    4096 2月  21 15:58 ../
-rw-r--r--  1 rootroot rootroot   95341 2月  24  2012 ABOUT-NLS
-rw-r--r--  1 rootroot rootroot   47112 1月  23  2015 aclocal.m4
-rw-r--r--  1 rootroot rootroot    1460 1月  16  2015 AUTHORS
drwxr-xr-x  3 rootroot rootroot    4096 2月  21 15:58 build-aux/
-rw-r--r--  1 rootroot rootroot    6696 1月  16  2015 cfg.mk
-rw-r--r--  1 rootroot rootroot  355453 1月  23  2015 ChangeLog
-rw-r--r--  1 rootroot rootroot   46844 2月  16  2013 ChangeLog-1998
-rw-r--r--  1 rootroot rootroot 1000971 1月  16  2015 ChangeLog-2012
-rwxrwxr-x  1 rootroot rootroot   43434 6月   1  2018 config.guess*
-rw-r--r--  1 rootroot rootroot  754761 2月  21 15:59 config.log
-rwxr-xr-x  1 rootroot rootroot   92397 2月  21 15:59 config.status*
-rwxrwxr-x  1 rootroot rootroot   36132 6月   1  2018 config.sub*
-rwxr-xr-x  1 rootroot rootroot 1034648 1月  23  2015 configure*
-rw-r--r--  1 rootroot rootroot    8626 1月  22  2015 configure.ac
-rw-r--r--  1 rootroot rootroot       0 2月  21 15:59 .configured
-rw-r--r--  1 rootroot rootroot   35147 2月  16  2013 COPYING
drwxr-xr-x  4 rootroot rootroot    4096 2月  21 15:58 data/
drwxr-xr-x  2 rootroot rootroot    4096 2月  21 15:58 djgpp/
drwxr-xr-x  3 rootroot rootroot    4096 2月  21 15:59 doc/
drwxr-xr-x  2 rootroot rootroot    4096 2月  21 15:59 etc/
drwxr-xr-x  5 rootroot rootroot    4096 2月  21 15:59 examples/
-rw-r--r--  1 rootroot rootroot    4573 1月  23  2015 GNUmakefile
-rw-r--r--  1 rootroot rootroot   15756 1月  16  2015 INSTALL
-rw-r--r--  1 rootroot rootroot    2599 2月  21 15:59 javacomp.sh
-rw-r--r--  1 rootroot rootroot    2360 2月  21 15:59 javaexec.sh
drwxr-xr-x  6 rootroot rootroot   12288 2月  21 15:59 lib/
drwxr-xr-x  2 rootroot rootroot    4096 2月  21 15:58 m4/
-rw-r--r--  1 rootroot rootroot   63223 1月  16  2015 maint.mk
-rw-r--r--  1 rootroot rootroot  329551 2月  21 15:59 Makefile
-rw-r--r--  1 rootroot rootroot    3693 1月  18  2015 Makefile.am
-rw-r--r--  1 rootroot rootroot  369908 1月  23  2015 Makefile.in
-rw-r--r--  1 rootroot rootroot  100610 1月  23  2015 NEWS
-rw-r--r--  1 rootroot rootroot    1948 1月  16  2015 PACKAGING
drwxr-xr-x  2 rootroot rootroot    4096 2月  21 15:59 po/
-rw-r--r--  1 rootroot rootroot       0 2月  21 15:58 .preparedaae3c39c2d232b4eebaedb7557b6409d
-rw-r--r--  1 rootroot rootroot       6 1月  16  2015 .prev-version
-rw-r--r--  1 rootroot rootroot    2289 1月  16  2015 README
-rw-r--r--  1 rootroot rootroot    1126 1月  16  2015 README-alpha
-rw-r--r--  1 rootroot rootroot    2986 1月  23  2015 README-release
drwxr-xr-x  2 rootroot rootroot    4096 2月  21 15:59 runtime-po/
drwxr-xr-x  3 rootroot rootroot    4096 2月  21 15:59 src/
-rw-r--r--  1 rootroot rootroot       6 1月  23  2015 .tarball-version
drwxr-xr-x  2 rootroot rootroot    4096 2月  21 15:59 tests/
-rw-r--r--  1 rootroot rootroot    8610 1月  18  2015 THANKS
-rw-r--r--  1 rootroot rootroot   14141 1月  16  2015 TODO
-rw-r--r--  1 rootroot rootroot       6 1月  23  2015 .version
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/bison-3.0.4$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/bison-3.0.4$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/bison-3.0.4$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/bison-3.0.4$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/bison-3.0.4$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/bison-3.0.4$ sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/bison-3.0.4$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/bison-3.0.4$ echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/bison-3.0.4$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/bison-3.0.4$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/bison-3.0.4$ cd -
/home/rootroot/wyb/r16/tinav3.0
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
 

 

 

问题四:

cc  -Iinclude -Ilibsparse/include -c -o extent.o extent.c
cc  -Iinclude -Ilibsparse/include -c -o indirect.o indirect.c
cc  -Iinclude -Ilibsparse/include -c -o make_ext4fs_main.o make_ext4fs_main.c
cc  -Iinclude -Ilibsparse/include -c -o make_ext4fs.o make_ext4fs.c
cc  -Iinclude -Ilibsparse/include -c -o sha1.o sha1.c
cc  -Iinclude -Ilibsparse/include -c -o uuid.o uuid.c
cc  -Iinclude -Ilibsparse/include -c -o wipe.o wipe.c
make -C libsparse/ libsparse.a
make[5]: Entering directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02/libsparse'
cc  -Iinclude -Ilibsparse/include -Iinclude -c -o backed_block.o backed_block.c
cc  -Iinclude -Ilibsparse/include -Iinclude -c -o output_file.o output_file.c
cc  -Iinclude -Ilibsparse/include -Iinclude -c -o sparse.o sparse.c
cc  -Iinclude -Ilibsparse/include -Iinclude -c -o sparse_crc32.o sparse_crc32.c
cc  -Iinclude -Ilibsparse/include -Iinclude -c -o sparse_err.o sparse_err.c
cc  -Iinclude -Ilibsparse/include -Iinclude -c -o sparse_read.o sparse_read.c
ar rcs libsparse.a backed_block.o output_file.o sparse.o sparse_crc32.o sparse_err.o sparse_read.o
make[5]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02/libsparse'
cc -o make_ext4fs allocate.o canned_fs_config.o contents.o crc16.o ext4fixup.o ext4_sb.o ext4_utils.o extent.o indirect.o make_ext4fs_main.o make_ext4fs.o sha1.o uuid.o wipe.o libsparse/libsparse.a -Wl,-Bstatic -lz -Wl,-Bdynamic
/usr/bin/ld: contents.o: in function `make_special':
contents.c:(.text+0xbf7): undefined reference to `major'
/usr/bin/ld: contents.c:(.text+0xc17): undefined reference to `minor'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:30: make_ext4fs] Error 1
make[4]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02'
make[3]: *** [Makefile:41: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02/.built] Error 2
make[3]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/tools/make-ext4fs'
make[2]: *** [tools/Makefile:130: tools/make-ext4fs/compile] Error 2
make[2]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0'
make[1]: *** [tools/Makefile:128: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/staging_dir/target/stamp/.tools_install_yyyynyyynyyyyyynnnyyyyyyyyyynnyyyyyyynynyyynnyyyy] Error 2
make[1]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0'
make: *** [/home/rootroot/wyb/r16/tinav3.0/build/toplevel.mk:274:world] 错误 2

#### make failed to build some targets (58 seconds) ####


real    0m58.626s
user    0m47.952s
sys    0m8.917s
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
 

 

 

 

rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ find . -name contents.c
./out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02/contents.c
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ cd out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02$ sed -i '1i\#include <sys/types.h>' contents.c
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02$ cd -
/home/rootroot/wyb/r16/tinav3.0
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
 

 

 

 

rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02$ cp contents.c contents.c.bak1
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02$ diff contents.c contents.c.bak1 
1d0
< include <sys/types.h>
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02$ cp contents.c.bak1 contents.c
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02$ diff contents.c contents.c.bak1 
1d0
< #include <sys/types.h>
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/make-ext4fs-2015-12-02$ 
 

#include <sys/stat.h>
//#include <sys/types.h>
//#include <sysmacros.h>
#include <sys/sysmacros.h>

#include <string.h>
#include <stdio.h>

 

 

问题五:

    CC recovery.c
    CC region.c
    CC revoke.c
    CC ea_refcount.c
    CC rehash.c
    CC profile.c
    CC prof_err.c
    CC logfile.c
    CC sigcatcher.c
    LD e2fsck
/usr/bin/ld: ../lib/libext2fs.a(ismounted.o): in function `check_mntent_file':
ismounted.c:(.text+0x23d): undefined reference to `major'
/usr/bin/ld: ../lib/libblkid.a(devname.o): in function `probe_all':
devname.c:(.text+0x888): undefined reference to `makedev'
/usr/bin/ld: devname.c:(.text+0xb7e): undefined reference to `makedev'
/usr/bin/ld: devname.c:(.text+0xc5b): undefined reference to `makedev'
collect2: error: ld returned 1 exit status
make[6]: *** [Makefile:409: e2fsck] Error 1
make[6]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/e2fsprogs-1.42.12/e2fsck'
make[5]: *** [Makefile:382: all-progs-recursive] Error 1
make[5]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/e2fsprogs-1.42.12'
make[4]: *** [Makefile:319: all] Error 2
make[4]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/e2fsprogs-1.42.12'
make[3]: *** [Makefile:49: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/e2fsprogs-1.42.12/.built] Error 2
make[3]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/tools/e2fsprogs'
make[2]: *** [tools/Makefile:130: tools/e2fsprogs/compile] Error 2
make[2]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0'
make[1]: *** [tools/Makefile:128: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/staging_dir/target/stamp/.tools_install_yyyynyyynyyyyyynnnyyyyyyyyyynnyyyyyyynynyyynnyyyy] Error 2
make[1]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0'
make: *** [/home/rootroot/wyb/r16/tinav3.0/build/toplevel.mk:274:world] 错误 2

#### make failed to build some targets (48 seconds) ####


real    0m47.607s
user    0m37.474s
sys    0m11.000s
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ find . -name ismounted.c
./out/astar-parrot/compile_dir/host/e2fsprogs-1.42.12/lib/ext2fs/ismounted.c
./out/astar-parrot/compile_dir/host/e2fsprogs-1.42.12/misc/ismounted.c
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ find . -name devname.c
./out/astar-parrot/compile_dir/host/e2fsprogs-1.42.12/lib/blkid/devname.c
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ sed -i '1i\#include <sys/sysmacros.h>' out/astar-parrot/compile_dir/host/e2fsprogs-1.42.12/lib/ext2fs/ismounted.c
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ sed -i '1i\#include <sys/sysmacros.h>' out/astar-parrot/compile_dir/host/e2fsprogs-1.42.12/misc/ismounted.c
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ sed -i '1i\#include <sys/sysmacros.h>' out/astar-parrot/compile_dir/host/e2fsprogs-1.42.12/lib/blkid/devname.c
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
 

 

 

 

错误六:

  CC      lib/libfec.o
In file included from /usr/include/string.h:494,
                 from lib/libfec.c:47:
In function 'memset',
    inlined from 'invert_mat' at lib/libfec.c:421:5,
    inlined from 'build_decode_matrix' at lib/libfec.c:817:9,
    inlined from 'fec_decode' at lib/libfec.c:848:13:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:71:10: warning: '__builtin_memset' specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   71 |   return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:71:10: warning: '__builtin_memset' specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
  AR      lib/libmtd.a
  LD      mkfs.jffs2
/usr/bin/ld: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/mkfs.jffs2.o: in function `write_special_file':
/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/mkfs.jffs2.c:944: undefined reference to `major'
/usr/bin/ld: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/mkfs.jffs2.c:944: undefined reference to `minor'
/usr/bin/ld: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/mkfs.jffs2.o: in function `recursive_populate_directory':
/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/mkfs.jffs2.c:1273: undefined reference to `minor'
/usr/bin/ld: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/mkfs.jffs2.c:1273: undefined reference to `major'
/usr/bin/ld: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/mkfs.jffs2.c:1263: undefined reference to `minor'
/usr/bin/ld: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/mkfs.jffs2.c:1263: undefined reference to `major'
/usr/bin/ld: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/mkfs.jffs2.o: in function `interpret_table_entry':
/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/mkfs.jffs2.c:467: undefined reference to `makedev'
/usr/bin/ld: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/mkfs.jffs2.c:503: undefined reference to `makedev'
/usr/bin/ld: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/mkfs.jffs2.c:510: undefined reference to `makedev'
collect2: error: ld returned 1 exit status
make[4]: *** [common.mk:81: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/mkfs.jffs2] Error 1
make[4]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2'
make[3]: *** [Makefile:61: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/.built] Error 2
make[3]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/tools/mtd-utils'
make[2]: *** [tools/Makefile:130: tools/mtd-utils/compile] Error 2
make[2]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0'
make[1]: *** [tools/Makefile:128: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/staging_dir/target/stamp/.tools_install_yyyynyyynyyyyyynnnyyyyyyyyyynnyyyyyyynynyyynnyyyy] Error 2
make[1]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0'
make: *** [/home/rootroot/wyb/r16/tinav3.0/build/toplevel.mk:274:world] 错误 2

#### make failed to build some targets (25 seconds) ####


real    0m24.645s
user    0m21.151s
sys    0m4.655s
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ sed -i '1i\#include <sys/sysmacros.h>' /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/mkfs.jffs2.c
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
 

 

 

错误七:

  CC      ubi-utils/dictionary.o
  AR      ubi-utils/libiniparser.a
  CC      ubi-utils/libubi.o
ubi-utils/libubi.c: In function 'vol_node2nums':
ubi-utils/libubi.c:383:10: error: called object 'major' is not a function or function pointer
  383 |  major = major(st.st_rdev);
      |          ^~~~~
ubi-utils/libubi.c:371:13: note: declared here
  371 |  int i, fd, major, minor;
      |             ^~~~~
ubi-utils/libubi.c:384:10: error: called object 'minor' is not a function or function pointer
  384 |  minor = minor(st.st_rdev);
      |          ^~~~~
ubi-utils/libubi.c:371:20: note: declared here
  371 |  int i, fd, major, minor;
      |                    ^~~~~
ubi-utils/libubi.c: In function 'dev_node2num':
ubi-utils/libubi.c:452:10: error: called object 'major' is not a function or function pointer
  452 |  major = major(st.st_rdev);
      |          ^~~~~
ubi-utils/libubi.c:442:9: note: declared here
  442 |  int i, major, minor;
      |         ^~~~~
ubi-utils/libubi.c:453:10: error: called object 'minor' is not a function or function pointer
  453 |  minor = minor(st.st_rdev);
      |          ^~~~~
ubi-utils/libubi.c:442:16: note: declared here
  442 |  int i, major, minor;
      |                ^~~~~
ubi-utils/libubi.c: In function 'mtd_node_to_num':
ubi-utils/libubi.c:741:10: error: called object 'major' is not a function or function pointer
  741 |  major = major(sb.st_rdev);
      |          ^~~~~
ubi-utils/libubi.c:729:6: note: declared here
  729 |  int major, minor;
      |      ^~~~~
ubi-utils/libubi.c:742:10: error: called object 'minor' is not a function or function pointer
  742 |  minor = minor(sb.st_rdev);
      |          ^~~~~
ubi-utils/libubi.c:729:13: note: declared here
  729 |  int major, minor;
      |             ^~~~~
ubi-utils/libubi.c: In function 'ubi_probe_node':
ubi-utils/libubi.c:881:10: error: called object 'major' is not a function or function pointer
  881 |  major = major(st.st_rdev);
      |          ^~~~~
ubi-utils/libubi.c:868:13: note: declared here
  868 |  int i, fd, major, minor;
      |             ^~~~~
ubi-utils/libubi.c:882:10: error: called object 'minor' is not a function or function pointer
  882 |  minor = minor(st.st_rdev);
      |          ^~~~~
ubi-utils/libubi.c:868:20: note: declared here
  868 |  int i, fd, major, minor;
      |                    ^~~~~
make[4]: *** [common.mk:93: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/ubi-utils/libubi.o] Error 1
make[4]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2'
make[3]: *** [Makefile:61: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/.built] Error 2
make[3]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/tools/mtd-utils'
make[2]: *** [tools/Makefile:130: tools/mtd-utils/compile] Error 2
make[2]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0'
make[1]: *** [tools/Makefile:128: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/staging_dir/target/stamp/.tools_install_yyyynyyynyyyyyynnnyyyyyyyyyynnyyyyyyynynyyynnyyyy] Error 2
make[1]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0'
make: *** [/home/rootroot/wyb/r16/tinav3.0/build/toplevel.mk:274:world] 错误 2

#### make failed to build some targets (8 seconds) ####


real    0m8.432s
user    0m7.595s
sys    0m1.991s
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ find . -name libubi.c
./out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/ubi-utils/libubi.c
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ sed -i '1i\#include <sys/sysmacros.h>' out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/ubi-utils/libubi.c
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ time(make -j1)
 

 

 

错误八:

  CC      mkfs.ubifs/compr.o
  CC      mkfs.ubifs/devtable.o
mkfs.ubifs/devtable.c: In function 'interpret_table_entry':
mkfs.ubifs/devtable.c:238:17: warning: implicit declaration of function 'makedev' [-Wimplicit-function-declaration]
  238 |   nh_elt->dev = makedev(major, minor);
      |                 ^~~~~~~
In file included from mkfs.ubifs/devtable.c:47:
mkfs.ubifs/devtable.c:241:10: error: called object 'major' is not a function or function pointer
  241 |    name, major(nh_elt->dev), minor(nh_elt->dev));
      |          ^~~~~
mkfs.ubifs/mkfs.ubifs.h:94:54: note: in definition of macro 'dbg_msg'
   94 |  printf("mkfs.ubifs: %s: " fmt "\n", __FUNCTION__, ##__VA_ARGS__); \
      |                                                      ^~~~~~~~~~~
mkfs.ubifs/devtable.c:134:46: note: declared here
  134 |  unsigned int mode = 0755, uid = 0, gid = 0, major = 0, minor = 0;
      |                                              ^~~~~
In file included from mkfs.ubifs/devtable.c:47:
mkfs.ubifs/devtable.c:241:30: error: called object 'minor' is not a function or function pointer
  241 |    name, major(nh_elt->dev), minor(nh_elt->dev));
      |                              ^~~~~
mkfs.ubifs/mkfs.ubifs.h:94:54: note: in definition of macro 'dbg_msg'
   94 |  printf("mkfs.ubifs: %s: " fmt "\n", __FUNCTION__, ##__VA_ARGS__); \
      |                                                      ^~~~~~~~~~~
mkfs.ubifs/devtable.c:134:57: note: declared here
  134 |  unsigned int mode = 0755, uid = 0, gid = 0, major = 0, minor = 0;
      |                                                         ^~~~~
In file included from mkfs.ubifs/devtable.c:47:
mkfs.ubifs/devtable.c:278:16: error: called object 'major' is not a function or function pointer
  278 |            nm, major(nh_elt->dev), minor(nh_elt->dev));
      |                ^~~~~
mkfs.ubifs/mkfs.ubifs.h:94:54: note: in definition of macro 'dbg_msg'
   94 |  printf("mkfs.ubifs: %s: " fmt "\n", __FUNCTION__, ##__VA_ARGS__); \
      |                                                      ^~~~~~~~~~~
mkfs.ubifs/devtable.c:134:46: note: declared here
  134 |  unsigned int mode = 0755, uid = 0, gid = 0, major = 0, minor = 0;
      |                                              ^~~~~
In file included from mkfs.ubifs/devtable.c:47:
mkfs.ubifs/devtable.c:278:36: error: called object 'minor' is not a function or function pointer
  278 |            nm, major(nh_elt->dev), minor(nh_elt->dev));
      |                                    ^~~~~
mkfs.ubifs/mkfs.ubifs.h:94:54: note: in definition of macro 'dbg_msg'
   94 |  printf("mkfs.ubifs: %s: " fmt "\n", __FUNCTION__, ##__VA_ARGS__); \
      |                                                      ^~~~~~~~~~~
mkfs.ubifs/devtable.c:134:57: note: declared here
  134 |  unsigned int mode = 0755, uid = 0, gid = 0, major = 0, minor = 0;
      |                                                         ^~~~~
make[4]: *** [common.mk:93: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/mkfs.ubifs/devtable.o] Error 1
make[4]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2'
make[3]: *** [Makefile:61: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/.built] Error 2
make[3]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/tools/mtd-utils'
make[2]: *** [tools/Makefile:130: tools/mtd-utils/compile] Error 2
make[2]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0'
make[1]: *** [tools/Makefile:128: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/staging_dir/target/stamp/.tools_install_yyyynyyynyyyyyynnnyyyyyyyyyynnyyyyyyynynyyynnyyyy] Error 2
make[1]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0'
make: *** [/home/rootroot/wyb/r16/tinav3.0/build/toplevel.mk:274:world] 错误 2

#### make failed to build some targets (9 seconds) ####


real    0m8.685s
user    0m7.791s
sys    0m2.034s
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ find . -name devtable.c
./out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/mkfs.ubifs/devtable.c
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ sed -i '1i\#include <sys/sysmacros.h>' out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/mkfs.ubifs/devtable.c
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
 

 

 

 

错误九:

make[3]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/tools/e2fsprogs'
make[3]: Entering directory '/home/rootroot/wyb/r16/tinav3.0/tools/e2fsprogs'
make[3]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/tools/e2fsprogs'
make[3]: Entering directory '/home/rootroot/wyb/r16/tinav3.0/tools/mtd-utils'
make -C /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2 CFLAGS="-O2 -I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include  -I/home/rootroot/wyb/r16/tinav3.0/out/host/include/e2fsprogs -I/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/include -L/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2 -L/home/rootroot/wyb/r16/tinav3.0/out/host/lib -DNO_NATIVE_SUPPORT" LDFLAGS="-L/home/rootroot/wyb/r16/tinav3.0/out/host/lib -L/home/rootroot/wyb/r16/tinav3.0/out/host/usr/lib " WITHOUT_LZO=1 WITHOUT_XATTR=1 SUBDIRS="" BUILDDIR="/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2" STATIC=1 V= TARGETS="mkfs.jffs2 ubi-utils/ubinize mkfs.ubifs/mkfs.ubifs"
make[4]: Entering directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2'
  CHK     include/version.h
  CC      mkfs.ubifs/devtable.o
  CC      mkfs.ubifs/hashtable/hashtable.o
  CC      mkfs.ubifs/hashtable/hashtable_itr.o
  LD      mkfs.ubifs/mkfs.ubifs
/usr/bin/ld: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/mkfs.ubifs/mkfs.ubifs.o: in function `add_dev_inode':
/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/mkfs.ubifs/mkfs.ubifs.c:1157: undefined reference to `minor'
/usr/bin/ld: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/mkfs.ubifs/mkfs.ubifs.c:1157: undefined reference to `major'
/usr/bin/ld: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/mkfs.ubifs/mkfs.ubifs.c:1157: undefined reference to `makedev'
collect2: error: ld returned 1 exit status
make[4]: *** [common.mk:81: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/mkfs.ubifs/mkfs.ubifs] Error 1
make[4]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2'
make[3]: *** [Makefile:61: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/.built] Error 2
make[3]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/tools/mtd-utils'
make[2]: *** [tools/Makefile:130: tools/mtd-utils/compile] Error 2
make[2]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0'
make[1]: *** [tools/Makefile:128: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/staging_dir/target/stamp/.tools_install_yyyynyyynyyyyyynnnyyyyyyyyyynnyyyyyyynynyyynnyyyy] Error 2
make[1]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0'
make: *** [/home/rootroot/wyb/r16/tinav3.0/build/toplevel.mk:274:world] 错误 2

#### make failed to build some targets (8 seconds) ####


real    0m7.526s
user    0m6.898s
sys    0m1.774s
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ sed -i '1i\#include <sys/sysmacros.h>' /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/mtd-utils-1.5.2/mkfs.ubifs/mkfs.ubifs.c
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
 

 

 

错误十:

rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ find . -name compiler-gcc.h
./compiler-gcc.h
./out/astar-parrot/compile_dir/host/u-boot-2014.10/include/linux/compiler-gcc.h
./lichee/linux-3.4/include/linux/compiler-gcc.h
./lichee/linux-4.9/include/linux/compiler-gcc.h
./lichee/brandy/u-boot-2014.07/include/linux/compiler-gcc.h
./lichee/brandy/u-boot-2011.09/include/linux/compiler-gcc.h
./lichee/linux-3.10/include/linux/compiler-gcc.h
./lichee/linux-4.4/include/linux/compiler-gcc.h
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ cd lichee/brandy/u-boot-2011.09/include/linux/
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/lichee/brandy/u-boot-2011.09/include/linux$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/lichee/brandy/u-boot-2011.09/include/linux$ ll
总用量 284
drwxrwxr-x  6 rootroot rootroot  4096 6月   1  2018 ./
drwxrwxr-x 18 rootroot rootroot 12288 6月   1  2018 ../
-rw-rw-r--  1 rootroot rootroot  5647 6月   1  2018 apm_bios.h
-rw-rw-r--  1 rootroot rootroot  3113 6月   1  2018 bitops.h
drwxrwxr-x  2 rootroot rootroot  4096 6月   1  2018 byteorder/
-rwxrwxr-x  1 rootroot rootroot  1494 6月   1  2018 compat.h*
-rw-rw-r--  1 rootroot rootroot  2125 6月   1  2018 compiler-gcc4.h
-rw-rw-r--  1 rootroot rootroot  3168 6月   1  2018 compiler-gcc.h
-rw-rw-r--  1 rootroot rootroot  8408 6月   1  2018 compiler.h
-rw-rw-r--  1 rootroot rootroot    91 6月   1  2018 config.h
-rwxrwxr-x  1 rootroot rootroot  1209 6月   1  2018 constdata.h*
-rw-rw-r--  1 rootroot rootroot   904 6月   1  2018 crc32.h
-rw-rw-r--  1 rootroot rootroot   272 6月   1  2018 crc7.h
-rw-rw-r--  1 rootroot rootroot  1405 6月   1  2018 ctype.h
-rw-rw-r--  1 rootroot rootroot  5609 6月   1  2018 edd.h
-rw-rw-r--  1 rootroot rootroot   813 6月   1  2018 err.h
-rw-rw-r--  1 rootroot rootroot 24940 6月   1  2018 ethtool.h
-rw-rw-r--  1 rootroot rootroot 19819 6月   1  2018 fb.h
-rwxrwxr-x  1 rootroot rootroot 11959 6月   1  2018 init.h*
-rw-rw-r--  1 rootroot rootroot    99 6月   1  2018 ioctl.h
-rw-rw-r--  1 rootroot rootroot  7235 6月   1  2018 ioport.h
-rw-rw-r--  1 rootroot rootroot   430 6月   1  2018 kbuild.h
-rw-rw-r--  1 rootroot rootroot 19907 6月   1  2018 list.h
-rw-rw-r--  1 rootroot rootroot  1452 6月   1  2018 lzo.h
-rw-rw-r--  1 rootroot rootroot  1844 6月   1  2018 math64.h
-rw-rw-r--  1 rootroot rootroot  3371 6月   1  2018 mc146818rtc.h
-rw-rw-r--  1 rootroot rootroot 13289 6月   1  2018 mdio.h
-rw-rw-r--  1 rootroot rootroot  8420 6月   1  2018 mii.h
drwxrwxr-x  2 rootroot rootroot  4096 6月   1  2018 mtd/
-rw-rw-r--  1 rootroot rootroot  2318 6月   1  2018 netdevice.h
-rw-rw-r--  1 rootroot rootroot   248 6月   1  2018 poison.h
-rw-rw-r--  1 rootroot rootroot  1241 6月   1  2018 posix_types.h
-rw-rw-r--  1 rootroot rootroot  4884 6月   1  2018 rbtree.h
-rw-rw-r--  1 rootroot rootroot  2761 6月   1  2018 screen_info.h
-rw-rw-r--  1 rootroot rootroot  4218 6月   1  2018 stat.h
-rw-rw-r--  1 rootroot rootroot   276 6月   1  2018 stddef.h
-rw-rw-r--  1 rootroot rootroot  2484 6月   1  2018 string.h
-rw-rw-r--  1 rootroot rootroot  3768 6月   1  2018 time.h
-rw-rw-r--  1 rootroot rootroot  3276 6月   1  2018 types.h
drwxrwxr-x  2 rootroot rootroot  4096 6月   1  2018 unaligned/
drwxrwxr-x  2 rootroot rootroot  4096 6月   1  2018 usb/
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/lichee/brandy/u-boot-2011.09/include/linux$ cp compiler-gcc4.h compiler-gcc9.h 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/lichee/brandy/u-boot-2011.09/include/linux$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/lichee/brandy/u-boot-2011.09/include/linux$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/lichee/brandy/u-boot-2011.09/include/linux$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/lichee/brandy/u-boot-2011.09/include/linux$ cd -
/home/rootroot/wyb/r16/tinav3.0
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
 

 

 

 

问题11:

  HOSTCC  tools/lib/libfdt/fdt_wip.o
  WRAP    tools/lib/md5.c
  HOSTCC  tools/lib/md5.o
In file included from /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/include/compiler.h:46,
                 from /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/include/libfdt_env.h:12,
                 from <command-line>:
/home/rootroot/wyb/r16/tinav3.0/out/host/include/byteswap.h:2:2: warning: #include_next is a GCC extension
    2 | #include_next <byteswap.h>
      |  ^~~~~~~~~~~~
  WRAP    tools/lib/rsa/rsa-checksum.c
  HOSTCC  tools/lib/rsa/rsa-checksum.o
  WRAP    tools/lib/rsa/rsa-sign.c
  HOSTCC  tools/lib/rsa/rsa-sign.o
In file included from tools/lib/rsa/rsa-sign.c:1:
/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c: In function 'rsa_remove':
/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c:156:2: warning: 'ERR_remove_thread_state' is deprecated [-Wdeprecated-declarations]
  156 |  ERR_remove_thread_state(NULL);
      |  ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/evp.h:13,
                 from /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/include/image.h:860,
                 from /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c:10,
                 from tools/lib/rsa/rsa-sign.c:1:
/usr/include/openssl/err.h:260:1: note: declared here
  260 | DEPRECATEDIN_1_1_0(void ERR_remove_thread_state(void *))
      | ^~~~~~~~~~~~~~~~~~
In file included from tools/lib/rsa/rsa-sign.c:1:
/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c: In function 'rsa_sign_with_key':
/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c:213:2: warning: implicit declaration of function 'EVP_MD_CTX_cleanup'; did you mean 'EVP_MD_CTX_create'? [-Wimplicit-function-declaration]
  213 |  EVP_MD_CTX_cleanup(context);
      |  ^~~~~~~~~~~~~~~~~~
      |  EVP_MD_CTX_create
/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c: In function 'rsa_get_exponent':
/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c:279:21: error: dereferencing pointer to incomplete type 'RSA' {aka 'struct rsa_st'}
  279 |  if (BN_num_bits(key->e) > 64)
      |                     ^~
make[5]: *** [scripts/Makefile.host:134: tools/lib/rsa/rsa-sign.o] Error 1
make[4]: *** [Makefile:1195: tools-only] Error 2
make[4]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10'
make[3]: *** [Makefile:48: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/.built] Error 2
make[3]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/tools/mkimage'
make[2]: *** [tools/Makefile:130: tools/mkimage/compile] Error 2
make[2]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0'
make[1]: *** [tools/Makefile:128: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/staging_dir/target/stamp/.tools_install_yyyynyyynyyyyyynnnyyyyyyyyyynnyyyyyyynynyyynnyyyy] Error 2
make[1]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0'
make: *** [/home/rootroot/wyb/r16/tinav3.0/build/toplevel.mk:274:world] 错误 2

#### make failed to build some targets (16 seconds) ####


real    0m16.113s
user    0m13.636s
sys    0m3.711s
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ find . -name rsa-sign.c
./out/astar-parrot/compile_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c
./out/astar-parrot/compile_dir/host/u-boot-2014.10/tools/lib/rsa/rsa-sign.c
./lichee/brandy/u-boot-2014.07/lib/rsa/rsa-sign.c
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ time(make -j1)
 

 

 

 

 

  HOSTCC  tools/lib/libfdt/fdt_wip.o
  WRAP    tools/lib/md5.c
  HOSTCC  tools/lib/md5.o
In file included from /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/include/compiler.h:46,
                 from /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/include/libfdt_env.h:12,
                 from <command-line>:
/home/rootroot/wyb/r16/tinav3.0/out/host/include/byteswap.h:2:2: warning: #include_next is a GCC extension
    2 | #include_next <byteswap.h>
      |  ^~~~~~~~~~~~
  WRAP    tools/lib/rsa/rsa-checksum.c
  HOSTCC  tools/lib/rsa/rsa-checksum.o
  WRAP    tools/lib/rsa/rsa-sign.c
  HOSTCC  tools/lib/rsa/rsa-sign.o
In file included from tools/lib/rsa/rsa-sign.c:1:
/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c: In function 'rsa_remove':
/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c:156:2: warning: 'ERR_remove_thread_state' is deprecated [-Wdeprecated-declarations]
  156 |  ERR_remove_thread_state(NULL);
      |  ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/evp.h:13,
                 from /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/include/image.h:860,
                 from /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c:10,
                 from tools/lib/rsa/rsa-sign.c:1:
/usr/include/openssl/err.h:260:1: note: declared here
  260 | DEPRECATEDIN_1_1_0(void ERR_remove_thread_state(void *))
      | ^~~~~~~~~~~~~~~~~~
In file included from tools/lib/rsa/rsa-sign.c:1:
/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c: In function 'rsa_sign_with_key':
/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c:213:2: warning: implicit declaration of function 'EVP_MD_CTX_cleanup'; did you mean 'EVP_MD_CTX_create'? [-Wimplicit-function-declaration]
  213 |  EVP_MD_CTX_cleanup(context);
      |  ^~~~~~~~~~~~~~~~~~
      |  EVP_MD_CTX_create
/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c: In function 'rsa_get_exponent':
/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c:279:21: error: dereferencing pointer to incomplete type 'RSA' {aka 'struct rsa_st'}
  279 |  if (BN_num_bits(key->e) > 64)
      |                     ^~
make[5]: *** [scripts/Makefile.host:134: tools/lib/rsa/rsa-sign.o] Error 1
make[4]: *** [Makefile:1195: tools-only] Error 2
make[4]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10'
make[3]: *** [Makefile:48: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/.built] Error 2
make[3]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/tools/mkimage'
make[2]: *** [tools/Makefile:130: tools/mkimage/compile] Error 2
make[2]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0'
make[1]: *** [tools/Makefile:128: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/staging_dir/target/stamp/.tools_install_yyyynyyynyyyyyynnnyyyyyyyyyynnyyyyyyynynyyynnyyyy] Error 2
make[1]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0'
make: *** [/home/rootroot/wyb/r16/tinav3.0/build/toplevel.mk:274:world] 错误 2

#### make failed to build some targets (16 seconds) ####


real    0m16.113s
user    0m13.636s
sys    0m3.711s
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ find . -name rsa-sign.c
./out/astar-parrot/compile_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c
./out/astar-parrot/compile_dir/host/u-boot-2014.10/tools/lib/rsa/rsa-sign.c
./lichee/brandy/u-boot-2014.07/lib/rsa/rsa-sign.c
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ time(make -j1)


百度搜索:lib/rsa/rsa-sign.c:279:21: error: dereferencing pointer to incomplete type 'RSA' {aka 'struct rsa_st

(失败)
https://blog.csdn.net/Javin_L/article/details/96015816
解决openssl1.1.0导致ssl1.0.版本的代码出错问题
通过降级openssl解决
sudo apt install libssl1.0-dev


https://blog.csdn.net/zmlovelx/article/details/80904109
编译国芯GX8010 SDK笔记

https://github.com/openwrt/openwrt/commit/70b104f98c0657323b28fce140b73a94bf3eb756#diff-ad001f3a51a1d957d5013650f14df0cb
tools/mkimage/patches/210-openssl-1.1.x-compat.patch
 

 

 

问题12:

make[4]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10'
make -C /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10 tools-only  HOSTCFLAGS="-I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include  -O2 -I/home/rootroot/wyb/r16/tinav3.0/out/host/include -I/home/rootroot/wyb/r16/tinav3.0/out/host/usr/include " HOSTLDFLAGS="-L/home/rootroot/wyb/r16/tinav3.0/out/host/lib -L/home/rootroot/wyb/r16/tinav3.0/out/host/usr/lib "
make[4]: Entering directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10'
scripts/kconfig/conf --silentoldconfig Kconfig
  CHK     include/config.h
  GEN     include/autoconf.mk
In file included from include/linux/compiler.h:54,
                 from /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/arch/sandbox/include/asm/bitops.h:20,
                 from include/linux/bitops.h:110,
                 from /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/include/common.h:20:
include/linux/compiler-gcc.h:114:1: fatal error: linux/compiler-gcc9.h: No such file or directory
  114 | #include gcc_header(__GNUC__)
      | ^~~~
compilation terminated.
make[6]: *** [/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/scripts/Makefile.autoconf:64: include/autoconf.mk] Error 1
make[5]: *** [/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/Makefile:464: silentoldconfig] Error 1
make[4]: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'.  Stop.
make[4]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10'
make[3]: *** [Makefile:48: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/.built] Error 2
make[3]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0/tools/mkimage'
make[2]: *** [tools/Makefile:130: tools/mkimage/compile] Error 2
make[2]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0'
make[1]: *** [tools/Makefile:128: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/staging_dir/target/stamp/.tools_install_yyyynyyynyyyyyynnnyyyyyyyyyynnyyyyyyynynyyynnyyyy] Error 2
make[1]: Leaving directory '/home/rootroot/wyb/r16/tinav3.0'
make: *** [/home/rootroot/wyb/r16/tinav3.0/build/toplevel.mk:274:world] 错误 2

#### make failed to build some targets (11 seconds) ####


real    0m11.531s
user    0m10.040s
sys    0m2.736s
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ cd /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/include/common.h
-bash: cd: /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/include/common.h: 不是目录
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0$ cd /home/rootroot/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/include/linux/
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/include/linux$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/include/linux$ ll
总用量 356
drwxr-xr-x  6 rootroot rootroot  4096 2月  21 17:53 ./
drwxr-xr-x 24 rootroot rootroot 12288 2月  21 17:56 ../
-rw-r--r--  1 rootroot rootroot  5199 10月 14  2014 apm_bios.h
-rw-r--r--  1 rootroot rootroot  2660 10月 14  2014 bch.h
-rw-r--r--  1 rootroot rootroot  3113 10月 14  2014 bitops.h
-rw-r--r--  1 rootroot rootroot   362 10月 14  2014 bitrev.h
drwxr-xr-x  2 rootroot rootroot  4096 10月 14  2014 byteorder/
-rw-r--r--  1 rootroot rootroot 10975 10月 14  2014 compat.h
-rw-r--r--  1 rootroot rootroot   320 10月 14  2014 compiler-clang.h
-rw-r--r--  1 rootroot rootroot   635 10月 14  2014 compiler-gcc3.h
-rw-r--r--  1 rootroot rootroot  2885 2月  21 17:53 compiler-gcc4.h
-rw-r--r--  1 rootroot rootroot  2455 2月  21 17:53 compiler-gcc5.h
-rw-r--r--  1 rootroot rootroot  4347 10月 14  2014 compiler-gcc.h
-rw-r--r--  1 rootroot rootroot 11347 10月 14  2014 compiler.h
-rw-r--r--  1 rootroot rootroot  1047 10月 14  2014 compiler-intel.h
-rw-r--r--  1 rootroot rootroot   904 10月 14  2014 crc32.h
-rw-r--r--  1 rootroot rootroot   272 10月 14  2014 crc7.h
-rw-r--r--  1 rootroot rootroot   492 10月 14  2014 crc8.h
-rw-r--r--  1 rootroot rootroot  1572 10月 14  2014 ctype.h
-rw-r--r--  1 rootroot rootroot  5609 10月 14  2014 edd.h
-rw-r--r--  1 rootroot rootroot  1138 10月 14  2014 err.h
-rw-r--r--  1 rootroot rootroot 25114 10月 14  2014 ethtool.h
-rw-r--r--  1 rootroot rootroot 19872 10月 14  2014 fb.h
-rw-r--r--  1 rootroot rootroot 19818 10月 14  2014 immap_qe.h
-rw-r--r--  1 rootroot rootroot  3470 10月 14  2014 input.h
-rw-r--r--  1 rootroot rootroot    99 10月 14  2014 ioctl.h
-rw-r--r--  1 rootroot rootroot  7235 10月 14  2014 ioport.h
-rw-r--r--  1 rootroot rootroot   469 10月 14  2014 kbuild.h
-rw-r--r--  1 rootroot rootroot  1538 10月 14  2014 kconfig.h
-rw-r--r--  1 rootroot rootroot  1009 10月 14  2014 linkage.h
-rw-r--r--  1 rootroot rootroot   141 10月 14  2014 linux_string.h
-rw-r--r--  1 rootroot rootroot 19907 10月 14  2014 list.h
-rw-r--r--  1 rootroot rootroot   238 10月 14  2014 list_sort.h
-rw-r--r--  1 rootroot rootroot  1452 10月 14  2014 lzo.h
-rw-r--r--  1 rootroot rootroot  1844 10月 14  2014 math64.h
-rw-r--r--  1 rootroot rootroot  3371 10月 14  2014 mc146818rtc.h
-rw-r--r--  1 rootroot rootroot 13289 10月 14  2014 mdio.h
-rw-r--r--  1 rootroot rootroot  8538 10月 14  2014 mii.h
drwxr-xr-x  2 rootroot rootroot  4096 10月 14  2014 mtd/
-rw-r--r--  1 rootroot rootroot  2099 10月 14  2014 netdevice.h
-rw-r--r--  1 rootroot rootroot   248 10月 14  2014 poison.h
-rw-r--r--  1 rootroot rootroot  1261 2月  21 17:53 posix_types.h
-rw-r--r--  1 rootroot rootroot  6449 10月 14  2014 rbtree_augmented.h
-rw-r--r--  1 rootroot rootroot  3129 10月 14  2014 rbtree.h
-rw-r--r--  1 rootroot rootroot  2761 10月 14  2014 screen_info.h
-rw-r--r--  1 rootroot rootroot  1223 10月 14  2014 sizes.h
-rw-r--r--  1 rootroot rootroot  4218 10月 14  2014 stat.h
-rw-r--r--  1 rootroot rootroot   303 10月 14  2014 stddef.h
-rw-r--r--  1 rootroot rootroot  2472 10月 14  2014 string.h
-rw-r--r--  1 rootroot rootroot   341 10月 14  2014 stringify.h
-rw-r--r--  1 rootroot rootroot  3768 10月 14  2014 time.h
-rw-r--r--  1 rootroot rootroot  3222 2月  21 17:53 types.h
drwxr-xr-x  2 rootroot rootroot  4096 10月 14  2014 unaligned/
drwxr-xr-x  2 rootroot rootroot  4096 10月 14  2014 usb/
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/include/linux$ cp compiler-gcc5.h compiler-gcc9.h
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/include/linux$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/include/linux$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/r16/tinav3.0/out/astar-parrot/compile_dir/host/u-boot-2014.10/include/linux$ cd -
 

 

 

 

 

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值