51-20210316华为海思Hi3516DV300的linux系统编译2(SPI模式)

51-20210316华为海思Hi3516DV300的linux系统编译
2021/3/16 10:42


https://xueqiu.com/7970718062/159110439
官井想开挖掘机
来自iPhone发布于2020-09-13 15:18
$润和软件(SZ300339)$ 

 


rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ make all
mkdir /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/hi3516dv300_spi_smp_image_glibc -p
mkdir /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/board_glibc -p
mkdir /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/pc -p
---------task [0]    hiregbin_prepare
tar xzf /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/uboot_tools/hiregbin-v5.0.1.tgz -C /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/uboot_tools
chmod 777 /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/uboot_tools/hiregbin-v5.0.1/hiregbin
cp /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/uboot_tools/Hi3516DV300-DMEB_4L_FLYBY-DDR3_1800M_512MB_16bitx2-A7_900M-SYSBUS_300M.xlsm /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/uboot_tools/hiregbin-v5.0.1
pushd /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/uboot_tools/hiregbin-v5.0.1;./hiregbin Hi3516DV300-DMEB_4L_FLYBY-DDR3_1800M_512MB_16bitx2-A7_900M-SYSBUS_300M.xlsm reg_info_hi3516dv300.bin;popd
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/uboot_tools/hiregbin-v5.0.1 ~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
Generate regbin file successfully.
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
mv /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/uboot_tools/hiregbin-v5.0.1/reg_info_hi3516dv300.bin /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/uboot_tools
rm /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/uboot_tools/hiregbin-v5.0.1 -rf
---------task [1]    build boot
pushd /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/opensource/uboot;tar xzf secureboot_release.tgz -C .;popd
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/opensource/uboot ~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
pushd /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/opensource/uboot;tar xzf u-boot-2016.11.tgz -C .;popd
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/opensource/uboot ~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
find /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/opensource/uboot/u-boot-2016.11 | xargs touch
make -C /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/opensource/uboot/u-boot-2016.11 ARCH=arm CROSS_COMPILE=arm-himix200-linux- hi3516dv300_config
make[1]: Entering directory '/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/opensource/uboot/u-boot-2016.11'
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2534:
scripts/kconfig/confdata.c: In function ‘conf_write’:
scripts/kconfig/confdata.c:771:19: warning: ‘%s’ directive writing likely 7 or more bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
  771 |  sprintf(newname, "%s%s", dirname, basename);
      |                   ^~~~~~
scripts/kconfig/confdata.c:771:19: note: assuming directive output of 7 bytes
In file included from /usr/include/stdio.h:867,
                 from scripts/kconfig/zconf.tab.c:84:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 1 or more bytes (assuming 4104) into a destination of size 4097
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from scripts/kconfig/zconf.tab.c:2534:
scripts/kconfig/confdata.c:774:20: warning: ‘.tmpconfig.’ directive writing 11 bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
  774 |   sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid());
      |                    ^~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
                 from scripts/kconfig/zconf.tab.c:84:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 13 and 4119 bytes into a destination of size 4097
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  HOSTLD  scripts/kconfig/conf
#
# configuration written to .config
#
make[1]: Leaving directory '/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/opensource/uboot/u-boot-2016.11'
pushd /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/opensource/uboot/u-boot-2016.11;make ARCH=arm CROSS_COMPILE=arm-himix200-linux- -j 20 >/dev/null;popd
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/opensource/uboot/u-boot-2016.11 ~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
drivers/mtd/nand/nand_util.c: In function 'nand_read_yaffs_skip_bad':
drivers/mtd/nand/nand_util.c:998:10: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t {aka unsigned int}' [-Wformat=]
   printf("Attempt to read non aligned data, read length should "\
          ^
In file included from product/hiupdate/auto_update_adaptation.c:24:0:
product/hiupdate/auto_update_adaptation.c: In function 'update_to_flash':
product/hiupdate/auto_update_adaptation.c:522:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' [-Wformat=]
   debug("read %s sz %ld hdr %lu\n",
         ^
include/common.h:112:21: note: in definition of macro 'pr_fmt'
 #define pr_fmt(fmt) fmt
                     ^~~
include/common.h:128:2: note: in expansion of macro 'debug_cond'
  debug_cond(_DEBUG, fmt, ##args)
  ^~~~~~~~~~
product/hiupdate/auto_update_adaptation.c:522:3: note: in expansion of macro 'debug'
   debug("read %s sz %ld hdr %lu\n",
   ^~~~~
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
make -C /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip/
make[1]: Entering directory '/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip'
tar -xf gzip-1.8.tgz
cd gzip-1.8
pushd gzip-1.8;./configure;make -j12;popd
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip/gzip-1.8 ~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for 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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for nm... nm
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for a POSIX-compliant shell... /bin/sh
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for sys/param.h... yes
checking for sys/socket.h... yes
checking for dirent.h... yes
checking for features.h... yes
checking for getopt.h... yes
checking for sys/time.h... yes
checking for math.h... yes
checking for sys/mman.h... yes
checking for wchar.h... yes
checking for utime.h... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for memory.h... yes
checking for time.h... yes
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 egrep... /usr/bin/grep -E
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking for ar... (cached) ar
checking for _LARGEFILE_SOURCE value needed for large files... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for _set_invalid_parameter_handler... no
checking for fchdir... yes
checking for fdopendir... yes
checking for strerror_r... yes
checking for fcntl... yes
checking for symlink... yes
checking for mempcpy... yes
checking for vasnprintf... no
checking for snprintf... yes
checking for fpurge... no
checking for __fpurge... yes
checking for __freading... yes
checking for __fseterr... no
checking for fstatat... yes
checking for fsync... yes
checking for getdtablesize... yes
checking for gettimeofday... yes
checking for nanotime... no
checking for lstat... yes
checking for mprotect... yes
checking for openat... yes
checking for __xpg_strerror_r... yes
checking for strdup... yes
checking for catgets... yes
checking for pipe... yes
checking for unlinkat... yes
checking for futimes... yes
checking for futimesat... yes
checking for futimens... yes
checking for utimensat... yes
checking for lutimes... yes
checking for chown... yes
checking for fchmod... yes
checking for fchown... yes
checking for siginterrupt... yes
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking how gcc reports undeclared, standard C functions... error
checking whether // is distinct from /... no
checking for complete errno.h... yes
checking whether strerror_r is declared... yes
checking whether strerror_r returns char *... yes
checking whether fchdir is declared... yes
checking for working fcntl.h... yes
checking for pid_t... yes
checking for mode_t... yes
checking for promoted mode_t type... mode_t
checking whether fdatasync is declared... yes
checking for stdint.h... yes
checking for inttypes.h... yes
checking whether printf supports size specifiers as in C99... yes
checking whether printf supports 'long double' arguments... yes
checking whether printf supports infinite 'double' arguments... yes
checking whether byte ordering is bigendian... no
checking whether long double and double are the same... no
checking whether printf supports infinite 'long double' arguments... yes
checking whether printf supports the 'a' and 'A' directives... yes
checking whether printf supports the 'F' directive... yes
checking whether printf supports the 'n' directive... no
checking whether printf supports the 'ls' directive... yes
checking whether printf supports POSIX/XSI format strings with positions... yes
checking whether printf supports the grouping flag... yes
checking whether printf supports the left-adjust flag correctly... yes
checking whether printf supports the zero flag correctly... yes
checking whether printf supports large precisions... yes
checking whether printf survives out-of-memory conditions... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for intmax_t... yes
checking where to find the exponent in a 'double'... word 1 bit 20
checking whether snprintf returns a byte count as in C99... yes
checking for snprintf... (cached) yes
checking for strnlen... yes
checking for wcslen... yes
checking for wcsnlen... yes
checking for mbrtowc... yes
checking for wcrtomb... yes
checking whether _snprintf is declared... no
checking whether frexp() can be used without linking with libm... yes
checking whether alarm is declared... yes
checking whether stdin defaults to large file offsets... yes
checking whether fseeko is declared... yes
checking for fseeko... yes
checking whether fflush works on input streams... no
checking whether stat file-mode macros are broken... no
checking for nlink_t... yes
checking whether lstat correctly handles trailing slash... yes
checking whether ftello is declared... yes
checking for ftello... yes
checking whether ftello works... yes
checking whether getcwd (NULL, 0) allocates memory for result... yes
checking for getcwd with POSIX signature... yes
checking whether getdtablesize 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 whether getenv is declared... yes
checking for C/C++ restrict keyword... __restrict
checking for struct timeval... yes
checking for wide-enough struct timeval.tv_sec member... yes
checking where to find the exponent in a 'float'... word 0 bit 23
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether imported symbols can be declared weak... yes
checking for pthread.h... yes
checking for multithread API to use... posix
checking for a sed that does not truncate output... /usr/bin/sed
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking whether memrchr is declared... yes
checking whether strerror(0) succeeds... yes
checking for strerror_r with POSIX signature... no
checking whether __xpg_strerror_r works... yes
checking for ptrdiff_t... yes
checking whether C symbols are prefixed with underscore at the linker level... no
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking whether stdint.h conforms to C99... yes
checking whether stdint.h predates C++11... no
checking whether strdup is declared... yes
checking for struct timespec in <time.h>... yes
checking whether the utimes function works... yes
checking for struct utimbuf... yes
checking whether <wchar.h> uses 'inline' correctly... yes
checking for alloca as a compiler built-in... yes
checking for GNU libc compatible calloc... 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 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 whether fflush works on input streams... (cached) no
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check
checking for library containing fdatasync... none required
checking whether fdopendir is declared... yes
checking whether fdopendir works... yes
checking whether fflush works on input streams... (cached) no
checking whether conversion from 'int' to 'long double' works... yes
checking for ptrdiff_t... (cached) yes
checking whether fpurge is declared... no
checking whether frexp works... yes
checking whether frexpl is declared... yes
checking whether frexpl() can be used without linking with libm... yes
checking whether frexpl works... yes
checking for fseeko... (cached) yes
checking whether fflush works on input streams... (cached) no
checking for _fseeki64... no
checking whether fstatat (..., 0) works... yes
checking for ftello... (cached) yes
checking whether ftello works... (cached) yes
checking whether getdtablesize works... yes
checking whether gettimeofday clobbers localtime buffer... no
checking for gettimeofday with POSIX signature... yes
checking whether isnan(double) can be used without linking with libm... yes
checking whether isnan(float) can be used without linking with libm... yes
checking whether isnan(float) works... yes
checking whether isnan(long double) can be used without linking with libm... yes
checking whether isnanl works... yes
checking for C compiler flag to ignore unused libraries... -Wl,--as-needed
checking for pthread_rwlock_t... yes
checking whether lseek detects pipes... yes
checking for stdlib.h... yes
checking for GNU libc compatible malloc... yes
checking whether NAN macro works... yes
checking whether HUGE_VAL works... yes
checking for mempcpy... (cached) yes
checking for memrchr... yes
checking whether open recognizes a trailing slash... yes
checking for opendir... yes
checking whether perror matches strerror... yes
checking whether frexp works... (cached) yes
checking whether ldexp can be used without linking with libm... yes
checking whether frexpl() can be used without linking with libm... (cached) yes
checking whether frexpl works... (cached) yes
checking whether frexpl is declared... (cached) yes
checking whether ldexpl() can be used without linking with libm... yes
checking whether ldexpl works... yes
checking whether ldexpl is declared... yes
checking for readdir... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking whether rmdir works... yes
checking for signbit macro... yes
checking for signbit compiler built-ins... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for ssize_t... yes
checking whether stat handles trailing slashes on directories... yes
checking whether stat handles trailing slashes on files... yes
checking for struct stat.st_atim.tv_nsec... yes
checking whether struct stat.st_atim is of type struct timespec... yes
checking for struct stat.st_birthtimespec.tv_nsec... no
checking for struct stat.st_birthtimensec... no
checking for struct stat.st_birthtim.tv_nsec... no
checking for max_align_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking which flavor of printf attribute matches inttypes macros... system
checking for stpcpy... yes
checking for working strerror function... yes
checking for nlink_t... (cached) yes
checking whether unlink honors trailing slashes... yes
checking whether unlink of a parent directory fails as it should... guessing yes
checking for ptrdiff_t... (cached) yes
checking for ptrdiff_t... (cached) yes
checking for stdint.h... (cached) yes
checking for underline in external names... no
checking for an assembler syntax supported by this package... no
checking for library containing strerror... none required
checking for an ANSI C-conforming const... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking return type of signal handlers... void
checking for size_t... (cached) yes
checking for off_t... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating lib/Makefile
config.status: creating tests/Makefile
config.status: creating lib/config.h
config.status: executing depfiles commands
make[2]: Entering directory '/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip/gzip-1.8'
  GEN      version.c
  GEN      version.h
make  all-recursive
make[3]: Entering directory '/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip/gzip-1.8'
Making all in lib
make[4]: Entering directory '/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip/gzip-1.8/lib'
  GEN      alloca.h
  GEN      c++defs.h
  GEN      arg-nonnull.h
  GEN      warn-on-use.h
  GEN      unused-parameter.h
  GEN      sys/types.h
  GEN      dirent.h
  GEN      fcntl.h
  GEN      math.h
  GEN      stdio.h
  GEN      stdlib.h
  GEN      string.h
  GEN      time.h
  GEN      sys/stat.h
  GEN      sys/time.h
  GEN      unistd.h
  GEN      wchar.h
make  all-am
make[5]: Entering directory '/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip/gzip-1.8/lib'
  CC       cloexec.o
  CC       basename-lgpl.o
  CC       exitfail.o
  CC       opendir-safer.o
  CC       dirname-lgpl.o
  CC       creat-safer.o
  CC       stripslash.o
  CC       open-safer.o
  CC       fd-hook.o
  CC       filenamecat-lgpl.o
  CC       freading.o
  CC       gettime.o
  CC       math.o
  CC       openat-die.o
  CC       openat-safer.o
  CC       printf-frexp.o
  CC       printf-frexpl.o
  CC       save-cwd.o
  CC       savedir.o
  CC       stat-time.o
  CC       statat.o
  CC       glthread/threadlib.o
  CC       timespec.o
  CC       unistd.o
  CC       dup-safer.o
  CC       fd-safer.o
  CC       pipe-safer.o
  CC       utimens.o
  CC       xmalloc.o
  CC       xalloc-die.o
  CC       xsize.o
  CC       yesno.o
  CC       asnprintf.o
  CC       chdir-long.o
  CC       fclose.o
  CC       fcntl.o
  CC       fflush.o
  CC       fprintf.o
  CC       fpurge.o
  CC       fseek.o
  CC       fseeko.o
  CC       fseterr.o
  CC       openat-proc.o
  CC       printf.o
  CC       printf-args.o
fseeko.c: In function 'rpl_fseeko':
fseeko.c:110:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib."
  110 |   #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib."
      |    ^~~~~
make[5]: *** [Makefile:1696: fseeko.o] Error 1
make[5]: *** Waiting for unfinished jobs....
fseterr.c: In function 'fseterr':
fseterr.c:78: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."
   78 |  #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[5]: *** [Makefile:1696: fseterr.o] Error 1
make[5]: Leaving directory '/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip/gzip-1.8/lib'
make[4]: *** [Makefile:1508: all] Error 2
make[4]: Leaving directory '/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip/gzip-1.8/lib'
make[3]: *** [Makefile:1682: all-recursive] Error 1
make[3]: Leaving directory '/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip/gzip-1.8'
make[2]: *** [Makefile:1463: all] Error 2
make[2]: Leaving directory '/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip/gzip-1.8'
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip
mkdir bin -p
cp gzip-1.8/gzip bin;
cp: cannot stat 'gzip-1.8/gzip': No such file or directory
make[1]: *** [Makefile:16: hi_gzip] Error 1
make[1]: Leaving directory '/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip'
make: *** [Makefile:175: hiboot] Error 2
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ 


解决方法:
https://blog.csdn.net/m0_37983106/article/details/108049940
问题解决:error: #error “Please port gnulib fseterr.c to your platform! Look at the definitions of ferror
七度使徒 2020-08-17 10:29:24  1972  收藏 6

一、遇到的问题:
编译Hi518EV300 LiteOS 时遇到如下问题:
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."

lib/fseeko.c: In function 'fseeko':
lib/fseeko.c:77:3: error: #error "Please port gnulib fseeko.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib."
进入文件对应的目录,执行下面的语句:
sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h


rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ cd tools/pc/hi_gzip/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ ll
total 1108
drwxrwxr-x  5 rootroot rootroot    4096 3月  16 11:57 ./
drwxrwxr-x 13 rootroot rootroot    4096 1月  14  2019 ../
drwxrwxr-x  2 rootroot rootroot    4096 3月  16 11:57 bin/
drwxr-xr-x  9 rootroot rootroot    4096 3月  16 11:57 gzip-1.8/
-rw-rw-r--  1 rootroot rootroot 1107193 1月  14  2019 gzip-1.8.tgz
-rw-rw-r--  1 rootroot rootroot     336 1月  14  2019 Makefile
drwxrwxr-x  2 rootroot rootroot    4096 1月  14  2019 src/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ ll
total 1108
drwxrwxr-x  5 rootroot rootroot    4096 3月  16 11:57 ./
drwxrwxr-x 13 rootroot rootroot    4096 1月  14  2019 ../
drwxrwxr-x  2 rootroot rootroot    4096 3月  16 11:57 bin/
drwxr-xr-x  9 rootroot rootroot    4096 3月  16 11:57 gzip-1.8/
-rw-rw-r--  1 rootroot rootroot 1107193 1月  14  2019 gzip-1.8.tgz
-rw-rw-r--  1 rootroot rootroot     336 1月  14  2019 Makefile
drwxrwxr-x  2 rootroot rootroot    4096 1月  14  2019 src/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ rm gzip-1.8 -rf
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ tar zxvf gzip-1.8.tgz 
gzip-1.8/
gzip-1.8/gzip.1
gzip-1.8/gunzip.in
gzip-1.8/zcmp.1
gzip-1.8/zforce.in
gzip-1.8/znew.in
gzip-1.8/trees.c
gzip-1.8/util.c
gzip-1.8/gzip.c
gzip-1.8/gzip.h
gzip-1.8/algorithm.doc
gzip-1.8/ChangeLog
gzip-1.8/zfgrep.in
gzip-1.8/zcat.in
gzip-1.8/sample/
gzip-1.8/sample/zread.c
gzip-1.8/sample/zfile
gzip-1.8/sample/makecrc.c
gzip-1.8/sample/sub.c
gzip-1.8/sample/ztouch
gzip-1.8/sample/add.c
gzip-1.8/TODO
gzip-1.8/Makefile.am
gzip-1.8/revision.h
gzip-1.8/deflate.c
gzip-1.8/INSTALL
gzip-1.8/zless.1
gzip-1.8/NEWS
gzip-1.8/dist-check.mk
gzip-1.8/AUTHORS
gzip-1.8/lib/
gzip-1.8/lib/fcntl.in.h
gzip-1.8/lib/msvc-inval.h
gzip-1.8/lib/dirent-safer.h
gzip-1.8/lib/pipe-safer.c
gzip-1.8/lib/gettime.c
gzip-1.8/lib/xalloc-die.c
gzip-1.8/lib/unistd--.h
gzip-1.8/lib/asnprintf.c
gzip-1.8/lib/vasnprintf.h
gzip-1.8/lib/stripslash.c
gzip-1.8/lib/isnanl-nolibm.h
gzip-1.8/lib/strerror-override.h
gzip-1.8/lib/math.c
gzip-1.8/lib/openat-proc.c
gzip-1.8/lib/fdopendir.c
gzip-1.8/lib/malloc.c
gzip-1.8/lib/cloexec.h
gzip-1.8/lib/open.c
gzip-1.8/lib/gettext.h
gzip-1.8/lib/stat-time.c
gzip-1.8/lib/lstat.c
gzip-1.8/lib/dirname-lgpl.c
gzip-1.8/lib/msvc-nothrow.h
gzip-1.8/lib/unistd.c
gzip-1.8/lib/dup-safer.c
gzip-1.8/lib/openat-die.c
gzip-1.8/lib/filename.h
gzip-1.8/lib/alloca.in.h
gzip-1.8/lib/dirent--.h
gzip-1.8/lib/unlink.c
gzip-1.8/lib/fflush.c
gzip-1.8/lib/Makefile.am
gzip-1.8/lib/dirfd.c
gzip-1.8/lib/dup.c
gzip-1.8/lib/fpucw.h
gzip-1.8/lib/strerror_r.c
gzip-1.8/lib/exitfail.h
gzip-1.8/lib/fstatat.c
gzip-1.8/lib/intprops.h
gzip-1.8/lib/stddef.in.h
gzip-1.8/lib/sys_time.in.h
gzip-1.8/lib/opendir-safer.c
gzip-1.8/lib/config.hin
gzip-1.8/lib/isnanl.c
gzip-1.8/lib/printf-frexpl.h
gzip-1.8/lib/getdtablesize.c
gzip-1.8/lib/signbitd.c
gzip-1.8/lib/ftello.c
gzip-1.8/lib/timespec.c
gzip-1.8/lib/cloexec.c
gzip-1.8/lib/getopt_int.h
gzip-1.8/lib/unlinkat.c
gzip-1.8/lib/error.h
gzip-1.8/lib/utimens.c
gzip-1.8/lib/msvc-nothrow.c
gzip-1.8/lib/getopt1.c
gzip-1.8/lib/at-func.c
gzip-1.8/lib/printf-frexpl.c
gzip-1.8/lib/getcwd-lgpl.c
gzip-1.8/lib/strerror.c
gzip-1.8/lib/dup2.c
gzip-1.8/lib/gettimeofday.c
gzip-1.8/lib/fseeko.c
gzip-1.8/lib/gnulib.mk
gzip-1.8/lib/utimens.h
gzip-1.8/lib/fdatasync.c
gzip-1.8/lib/save-cwd.c
gzip-1.8/lib/memchr.c
gzip-1.8/lib/save-cwd.h
gzip-1.8/lib/calloc.c
gzip-1.8/lib/filenamecat-lgpl.c
gzip-1.8/lib/statat.c
gzip-1.8/lib/vasnprintf.c
gzip-1.8/lib/time.in.h
gzip-1.8/lib/wchar.in.h
gzip-1.8/lib/fchdir.c
gzip-1.8/lib/unistd.in.h
gzip-1.8/lib/errno.in.h
gzip-1.8/lib/stdlib.in.h
gzip-1.8/lib/itold.c
gzip-1.8/lib/perror.c
gzip-1.8/lib/close.c
gzip-1.8/lib/fpurge.c
gzip-1.8/lib/getopt.c
gzip-1.8/lib/sys_stat.in.h
gzip-1.8/lib/string.in.h
gzip-1.8/lib/openat-priv.h
gzip-1.8/lib/rmdir.c
gzip-1.8/lib/chdir-long.c
gzip-1.8/lib/sys_types.in.h
gzip-1.8/lib/openat.h
gzip-1.8/lib/fcntl-safer.h
gzip-1.8/lib/math.in.h
gzip-1.8/lib/readdir.c
gzip-1.8/lib/stdio.in.h
gzip-1.8/lib/fseterr.h
gzip-1.8/lib/signbitf.c
gzip-1.8/lib/printf-frexp.c
gzip-1.8/lib/stdbool.in.h
gzip-1.8/lib/printf-parse.h
gzip-1.8/lib/isnand-nolibm.h
gzip-1.8/lib/msvc-inval.c
gzip-1.8/lib/realloc.c
gzip-1.8/lib/printf.c
gzip-1.8/lib/freading.h
gzip-1.8/lib/frexp.c
gzip-1.8/lib/stat.c
gzip-1.8/lib/fstat.c
gzip-1.8/lib/fd-hook.h
gzip-1.8/lib/float.c
gzip-1.8/lib/filenamecat.h
gzip-1.8/lib/pathmax.h
gzip-1.8/lib/savedir.h
gzip-1.8/lib/verify.h
gzip-1.8/lib/openat-safer.c
gzip-1.8/lib/isnan.c
gzip-1.8/lib/fcntl.c
gzip-1.8/lib/frexpl.c
gzip-1.8/lib/basename-lgpl.c
gzip-1.8/lib/unistd-safer.h
gzip-1.8/lib/strdup.c
gzip-1.8/lib/fprintf.c
gzip-1.8/lib/freading.c
gzip-1.8/lib/lseek.c
gzip-1.8/lib/assure.h
gzip-1.8/lib/closedir.c
gzip-1.8/lib/fsync.c
gzip-1.8/lib/printf-args.h
gzip-1.8/lib/opendir.c
gzip-1.8/lib/stdio-impl.h
gzip-1.8/lib/fd-safer.c
gzip-1.8/lib/match.c
gzip-1.8/lib/dirname.h
gzip-1.8/lib/timespec.h
gzip-1.8/lib/savedir.c
gzip-1.8/lib/ignore-value.h
gzip-1.8/lib/isnand.c
gzip-1.8/lib/stat-time.h
gzip-1.8/lib/isnanf-nolibm.h
gzip-1.8/lib/fclose.c
gzip-1.8/lib/printf-args.c
gzip-1.8/lib/yesno.h
gzip-1.8/lib/dosname.h
gzip-1.8/lib/fd-hook.c
gzip-1.8/lib/stdint.in.h
gzip-1.8/lib/fseek.c
gzip-1.8/lib/ftell.c
gzip-1.8/lib/float+.h
gzip-1.8/lib/isnanf.c
gzip-1.8/lib/dirent-private.h
gzip-1.8/lib/fcntl--.h
gzip-1.8/lib/dirent.in.h
gzip-1.8/lib/stpcpy.c
gzip-1.8/lib/float.in.h
gzip-1.8/lib/getopt.in.h
gzip-1.8/lib/memchr.valgrind
gzip-1.8/lib/printf-parse.c
gzip-1.8/lib/xsize.h
gzip-1.8/lib/glthread/
gzip-1.8/lib/glthread/lock.h
gzip-1.8/lib/glthread/threadlib.c
gzip-1.8/lib/glthread/lock.c
gzip-1.8/lib/creat-safer.c
gzip-1.8/lib/yesno.c
gzip-1.8/lib/error.c
gzip-1.8/lib/memrchr.c
gzip-1.8/lib/exitfail.c
gzip-1.8/lib/mempcpy.c
gzip-1.8/lib/chdir-long.h
gzip-1.8/lib/xsize.c
gzip-1.8/lib/vfprintf.c
gzip-1.8/lib/xmalloc.c
gzip-1.8/lib/printf-frexp.h
gzip-1.8/lib/open-safer.c
gzip-1.8/lib/xalloc-oversized.h
gzip-1.8/lib/Makefile.in
gzip-1.8/lib/xalloc.h
gzip-1.8/lib/size_max.h
gzip-1.8/lib/signbitl.c
gzip-1.8/lib/fseterr.c
gzip-1.8/lib/openat.c
gzip-1.8/lib/strerror-override.c
gzip-1.8/znew.1
gzip-1.8/zmore.in
gzip-1.8/maint.mk
gzip-1.8/m4/
gzip-1.8/m4/warnings.m4
gzip-1.8/m4/exponentf.m4
gzip-1.8/m4/filenamecat.m4
gzip-1.8/m4/opendir.m4
gzip-1.8/m4/absolute-header.m4
gzip-1.8/m4/printf-posix-rpl.m4
gzip-1.8/m4/xalloc.m4
gzip-1.8/m4/float_h.m4
gzip-1.8/m4/ldexpl.m4
gzip-1.8/m4/manywarnings.m4
gzip-1.8/m4/gnulib-comp.m4
gzip-1.8/m4/fchdir.m4
gzip-1.8/m4/extern-inline.m4
gzip-1.8/m4/isnanf.m4
gzip-1.8/m4/exponentd.m4
gzip-1.8/m4/stdbool.m4
gzip-1.8/m4/extensions.m4
gzip-1.8/m4/gnulib-common.m4
gzip-1.8/m4/stpcpy.m4
gzip-1.8/m4/fcntl-safer.m4
gzip-1.8/m4/size_max.m4
gzip-1.8/m4/lock.m4
gzip-1.8/m4/realloc.m4
gzip-1.8/m4/fseek.m4
gzip-1.8/m4/close.m4
gzip-1.8/m4/fdatasync.m4
gzip-1.8/m4/chdir-long.m4
gzip-1.8/m4/stat.m4
gzip-1.8/m4/alloca.m4
gzip-1.8/m4/savedir.m4
gzip-1.8/m4/malloc.m4
gzip-1.8/m4/lib-ld.m4
gzip-1.8/m4/sys_socket_h.m4
gzip-1.8/m4/fprintf-posix.m4
gzip-1.8/m4/stddef_h.m4
gzip-1.8/m4/printf-frexp.m4
gzip-1.8/m4/utimbuf.m4
gzip-1.8/m4/lstat.m4
gzip-1.8/m4/inttypes_h.m4
gzip-1.8/m4/shell.m4
gzip-1.8/m4/dirname.m4
gzip-1.8/m4/wchar_h.m4
gzip-1.8/m4/timespec.m4
gzip-1.8/m4/printf-frexpl.m4
gzip-1.8/m4/error.m4
gzip-1.8/m4/sys_stat_h.m4
gzip-1.8/m4/calloc.m4
gzip-1.8/m4/wint_t.m4
gzip-1.8/m4/getdtablesize.m4
gzip-1.8/m4/fclose.m4
gzip-1.8/m4/getcwd.m4
gzip-1.8/m4/frexp.m4
gzip-1.8/m4/off_t.m4
gzip-1.8/m4/sys_types_h.m4
gzip-1.8/m4/multiarch.m4
gzip-1.8/m4/stdint_h.m4
gzip-1.8/m4/00gnulib.m4
gzip-1.8/m4/fcntl.m4
gzip-1.8/m4/memrchr.m4
gzip-1.8/m4/wchar_t.m4
gzip-1.8/m4/memchr.m4
gzip-1.8/m4/utimens.m4
gzip-1.8/m4/fpurge.m4
gzip-1.8/m4/fcntl-o.m4
gzip-1.8/m4/fseeko.m4
gzip-1.8/m4/unlinkat.m4
gzip-1.8/m4/dup.m4
gzip-1.8/m4/openat.m4
gzip-1.8/m4/mmap-anon.m4
gzip-1.8/m4/stdlib_h.m4
gzip-1.8/m4/fcntl_h.m4
gzip-1.8/m4/unlink.m4
gzip-1.8/m4/closedir.m4
gzip-1.8/m4/msvc-nothrow.m4
gzip-1.8/m4/utimes.m4
gzip-1.8/m4/double-slash-root.m4
gzip-1.8/m4/ftello.m4
gzip-1.8/m4/strerror.m4
gzip-1.8/m4/include_next.m4
gzip-1.8/m4/vfprintf-posix.m4
gzip-1.8/m4/frexpl.m4
gzip-1.8/m4/stdint.m4
gzip-1.8/m4/stdio_h.m4
gzip-1.8/m4/intmax_t.m4
gzip-1.8/m4/gnu-make.m4
gzip-1.8/m4/lib-ignore.m4
gzip-1.8/m4/yesno.m4
gzip-1.8/m4/save-cwd.m4
gzip-1.8/m4/dirent_h.m4
gzip-1.8/m4/sys_time_h.m4
gzip-1.8/m4/rmdir.m4
gzip-1.8/m4/lib-link.m4
gzip-1.8/m4/fsync.m4
gzip-1.8/m4/strdup.m4
gzip-1.8/m4/dirfd.m4
gzip-1.8/m4/vasnprintf.m4
gzip-1.8/m4/dup2.m4
gzip-1.8/m4/readdir.m4
gzip-1.8/m4/fflush.m4
gzip-1.8/m4/printf.m4
gzip-1.8/m4/string_h.m4
gzip-1.8/m4/freading.m4
gzip-1.8/m4/stat-time.m4
gzip-1.8/m4/fdopendir.m4
gzip-1.8/m4/threadlib.m4
gzip-1.8/m4/time_h.m4
gzip-1.8/m4/msvc-inval.m4
gzip-1.8/m4/clock_time.m4
gzip-1.8/m4/ssize_t.m4
gzip-1.8/m4/exponentl.m4
gzip-1.8/m4/ftell.m4
gzip-1.8/m4/getopt.m4
gzip-1.8/m4/isnanl.m4
gzip-1.8/m4/math_h.m4
gzip-1.8/m4/largefile.m4
gzip-1.8/m4/open.m4
gzip-1.8/m4/fstatat.m4
gzip-1.8/m4/signbit.m4
gzip-1.8/m4/gettime.m4
gzip-1.8/m4/asm-underscore.m4
gzip-1.8/m4/longlong.m4
gzip-1.8/m4/unistd_h.m4
gzip-1.8/m4/errno_h.m4
gzip-1.8/m4/perror.m4
gzip-1.8/m4/mode_t.m4
gzip-1.8/m4/gettimeofday.m4
gzip-1.8/m4/pathmax.m4
gzip-1.8/m4/fpieee.m4
gzip-1.8/m4/dirent-safer.m4
gzip-1.8/m4/lseek.m4
gzip-1.8/m4/mempcpy.m4
gzip-1.8/m4/isnand.m4
gzip-1.8/m4/fseterr.m4
gzip-1.8/m4/fstat.m4
gzip-1.8/m4/lib-prefix.m4
gzip-1.8/m4/unistd-safer.m4
gzip-1.8/m4/nocrash.m4
gzip-1.8/m4/strerror_r.m4
gzip-1.8/m4/xsize.m4
gzip-1.8/cfg.mk
gzip-1.8/inflate.c
gzip-1.8/zip.c
gzip-1.8/COPYING
gzip-1.8/ChangeLog-2007
gzip-1.8/aclocal.m4
gzip-1.8/tests/
gzip-1.8/tests/unpack-invalid
gzip-1.8/tests/keep
gzip-1.8/tests/Makefile.am
gzip-1.8/tests/zgrep-signal
gzip-1.8/tests/znew-k
gzip-1.8/tests/zdiff
gzip-1.8/tests/hufts-segv.gz
gzip-1.8/tests/null-suffix-clobber
gzip-1.8/tests/stdin
gzip-1.8/tests/hufts
gzip-1.8/tests/gzip-env
gzip-1.8/tests/zgrep-context
gzip-1.8/tests/memcpy-abuse
gzip-1.8/tests/help-version
gzip-1.8/tests/trailing-nul
gzip-1.8/tests/helin-segv
gzip-1.8/tests/list
gzip-1.8/tests/init.cfg
gzip-1.8/tests/init.sh
gzip-1.8/tests/z-suffix
gzip-1.8/tests/zgrep-f
gzip-1.8/tests/mixed
gzip-1.8/tests/Makefile.in
gzip-1.8/zcat.1
gzip-1.8/gzip.doc
gzip-1.8/unlzh.c
gzip-1.8/zcmp.in
gzip-1.8/lzw.c
gzip-1.8/gzexe.1
gzip-1.8/configure
gzip-1.8/configure.ac
gzip-1.8/THANKS
gzip-1.8/README
gzip-1.8/tailor.h
gzip-1.8/unpack.c
gzip-1.8/zless.in
gzip-1.8/.tarball-version
gzip-1.8/build-aux/
gzip-1.8/build-aux/gitlog-to-changelog
gzip-1.8/build-aux/config.rpath
gzip-1.8/build-aux/install-sh
gzip-1.8/build-aux/config.sub
gzip-1.8/build-aux/announce-gen
gzip-1.8/build-aux/git-version-gen
gzip-1.8/build-aux/update-copyright
gzip-1.8/build-aux/compile
gzip-1.8/build-aux/mdate-sh
gzip-1.8/build-aux/missing
gzip-1.8/build-aux/vc-list-files
gzip-1.8/build-aux/depcomp
gzip-1.8/build-aux/useless-if-before-free
gzip-1.8/build-aux/test-driver
gzip-1.8/build-aux/gnupload
gzip-1.8/build-aux/texinfo.tex
gzip-1.8/build-aux/do-release-commit-and-tag
gzip-1.8/build-aux/snippet/
gzip-1.8/build-aux/snippet/_Noreturn.h
gzip-1.8/build-aux/snippet/c++defs.h
gzip-1.8/build-aux/snippet/warn-on-use.h
gzip-1.8/build-aux/snippet/arg-nonnull.h
gzip-1.8/build-aux/snippet/unused-parameter.h
gzip-1.8/build-aux/config.guess
gzip-1.8/build-aux/gnu-web-doc-update
gzip-1.8/build-aux/ar-lib
gzip-1.8/build-aux/gendocs.sh
gzip-1.8/GNUmakefile
gzip-1.8/gzexe.in
gzip-1.8/bits.c
gzip-1.8/lzw.h
gzip-1.8/doc/
gzip-1.8/doc/version.texi
gzip-1.8/doc/Makefile.am
gzip-1.8/doc/gzip.info
gzip-1.8/doc/gzip.texi
gzip-1.8/doc/stamp-vti
gzip-1.8/doc/Makefile.in
gzip-1.8/doc/fdl.texi
gzip-1.8/gunzip.1
gzip-1.8/unlzw.c
gzip-1.8/zforce.1
gzip-1.8/zdiff.1
gzip-1.8/zdiff.in
gzip-1.8/README-release
gzip-1.8/zgrep.1
gzip-1.8/zegrep.in
gzip-1.8/Makefile.in
gzip-1.8/unzip.c
gzip-1.8/zgrep.in
gzip-1.8/zmore.1
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ ll
total 1108
drwxrwxr-x  5 rootroot rootroot    4096 3月  16 14:19 ./
drwxrwxr-x 13 rootroot rootroot    4096 1月  14  2019 ../
drwxrwxr-x  2 rootroot rootroot    4096 3月  16 11:57 bin/
drwxr-xr-x  8 rootroot rootroot    4096 6月  13  2017 gzip-1.8/
-rw-rw-r--  1 rootroot rootroot 1107193 1月  14  2019 gzip-1.8.tgz
-rw-rw-r--  1 rootroot rootroot     336 1月  14  2019 Makefile
drwxrwxr-x  2 rootroot rootroot    4096 1月  14  2019 src/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ cd gzip-1.8/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip/gzip-1.8$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip/gzip-1.8$ ll
total 1688
drwxr-xr-x 8 rootroot rootroot   4096 6月  13  2017 ./
drwxrwxr-x 5 rootroot rootroot   4096 3月  16 14:19 ../
-rw-r--r-- 1 rootroot rootroot  47059 4月  27  2016 aclocal.m4
-rw-r--r-- 1 rootroot rootroot   7723 10月  5  2014 algorithm.doc
-rw-r--r-- 1 rootroot rootroot     98 10月  5  2014 AUTHORS
-rw-r--r-- 1 rootroot rootroot   6355 1月   2  2016 bits.c
drwxr-xr-x 3 rootroot rootroot   4096 4月  27  2016 build-aux/
-rw-r--r-- 1 rootroot rootroot   3393 3月  28  2016 cfg.mk
-rw-r--r-- 1 rootroot rootroot  75097 4月  27  2016 ChangeLog
-rw-r--r-- 1 rootroot rootroot  72062 1月   2  2016 ChangeLog-2007
-rwxr-xr-x 1 rootroot rootroot 742539 4月  27  2016 configure*
-rw-r--r-- 1 rootroot rootroot   9235 4月  27  2016 configure.ac
-rw-r--r-- 1 rootroot rootroot  35147 10月  5  2014 COPYING
-rw-r--r-- 1 rootroot rootroot  32321 3月   6  2016 deflate.c
-rw-r--r-- 1 rootroot rootroot   6555 3月   6  2016 dist-check.mk
drwxr-xr-x 2 rootroot rootroot   4096 4月  27  2016 doc/
-rw-r--r-- 1 rootroot rootroot   4573 4月  27  2016 GNUmakefile
-rw-r--r-- 1 rootroot rootroot     16 10月  5  2014 gunzip.1
-rw-r--r-- 1 rootroot rootroot   2310 3月   8  2016 gunzip.in
-rw-r--r-- 1 rootroot rootroot   1407 10月  5  2014 gzexe.1
-rw-r--r-- 1 rootroot rootroot   5843 3月  27  2016 gzexe.in
-rw-r--r-- 1 rootroot rootroot  16501 3月   6  2016 gzip.1
-rw-r--r-- 1 rootroot rootroot  66660 4月  27  2016 gzip.c
-rw-r--r-- 1 rootroot rootroot  18505 3月   6  2016 gzip.doc
-rw-r--r-- 1 rootroot rootroot  11227 4月  22  2017 gzip.h
-rw-r--r-- 1 rootroot rootroot  32421 3月  16  2016 inflate.c
-rw-r--r-- 1 rootroot rootroot  15756 4月  27  2016 INSTALL
drwxr-xr-x 3 rootroot rootroot   4096 6月  13  2017 lib/
-rw-r--r-- 1 rootroot rootroot    513 10月  5  2014 lzw.c
-rw-r--r-- 1 rootroot rootroot   2027 1月   2  2016 lzw.h
drwxr-xr-x 2 rootroot rootroot   4096 4月  27  2016 m4/
-rw-r--r-- 1 rootroot rootroot  63228 4月  27  2016 maint.mk
-rw-r--r-- 1 rootroot rootroot   5309 3月  27  2016 Makefile.am
-rw-r--r-- 1 rootroot rootroot  78314 4月  27  2016 Makefile.in
-rw-r--r-- 1 rootroot rootroot  21025 4月  27  2016 NEWS
-rw-r--r-- 1 rootroot rootroot   6854 1月   2  2016 README
-rw-r--r-- 1 rootroot rootroot   2979 4月  27  2016 README-release
-rw-r--r-- 1 rootroot rootroot   1039 1月   2  2016 revision.h
drwxr-xr-x 2 rootroot rootroot   4096 4月  27  2016 sample/
-rw-r--r-- 1 rootroot rootroot   6161 2月  29  2016 tailor.h
-rw-r--r-- 1 rootroot rootroot      4 4月  27  2016 .tarball-version
drwxr-xr-x 2 rootroot rootroot   4096 4月  27  2016 tests/
-rw-r--r-- 1 rootroot rootroot  13262 10月  5  2014 THANKS
-rw-r--r-- 1 rootroot rootroot   3684 1月   2  2016 TODO
-rw-r--r-- 1 rootroot rootroot  41181 6月  13  2017 trees.c
-rw-r--r-- 1 rootroot rootroot  10249 10月  5  2014 unlzh.c
-rw-r--r-- 1 rootroot rootroot   8910 3月  16  2016 unlzw.c
-rw-r--r-- 1 rootroot rootroot   9590 1月   2  2016 unpack.c
-rw-r--r-- 1 rootroot rootroot   7273 1月   2  2016 unzip.c
-rw-r--r-- 1 rootroot rootroot  15501 3月  16  2016 util.c
-rw-r--r-- 1 rootroot rootroot     16 10月  5  2014 zcat.1
-rw-r--r-- 1 rootroot rootroot   1946 3月   8  2016 zcat.in
-rw-r--r-- 1 rootroot rootroot     17 10月  5  2014 zcmp.1
-rw-r--r-- 1 rootroot rootroot   1671 3月   8  2016 zcmp.in
-rw-r--r-- 1 rootroot rootroot    864 10月  5  2014 zdiff.1
-rw-r--r-- 1 rootroot rootroot   5673 3月  27  2016 zdiff.in
-rw-r--r-- 1 rootroot rootroot     29 3月   8  2016 zegrep.in
-rw-r--r-- 1 rootroot rootroot     29 3月   8  2016 zfgrep.in
-rw-r--r-- 1 rootroot rootroot    591 10月  5  2014 zforce.1
-rw-r--r-- 1 rootroot rootroot   2044 3月   8  2016 zforce.in
-rw-r--r-- 1 rootroot rootroot   1083 10月  5  2014 zgrep.1
-rw-r--r-- 1 rootroot rootroot   7443 3月  27  2016 zgrep.in
-rw-r--r-- 1 rootroot rootroot   3779 2月  29  2016 zip.c
-rw-r--r-- 1 rootroot rootroot   1966 1月   2  2016 zless.1
-rw-r--r-- 1 rootroot rootroot   2160 3月   8  2016 zless.in
-rw-r--r-- 1 rootroot rootroot   3642 10月  5  2014 zmore.1
-rw-r--r-- 1 rootroot rootroot   1822 3月   8  2016 zmore.in
-rw-r--r-- 1 rootroot rootroot   1098 10月  5  2014 znew.1
-rw-r--r-- 1 rootroot rootroot   4398 3月   8  2016 znew.in
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip/gzip-1.8$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip/gzip-1.8$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip/gzip-1.8$ sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip/gzip-1.8$ echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip/gzip-1.8$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip/gzip-1.8$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip/gzip-1.8$ cd ..
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ ll
total 1108
drwxrwxr-x  5 rootroot rootroot    4096 3月  16 14:19 ./
drwxrwxr-x 13 rootroot rootroot    4096 1月  14  2019 ../
drwxrwxr-x  2 rootroot rootroot    4096 3月  16 11:57 bin/
drwxr-xr-x  8 rootroot rootroot    4096 6月  13  2017 gzip-1.8/
-rw-rw-r--  1 rootroot rootroot 1107193 1月  14  2019 gzip-1.8.tgz
-rw-rw-r--  1 rootroot rootroot     336 1月  14  2019 Makefile
drwxrwxr-x  2 rootroot rootroot    4096 1月  14  2019 src/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ rm gzip-1.8.tgz 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ tar zcvf gzip-1.8.tgz gzip-1.8/
gzip-1.8/
gzip-1.8/gzexe.in
gzip-1.8/zforce.in
gzip-1.8/TODO
gzip-1.8/zgrep.1
gzip-1.8/gzexe.1
gzip-1.8/Makefile.in
gzip-1.8/unlzh.c
gzip-1.8/zcat.in
gzip-1.8/NEWS
gzip-1.8/cfg.mk
gzip-1.8/zdiff.1
gzip-1.8/maint.mk
gzip-1.8/ChangeLog-2007
gzip-1.8/m4/
gzip-1.8/m4/sys_types_h.m4
gzip-1.8/m4/lstat.m4
gzip-1.8/m4/xalloc.m4
gzip-1.8/m4/nocrash.m4
gzip-1.8/m4/lib-ignore.m4
gzip-1.8/m4/chdir-long.m4
gzip-1.8/m4/strerror_r.m4
gzip-1.8/m4/00gnulib.m4
gzip-1.8/m4/sys_stat_h.m4
gzip-1.8/m4/shell.m4
gzip-1.8/m4/ssize_t.m4
gzip-1.8/m4/warnings.m4
gzip-1.8/m4/printf-posix-rpl.m4
gzip-1.8/m4/extern-inline.m4
gzip-1.8/m4/fpieee.m4
gzip-1.8/m4/lib-prefix.m4
gzip-1.8/m4/unlink.m4
gzip-1.8/m4/lseek.m4
gzip-1.8/m4/stdint.m4
gzip-1.8/m4/stdbool.m4
gzip-1.8/m4/pathmax.m4
gzip-1.8/m4/mmap-anon.m4
gzip-1.8/m4/inttypes_h.m4
gzip-1.8/m4/string_h.m4
gzip-1.8/m4/fdopendir.m4
gzip-1.8/m4/gnulib-comp.m4
gzip-1.8/m4/perror.m4
gzip-1.8/m4/sys_time_h.m4
gzip-1.8/m4/alloca.m4
gzip-1.8/m4/double-slash-root.m4
gzip-1.8/m4/exponentl.m4
gzip-1.8/m4/utimes.m4
gzip-1.8/m4/freading.m4
gzip-1.8/m4/largefile.m4
gzip-1.8/m4/fcntl.m4
gzip-1.8/m4/save-cwd.m4
gzip-1.8/m4/fclose.m4
gzip-1.8/m4/realloc.m4
gzip-1.8/m4/rmdir.m4
gzip-1.8/m4/ftello.m4
gzip-1.8/m4/fseterr.m4
gzip-1.8/m4/fstat.m4
gzip-1.8/m4/xsize.m4
gzip-1.8/m4/fpurge.m4
gzip-1.8/m4/include_next.m4
gzip-1.8/m4/utimbuf.m4
gzip-1.8/m4/readdir.m4
gzip-1.8/m4/signbit.m4
gzip-1.8/m4/open.m4
gzip-1.8/m4/absolute-header.m4
gzip-1.8/m4/fflush.m4
gzip-1.8/m4/stat.m4
gzip-1.8/m4/gettime.m4
gzip-1.8/m4/exponentd.m4
gzip-1.8/m4/stdint_h.m4
gzip-1.8/m4/multiarch.m4
gzip-1.8/m4/error.m4
gzip-1.8/m4/vfprintf-posix.m4
gzip-1.8/m4/wint_t.m4
gzip-1.8/m4/size_max.m4
gzip-1.8/m4/memchr.m4
gzip-1.8/m4/printf-frexpl.m4
gzip-1.8/m4/fprintf-posix.m4
gzip-1.8/m4/closedir.m4
gzip-1.8/m4/opendir.m4
gzip-1.8/m4/intmax_t.m4
gzip-1.8/m4/close.m4
gzip-1.8/m4/unlinkat.m4
gzip-1.8/m4/isnanf.m4
gzip-1.8/m4/printf-frexp.m4
gzip-1.8/m4/yesno.m4
gzip-1.8/m4/timespec.m4
gzip-1.8/m4/stdlib_h.m4
gzip-1.8/m4/gnu-make.m4
gzip-1.8/m4/clock_time.m4
gzip-1.8/m4/wchar_h.m4
gzip-1.8/m4/ldexpl.m4
gzip-1.8/m4/dirent-safer.m4
gzip-1.8/m4/mempcpy.m4
gzip-1.8/m4/dirname.m4
gzip-1.8/m4/frexpl.m4
gzip-1.8/m4/memrchr.m4
gzip-1.8/m4/exponentf.m4
gzip-1.8/m4/isnanl.m4
gzip-1.8/m4/fsync.m4
gzip-1.8/m4/fchdir.m4
gzip-1.8/m4/getdtablesize.m4
gzip-1.8/m4/fcntl-safer.m4
gzip-1.8/m4/gnulib-common.m4
gzip-1.8/m4/filenamecat.m4
gzip-1.8/m4/calloc.m4
gzip-1.8/m4/math_h.m4
gzip-1.8/m4/unistd-safer.m4
gzip-1.8/m4/getopt.m4
gzip-1.8/m4/fseeko.m4
gzip-1.8/m4/fstatat.m4
gzip-1.8/m4/longlong.m4
gzip-1.8/m4/errno_h.m4
gzip-1.8/m4/dup2.m4
gzip-1.8/m4/dirent_h.m4
gzip-1.8/m4/time_h.m4
gzip-1.8/m4/msvc-nothrow.m4
gzip-1.8/m4/fseek.m4
gzip-1.8/m4/ftell.m4
gzip-1.8/m4/float_h.m4
gzip-1.8/m4/gettimeofday.m4
gzip-1.8/m4/sys_socket_h.m4
gzip-1.8/m4/stddef_h.m4
gzip-1.8/m4/utimens.m4
gzip-1.8/m4/fdatasync.m4
gzip-1.8/m4/wchar_t.m4
gzip-1.8/m4/savedir.m4
gzip-1.8/m4/lock.m4
gzip-1.8/m4/asm-underscore.m4
gzip-1.8/m4/strerror.m4
gzip-1.8/m4/dup.m4
gzip-1.8/m4/strdup.m4
gzip-1.8/m4/manywarnings.m4
gzip-1.8/m4/mode_t.m4
gzip-1.8/m4/stpcpy.m4
gzip-1.8/m4/off_t.m4
gzip-1.8/m4/fcntl_h.m4
gzip-1.8/m4/extensions.m4
gzip-1.8/m4/vasnprintf.m4
gzip-1.8/m4/fcntl-o.m4
gzip-1.8/m4/dirfd.m4
gzip-1.8/m4/malloc.m4
gzip-1.8/m4/printf.m4
gzip-1.8/m4/msvc-inval.m4
gzip-1.8/m4/openat.m4
gzip-1.8/m4/stdio_h.m4
gzip-1.8/m4/unistd_h.m4
gzip-1.8/m4/stat-time.m4
gzip-1.8/m4/isnand.m4
gzip-1.8/m4/getcwd.m4
gzip-1.8/m4/lib-ld.m4
gzip-1.8/m4/threadlib.m4
gzip-1.8/m4/frexp.m4
gzip-1.8/m4/lib-link.m4
gzip-1.8/README
gzip-1.8/INSTALL
gzip-1.8/trees.c
gzip-1.8/COPYING
gzip-1.8/zcat.1
gzip-1.8/zcmp.in
gzip-1.8/gunzip.1
gzip-1.8/zfgrep.in
gzip-1.8/aclocal.m4
gzip-1.8/util.c
gzip-1.8/zless.in
gzip-1.8/lzw.c
gzip-1.8/ChangeLog
gzip-1.8/znew.1
gzip-1.8/algorithm.doc
gzip-1.8/Makefile.am
gzip-1.8/gzip.h
gzip-1.8/gzip.1
gzip-1.8/gunzip.in
gzip-1.8/configure
gzip-1.8/GNUmakefile
gzip-1.8/sample/
gzip-1.8/sample/ztouch
gzip-1.8/sample/makecrc.c
gzip-1.8/sample/sub.c
gzip-1.8/sample/zread.c
gzip-1.8/sample/add.c
gzip-1.8/sample/zfile
gzip-1.8/tailor.h
gzip-1.8/unzip.c
gzip-1.8/zless.1
gzip-1.8/unlzw.c
gzip-1.8/README-release
gzip-1.8/AUTHORS
gzip-1.8/zip.c
gzip-1.8/THANKS
gzip-1.8/zgrep.in
gzip-1.8/configure.ac
gzip-1.8/revision.h
gzip-1.8/lib/
gzip-1.8/lib/timespec.h
gzip-1.8/lib/lseek.c
gzip-1.8/lib/msvc-inval.h
gzip-1.8/lib/float.in.h
gzip-1.8/lib/stat.c
gzip-1.8/lib/fd-hook.h
gzip-1.8/lib/strdup.c
gzip-1.8/lib/stdio.in.h
gzip-1.8/lib/fd-hook.c
gzip-1.8/lib/isnanf-nolibm.h
gzip-1.8/lib/unistd-safer.h
gzip-1.8/lib/signbitd.c
gzip-1.8/lib/savedir.c
gzip-1.8/lib/Makefile.in
gzip-1.8/lib/lstat.c
gzip-1.8/lib/sys_time.in.h
gzip-1.8/lib/vasnprintf.c
gzip-1.8/lib/statat.c
gzip-1.8/lib/save-cwd.h
gzip-1.8/lib/math.c
gzip-1.8/lib/xalloc-oversized.h
gzip-1.8/lib/vasnprintf.h
gzip-1.8/lib/xalloc-die.c
gzip-1.8/lib/time.in.h
gzip-1.8/lib/isnanl.c
gzip-1.8/lib/sys_stat.in.h
gzip-1.8/lib/dirfd.c
gzip-1.8/lib/timespec.c
gzip-1.8/lib/dosname.h
gzip-1.8/lib/memrchr.c
gzip-1.8/lib/errno.in.h
gzip-1.8/lib/exitfail.h
gzip-1.8/lib/fseeko.c
gzip-1.8/lib/isnanf.c
gzip-1.8/lib/dirent.in.h
gzip-1.8/lib/basename-lgpl.c
gzip-1.8/lib/fcntl.in.h
gzip-1.8/lib/printf-frexpl.h
gzip-1.8/lib/dirent-safer.h
gzip-1.8/lib/fstatat.c
gzip-1.8/lib/verify.h
gzip-1.8/lib/open-safer.c
gzip-1.8/lib/printf-args.c
gzip-1.8/lib/stdint.in.h
gzip-1.8/lib/intprops.h
gzip-1.8/lib/getdtablesize.c
gzip-1.8/lib/isnan.c
gzip-1.8/lib/match.c
gzip-1.8/lib/printf.c
gzip-1.8/lib/unistd--.h
gzip-1.8/lib/isnanl-nolibm.h
gzip-1.8/lib/dirname.h
gzip-1.8/lib/stripslash.c
gzip-1.8/lib/ignore-value.h
gzip-1.8/lib/mempcpy.c
gzip-1.8/lib/fpurge.c
gzip-1.8/lib/float.c
gzip-1.8/lib/getopt1.c
gzip-1.8/lib/xsize.h
gzip-1.8/lib/fflush.c
gzip-1.8/lib/alloca.in.h
gzip-1.8/lib/stdlib.in.h
gzip-1.8/lib/savedir.h
gzip-1.8/lib/closedir.c
gzip-1.8/lib/fcntl-safer.h
gzip-1.8/lib/unlinkat.c
gzip-1.8/lib/stdio-impl.h
gzip-1.8/lib/getopt.in.h
gzip-1.8/lib/close.c
gzip-1.8/lib/asnprintf.c
gzip-1.8/lib/filenamecat.h
gzip-1.8/lib/memchr.valgrind
gzip-1.8/lib/stdbool.in.h
gzip-1.8/lib/wchar.in.h
gzip-1.8/lib/chdir-long.h
gzip-1.8/lib/at-func.c
gzip-1.8/lib/unistd.c
gzip-1.8/lib/filename.h
gzip-1.8/lib/printf-frexp.c
gzip-1.8/lib/openat-die.c
gzip-1.8/lib/vfprintf.c
gzip-1.8/lib/Makefile.am
gzip-1.8/lib/ftell.c
gzip-1.8/lib/getcwd-lgpl.c
gzip-1.8/lib/xmalloc.c
gzip-1.8/lib/printf-args.h
gzip-1.8/lib/gettext.h
gzip-1.8/lib/rmdir.c
gzip-1.8/lib/printf-parse.h
gzip-1.8/lib/pipe-safer.c
gzip-1.8/lib/fseek.c
gzip-1.8/lib/fstat.c
gzip-1.8/lib/assure.h
gzip-1.8/lib/msvc-nothrow.h
gzip-1.8/lib/printf-parse.c
gzip-1.8/lib/glthread/
gzip-1.8/lib/glthread/threadlib.c
gzip-1.8/lib/glthread/lock.h
gzip-1.8/lib/glthread/lock.c
gzip-1.8/lib/pathmax.h
gzip-1.8/lib/fseterr.h
gzip-1.8/lib/utimens.h
gzip-1.8/lib/strerror.c
gzip-1.8/lib/openat.h
gzip-1.8/lib/printf-frexp.h
gzip-1.8/lib/fdatasync.c
gzip-1.8/lib/itold.c
gzip-1.8/lib/openat-safer.c
gzip-1.8/lib/freading.c
gzip-1.8/lib/math.in.h
gzip-1.8/lib/error.h
gzip-1.8/lib/error.c
gzip-1.8/lib/ftello.c
gzip-1.8/lib/signbitf.c
gzip-1.8/lib/creat-safer.c
gzip-1.8/lib/string.in.h
gzip-1.8/lib/getopt.c
gzip-1.8/lib/stat-time.h
gzip-1.8/lib/fd-safer.c
gzip-1.8/lib/float+.h
gzip-1.8/lib/exitfail.c
gzip-1.8/lib/opendir-safer.c
gzip-1.8/lib/fpucw.h
gzip-1.8/lib/isnand-nolibm.h
gzip-1.8/lib/readdir.c
gzip-1.8/lib/dup2.c
gzip-1.8/lib/openat-proc.c
gzip-1.8/lib/config.hin
gzip-1.8/lib/stddef.in.h
gzip-1.8/lib/frexp.c
gzip-1.8/lib/fchdir.c
gzip-1.8/lib/printf-frexpl.c
gzip-1.8/lib/realloc.c
gzip-1.8/lib/fsync.c
gzip-1.8/lib/gettimeofday.c
gzip-1.8/lib/isnand.c
gzip-1.8/lib/fdopendir.c
gzip-1.8/lib/open.c
gzip-1.8/lib/sys_types.in.h
gzip-1.8/lib/cloexec.c
gzip-1.8/lib/strerror-override.c
gzip-1.8/lib/strerror_r.c
gzip-1.8/lib/freading.h
gzip-1.8/lib/memchr.c
gzip-1.8/lib/yesno.c
gzip-1.8/lib/unlink.c
gzip-1.8/lib/utimens.c
gzip-1.8/lib/msvc-inval.c
gzip-1.8/lib/getopt_int.h
gzip-1.8/lib/openat.c
gzip-1.8/lib/gettime.c
gzip-1.8/lib/perror.c
gzip-1.8/lib/chdir-long.c
gzip-1.8/lib/signbitl.c
gzip-1.8/lib/strerror-override.h
gzip-1.8/lib/fcntl.c
gzip-1.8/lib/xalloc.h
gzip-1.8/lib/gnulib.mk
gzip-1.8/lib/dup.c
gzip-1.8/lib/dirent--.h
gzip-1.8/lib/dirent-private.h
gzip-1.8/lib/openat-priv.h
gzip-1.8/lib/malloc.c
gzip-1.8/lib/dirname-lgpl.c
gzip-1.8/lib/frexpl.c
gzip-1.8/lib/unistd.in.h
gzip-1.8/lib/size_max.h
gzip-1.8/lib/cloexec.h
gzip-1.8/lib/xsize.c
gzip-1.8/lib/filenamecat-lgpl.c
gzip-1.8/lib/opendir.c
gzip-1.8/lib/calloc.c
gzip-1.8/lib/fseterr.c
gzip-1.8/lib/fcntl--.h
gzip-1.8/lib/msvc-nothrow.c
gzip-1.8/lib/yesno.h
gzip-1.8/lib/fclose.c
gzip-1.8/lib/stat-time.c
gzip-1.8/lib/stpcpy.c
gzip-1.8/lib/dup-safer.c
gzip-1.8/lib/save-cwd.c
gzip-1.8/lib/fprintf.c
gzip-1.8/znew.in
gzip-1.8/lzw.h
gzip-1.8/dist-check.mk
gzip-1.8/zdiff.in
gzip-1.8/build-aux/
gzip-1.8/build-aux/gitlog-to-changelog
gzip-1.8/build-aux/do-release-commit-and-tag
gzip-1.8/build-aux/ar-lib
gzip-1.8/build-aux/vc-list-files
gzip-1.8/build-aux/announce-gen
gzip-1.8/build-aux/update-copyright
gzip-1.8/build-aux/config.rpath
gzip-1.8/build-aux/gnu-web-doc-update
gzip-1.8/build-aux/config.sub
gzip-1.8/build-aux/useless-if-before-free
gzip-1.8/build-aux/test-driver
gzip-1.8/build-aux/gnupload
gzip-1.8/build-aux/config.guess
gzip-1.8/build-aux/missing
gzip-1.8/build-aux/git-version-gen
gzip-1.8/build-aux/snippet/
gzip-1.8/build-aux/snippet/unused-parameter.h
gzip-1.8/build-aux/snippet/c++defs.h
gzip-1.8/build-aux/snippet/warn-on-use.h
gzip-1.8/build-aux/snippet/arg-nonnull.h
gzip-1.8/build-aux/snippet/_Noreturn.h
gzip-1.8/build-aux/mdate-sh
gzip-1.8/build-aux/depcomp
gzip-1.8/build-aux/gendocs.sh
gzip-1.8/build-aux/compile
gzip-1.8/build-aux/install-sh
gzip-1.8/build-aux/texinfo.tex
gzip-1.8/doc/
gzip-1.8/doc/gzip.texi
gzip-1.8/doc/Makefile.in
gzip-1.8/doc/fdl.texi
gzip-1.8/doc/Makefile.am
gzip-1.8/doc/stamp-vti
gzip-1.8/doc/version.texi
gzip-1.8/doc/gzip.info
gzip-1.8/zmore.1
gzip-1.8/zegrep.in
gzip-1.8/zforce.1
gzip-1.8/inflate.c
gzip-1.8/gzip.c
gzip-1.8/bits.c
gzip-1.8/zcmp.1
gzip-1.8/.tarball-version
gzip-1.8/zmore.in
gzip-1.8/deflate.c
gzip-1.8/gzip.doc
gzip-1.8/tests/
gzip-1.8/tests/hufts-segv.gz
gzip-1.8/tests/init.cfg
gzip-1.8/tests/Makefile.in
gzip-1.8/tests/stdin
gzip-1.8/tests/zdiff
gzip-1.8/tests/help-version
gzip-1.8/tests/null-suffix-clobber
gzip-1.8/tests/Makefile.am
gzip-1.8/tests/helin-segv
gzip-1.8/tests/zgrep-context
gzip-1.8/tests/init.sh
gzip-1.8/tests/znew-k
gzip-1.8/tests/hufts
gzip-1.8/tests/zgrep-f
gzip-1.8/tests/z-suffix
gzip-1.8/tests/keep
gzip-1.8/tests/list
gzip-1.8/tests/gzip-env
gzip-1.8/tests/zgrep-signal
gzip-1.8/tests/unpack-invalid
gzip-1.8/tests/mixed
gzip-1.8/tests/memcpy-abuse
gzip-1.8/tests/trailing-nul
gzip-1.8/unpack.c
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/hi_gzip$ cd ../../../
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ make all


5、继续解决问题:
make[2]: Entering directory '/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/squashfs4.3/squashfs-tools'
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o mksquashfs.o mksquashfs.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o read_fs.o read_fs.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o action.o action.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o swap.o swap.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o pseudo.o pseudo.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o compressor.o compressor.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o sort.o sort.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o progressbar.o progressbar.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o read_file.o read_file.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o info.o info.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o restore.o restore.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o process_fragments.o process_fragments.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o caches-queues-lists.o caches-queues-lists.c
mksquashfs.c: In function ‘create_inode’:
mksquashfs.c:987:24: error: called object ‘major’ is not a function or function pointer
  987 |   unsigned int major = major(buf->st_rdev);
      |                        ^~~~~
mksquashfs.c:987:16: note: declared here
  987 |   unsigned int major = major(buf->st_rdev);
      |                ^~~~~
mksquashfs.c:988:24: error: called object ‘minor’ is not a function or function pointer
  988 |   unsigned int minor = minor(buf->st_rdev);
      |                        ^~~~~
mksquashfs.c:988:16: note: declared here
  988 |   unsigned int minor = minor(buf->st_rdev);
      |                ^~~~~
mksquashfs.c:1011:24: error: called object ‘major’ is not a function or function pointer
 1011 |   unsigned int major = major(buf->st_rdev);
      |                        ^~~~~
mksquashfs.c:1011:16: note: declared here
 1011 |   unsigned int major = major(buf->st_rdev);
      |                ^~~~~
mksquashfs.c:1012:24: error: called object ‘minor’ is not a function or function pointer
 1012 |   unsigned int minor = minor(buf->st_rdev);
      |                        ^~~~~
mksquashfs.c:1012:16: note: declared here
 1012 |   unsigned int minor = minor(buf->st_rdev);
      |                ^~~~~
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o gzip_wrapper.o gzip_wrapper.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o xz_wrapper.o xz_wrapper.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o xattr.o xattr.c
mksquashfs.c: In function ‘dir_scan2’:
mksquashfs.c:3527:17: warning: implicit declaration of function ‘makedev’ [-Wimplicit-function-declaration]
 3527 |   buf.st_rdev = makedev(pseudo_ent->dev->major,
      |                 ^~~~~~~
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o read_xattrs.o read_xattrs.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o unsquashfs.o unsquashfs.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o unsquash-1.o unsquash-1.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o unsquash-2.o unsquash-2.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o unsquash-3.o unsquash-3.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o unsquash-4.o unsquash-4.c
make[2]: *** [<builtin>: mksquashfs.o] Error 1
make[2]: *** Waiting for unfinished jobs....
unsquashfs.c: In function ‘create_inode’:
unsquashfs.c:1128:7: warning: implicit declaration of function ‘makedev’ [-Wimplicit-function-declaration]
 1128 |       makedev((i->data >> 8) & 0xff,
      |       ^~~~~~~
make[2]: Leaving directory '/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/squashfs4.3/squashfs-tools'
make[1]: *** [Makefile:38: /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/bin/mksquashfs] Error 2
make[1]: Leaving directory '/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3'
make: *** [Makefile:273: hipctools] Error 2
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ 

 

rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ ll
total 72
drwxrwxr-x 6 rootroot rootroot  4096 1月  14  2019 ./
drwxrwxr-x 8 rootroot rootroot  4096 3月  16 11:16 ../
-rw-rw-r-- 1 rootroot rootroot 20876 1月  14  2019 Makefile
drwxrwxr-x 5 rootroot rootroot  4096 1月  14  2019 opensource/
drwxrwxr-x 5 rootroot rootroot  4096 3月  16 14:28 pub/
-rw-rw-r-- 1 rootroot rootroot 11777 1月  14  2019 readme_cn.txt
-rw-rw-r-- 1 rootroot rootroot 11145 1月  14  2019 readme_en.txt
drwxrwxr-x 2 rootroot rootroot  4096 1月  14  2019 rootfs_scripts/
drwxrwxr-x 4 rootroot rootroot  4096 1月  14  2019 tools/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ find . -name mksquashfs.c
./tools/pc/squashfs4.3/tmp/squashfs4.3/squashfs-tools/mksquashfs.c
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ ll
total 72
drwxrwxr-x 6 rootroot rootroot  4096 1月  14  2019 ./
drwxrwxr-x 8 rootroot rootroot  4096 3月  16 11:16 ../
-rw-rw-r-- 1 rootroot rootroot 20876 1月  14  2019 Makefile
drwxrwxr-x 5 rootroot rootroot  4096 1月  14  2019 opensource/
drwxrwxr-x 5 rootroot rootroot  4096 3月  16 14:28 pub/
-rw-rw-r-- 1 rootroot rootroot 11777 1月  14  2019 readme_cn.txt
-rw-rw-r-- 1 rootroot rootroot 11145 1月  14  2019 readme_en.txt
drwxrwxr-x 2 rootroot rootroot  4096 1月  14  2019 rootfs_scripts/
drwxrwxr-x 4 rootroot rootroot  4096 1月  14  2019 tools/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ cd tools/pc/squashfs4.3
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ ll
total 1960
drwxrwxr-x  3 rootroot rootroot    4096 3月  16 14:29 ./
drwxrwxr-x 13 rootroot rootroot    4096 1月  14  2019 ../
-rw-rw-r--  1 rootroot rootroot    2373 1月  14  2019 Makefile
-rw-rw-r--  1 rootroot rootroot  181051 1月  14  2019 squashfs4.3.tar.gz
drwxrwxr-x  9 rootroot rootroot    4096 3月  16 14:29 tmp/
-rw-rw-r--  1 rootroot rootroot 1192692 1月  14  2019 xz-5.2.2.tar.bz2
-rw-rw-r--  1 rootroot rootroot  607698 1月  14  2019 zlib-1.2.11.tar.gz
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ tar zxvf squashfs4.3.tar.gz 


Z:\Hi3516CV500R001C02SPC010\Hi3516CV500_SDK_V2.0.1.0\osdrv\tools\pc\squashfs4.3\squashfs4.3\squashfs-tools\mksquashfs.c
#define FALSE 0
#define TRUE 1
#define MAX_LINE 16384

#include <pwd.h>
#include <grp.h>
#include <time.h>
#include <unistd.h>
#include <stdio.h>
#include <stddef.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include <dirent.h>
#include <string.h>
#include <stdlib.h>
#include <signal.h>
#include <setjmp.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <pthread.h>
#include <regex.h>
#include <fnmatch.h>
#include <sys/wait.h>
#include <limits.h>
#include <ctype.h>

#include <sys/sysmacros.h>

#ifndef linux
#define __BYTE_ORDER BYTE_ORDER
#define __BIG_ENDIAN BIG_ENDIAN
#define __LITTLE_ENDIAN LITTLE_ENDIAN
#include <sys/sysctl.h>
#else
#include <endian.h>
#include <sys/sysinfo.h>
#endif


https://blog.csdn.net/MACMACip/article/details/107923340
编译Hi3518EV200 SDK遇到的问题

mksquashfs.c:1354:24: error: called object ‘major’ is not a function or function pointer
解决办法:

$vi tools/pc/squashfs4.2/tmp/squashfs4.2/mksquashfs.c

#include <sys/sysmacros.h>

rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ ll
total 1964
drwxrwxr-x  4 rootroot rootroot    4096 3月  16 14:37 ./
drwxrwxr-x 13 rootroot rootroot    4096 1月  14  2019 ../
-rw-rw-r--  1 rootroot rootroot    2373 1月  14  2019 Makefile
drwxr-xr-x  4 rootroot rootroot    4096 5月  13  2014 squashfs4.3/
-rw-rw-r--  1 rootroot rootroot  181051 1月  14  2019 squashfs4.3.tar.gz
drwxrwxr-x  9 rootroot rootroot    4096 3月  16 14:29 tmp/
-rw-rw-r--  1 rootroot rootroot 1192692 1月  14  2019 xz-5.2.2.tar.bz2
-rw-rw-r--  1 rootroot rootroot  607698 1月  14  2019 zlib-1.2.11.tar.gz
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ rm squashfs4.3.tar.gz 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ tar zcvf squashfs4.3.tar.gz squashfs4.3/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ ll
total 1964
drwxrwxr-x  4 rootroot rootroot    4096 3月  16 14:40 ./
drwxrwxr-x 13 rootroot rootroot    4096 1月  14  2019 ../
-rw-rw-r--  1 rootroot rootroot    2373 1月  14  2019 Makefile
drwxr-xr-x  4 rootroot rootroot    4096 5月  13  2014 squashfs4.3/
-rw-rw-r--  1 rootroot rootroot  183968 3月  16 14:40 squashfs4.3.tar.gz
drwxrwxr-x  9 rootroot rootroot    4096 3月  16 14:29 tmp/
-rw-rw-r--  1 rootroot rootroot 1192692 1月  14  2019 xz-5.2.2.tar.bz2
-rw-rw-r--  1 rootroot rootroot  607698 1月  14  2019 zlib-1.2.11.tar.gz
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ cd tmp/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp$ ll
total 36
drwxrwxr-x  9 rootroot rootroot 4096 3月  16 14:29 ./
drwxrwxr-x  4 rootroot rootroot 4096 3月  16 14:40 ../
drwxrwxr-x  2 rootroot rootroot 4096 3月  16 14:29 bin/
drwxrwxr-x  3 rootroot rootroot 4096 3月  16 14:29 include/
drwxrwxr-x  3 rootroot rootroot 4096 3月  16 14:29 lib/
drwxrwxr-x  5 rootroot rootroot 4096 3月  16 14:29 share/
drwxr-xr-x  4 rootroot rootroot 4096 3月  16 14:29 squashfs4.3/
drwxr-xr-x 14 rootroot rootroot 4096 3月  16 14:29 xz-5.2.2/
drwxr-xr-x 14 rootroot rootroot 4096 3月  16 14:29 zlib-1.2.11/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp$ rm squashfs4.3/ -rf
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp$ cd ../../../../
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ ll
total 72
drwxrwxr-x 6 rootroot rootroot  4096 1月  14  2019 ./
drwxrwxr-x 8 rootroot rootroot  4096 3月  16 11:16 ../
-rw-rw-r-- 1 rootroot rootroot 20876 1月  14  2019 Makefile
drwxrwxr-x 5 rootroot rootroot  4096 1月  14  2019 opensource/
drwxrwxr-x 5 rootroot rootroot  4096 3月  16 14:28 pub/
-rw-rw-r-- 1 rootroot rootroot 11777 1月  14  2019 readme_cn.txt
-rw-rw-r-- 1 rootroot rootroot 11145 1月  14  2019 readme_en.txt
drwxrwxr-x 2 rootroot rootroot  4096 1月  14  2019 rootfs_scripts/
drwxrwxr-x 4 rootroot rootroot  4096 1月  14  2019 tools/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ make all


继续解决问题:
cd -
make[2]: Entering directory '/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/squashfs4.3/squashfs-tools'
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o mksquashfs.o mksquashfs.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o read_fs.o read_fs.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o action.o action.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o swap.o swap.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o pseudo.o pseudo.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o compressor.o compressor.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o sort.o sort.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o progressbar.o progressbar.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o read_file.o read_file.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o info.o info.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o restore.o restore.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o process_fragments.o process_fragments.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o caches-queues-lists.o caches-queues-lists.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o gzip_wrapper.o gzip_wrapper.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o xz_wrapper.o xz_wrapper.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o xattr.o xattr.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o read_xattrs.o read_xattrs.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o unsquashfs.o unsquashfs.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o unsquash-1.o unsquash-1.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o unsquash-2.o unsquash-2.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o unsquash-3.o unsquash-3.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o unsquash-4.o unsquash-4.c
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o unsquashfs_info.o unsquashfs_info.c
unsquashfs.c: In function ‘create_inode’:
unsquashfs.c:1128:7: warning: implicit declaration of function ‘makedev’ [-Wimplicit-function-declaration]
 1128 |       makedev((i->data >> 8) & 0xff,
      |       ^~~~~~~
cc -O2 -I/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o unsquashfs_xattr.o unsquashfs_xattr.c
cc -L/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/lib -static  unsquashfs.o unsquash-1.o unsquash-2.o unsquash-3.o unsquash-4.o swap.o compressor.o unsquashfs_info.o gzip_wrapper.o xz_wrapper.o read_xattrs.o unsquashfs_xattr.o -lpthread -lm -lz -llzma -o unsquashfs
/usr/bin/ld: unsquashfs.o: in function `print_filename':
unsquashfs.c:(.text+0xeba): warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: unsquashfs.c:(.text+0xea6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: unsquashfs.o: in function `create_inode':
unsquashfs.c:(.text+0x1f45): undefined reference to `makedev'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:279: unsquashfs] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/squashfs4.3/squashfs-tools'
make[1]: *** [Makefile:38: /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp/bin/mksquashfs] Error 2
make[1]: Leaving directory '/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3'
make: *** [Makefile:273: hipctools] Error 2
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ 


Z:\Hi3516CV500R001C02SPC010\Hi3516CV500_SDK_V2.0.1.0\osdrv\tools\pc\squashfs4.3\squashfs4.3\squashfs-tools\unsquashfs.c
#include "unsquashfs.h"
#include "squashfs_swap.h"
#include "squashfs_compat.h"
#include "compressor.h"
#include "xattr.h"
#include "unsquashfs_info.h"
#include "stdarg.h"

#include <sys/sysinfo.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <limits.h>
#include <ctype.h>

#include <sys/sysmacros.h>

struct cache *fragment_cache, *data_cache;
struct queue *to_reader, *to_inflate, *to_writer, *from_writer;
pthread_t *thread, *inflator_thread;
pthread_mutex_t    fragment_mutex;


rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ cd tools/pc/squashfs4.3/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ ll
total 1964
drwxrwxr-x  4 rootroot rootroot    4096 3月  16 14:40 ./
drwxrwxr-x 13 rootroot rootroot    4096 1月  14  2019 ../
-rw-rw-r--  1 rootroot rootroot    2373 1月  14  2019 Makefile
drwxr-xr-x  4 rootroot rootroot    4096 5月  13  2014 squashfs4.3/
-rw-rw-r--  1 rootroot rootroot  183968 3月  16 14:40 squashfs4.3.tar.gz
drwxrwxr-x  9 rootroot rootroot    4096 3月  16 14:43 tmp/
-rw-rw-r--  1 rootroot rootroot 1192692 1月  14  2019 xz-5.2.2.tar.bz2
-rw-rw-r--  1 rootroot rootroot  607698 1月  14  2019 zlib-1.2.11.tar.gz
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ rm squashfs4.3.tar.gz 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ ll
total 1784
drwxrwxr-x  4 rootroot rootroot    4096 3月  16 14:55 ./
drwxrwxr-x 13 rootroot rootroot    4096 1月  14  2019 ../
-rw-rw-r--  1 rootroot rootroot    2373 1月  14  2019 Makefile
drwxr-xr-x  4 rootroot rootroot    4096 5月  13  2014 squashfs4.3/
drwxrwxr-x  9 rootroot rootroot    4096 3月  16 14:43 tmp/
-rw-rw-r--  1 rootroot rootroot 1192692 1月  14  2019 xz-5.2.2.tar.bz2
-rw-rw-r--  1 rootroot rootroot  607698 1月  14  2019 zlib-1.2.11.tar.gz
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ tar zcvf squashfs4.3.tar.gz squashfs4.3/
squashfs4.3/
squashfs4.3/README
squashfs4.3/INSTALL
squashfs4.3/COPYING
squashfs4.3/pseudo-file.example
squashfs4.3/ACKNOWLEDGEMENTS
squashfs4.3/CHANGES
squashfs4.3/squashfs-tools/
squashfs4.3/squashfs-tools/lz4_wrapper.c
squashfs4.3/squashfs-tools/lz4_wrapper.h
squashfs4.3/squashfs-tools/squashfs_compat.h
squashfs4.3/squashfs-tools/unsquashfs.h
squashfs4.3/squashfs-tools/unsquashfs_xattr.c
squashfs4.3/squashfs-tools/progressbar.c
squashfs4.3/squashfs-tools/lzo_wrapper.h
squashfs4.3/squashfs-tools/xz_wrapper.c
squashfs4.3/squashfs-tools/unsquashfs_info.h
squashfs4.3/squashfs-tools/sort.c
squashfs4.3/squashfs-tools/unsquash-4.c
squashfs4.3/squashfs-tools/restore.c
squashfs4.3/squashfs-tools/unsquashfs_info.c
squashfs4.3/squashfs-tools/info.c
squashfs4.3/squashfs-tools/squashfs_swap.h
squashfs4.3/squashfs-tools/read_xattrs.c
squashfs4.3/squashfs-tools/read_fs.c
squashfs4.3/squashfs-tools/process_fragments.c
squashfs4.3/squashfs-tools/process_fragments.h
squashfs4.3/squashfs-tools/unsquash-1.c
squashfs4.3/squashfs-tools/pseudo.h
squashfs4.3/squashfs-tools/caches-queues-lists.c
squashfs4.3/squashfs-tools/mksquashfs.c
squashfs4.3/squashfs-tools/swap.c
squashfs4.3/squashfs-tools/compressor.c
squashfs4.3/squashfs-tools/action.h
squashfs4.3/squashfs-tools/xattr.h
squashfs4.3/squashfs-tools/progressbar.h
squashfs4.3/squashfs-tools/error.h
squashfs4.3/squashfs-tools/read_fs.h
squashfs4.3/squashfs-tools/action.c
squashfs4.3/squashfs-tools/Makefile
squashfs4.3/squashfs-tools/mksquashfs.h
squashfs4.3/squashfs-tools/info.h
squashfs4.3/squashfs-tools/unsquash-2.c
squashfs4.3/squashfs-tools/squashfs_fs.h
squashfs4.3/squashfs-tools/lzma_wrapper.c
squashfs4.3/squashfs-tools/unsquashfs.c
squashfs4.3/squashfs-tools/gzip_wrapper.c
squashfs4.3/squashfs-tools/restore.h
squashfs4.3/squashfs-tools/caches-queues-lists.h
squashfs4.3/squashfs-tools/lzo_wrapper.c
squashfs4.3/squashfs-tools/unsquash-3.c
squashfs4.3/squashfs-tools/gzip_wrapper.h
squashfs4.3/squashfs-tools/compressor.h
squashfs4.3/squashfs-tools/xz_wrapper.h
squashfs4.3/squashfs-tools/xattr.c
squashfs4.3/squashfs-tools/sort.h
squashfs4.3/squashfs-tools/lzma_xz_wrapper.c
squashfs4.3/squashfs-tools/read_file.c
squashfs4.3/squashfs-tools/pseudo.c
squashfs4.3/OLD-READMEs/
squashfs4.3/OLD-READMEs/README-3.0
squashfs4.3/OLD-READMEs/README-4.1
squashfs4.3/OLD-READMEs/README-4.2
squashfs4.3/OLD-READMEs/README-2.0
squashfs4.3/OLD-READMEs/README-AMD64
squashfs4.3/OLD-READMEs/README-2.1
squashfs4.3/OLD-READMEs/README-3.1
squashfs4.3/OLD-READMEs/README-3.3
squashfs4.3/OLD-READMEs/README-3.2
squashfs4.3/OLD-READMEs/README-4.0
squashfs4.3/DONATIONS
squashfs4.3/README-4.3
squashfs4.3/PERFORMANCE.README
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ ll
total 1964
drwxrwxr-x  4 rootroot rootroot    4096 3月  16 14:55 ./
drwxrwxr-x 13 rootroot rootroot    4096 1月  14  2019 ../
-rw-rw-r--  1 rootroot rootroot    2373 1月  14  2019 Makefile
drwxr-xr-x  4 rootroot rootroot    4096 5月  13  2014 squashfs4.3/
-rw-rw-r--  1 rootroot rootroot  183987 3月  16 14:55 squashfs4.3.tar.gz
drwxrwxr-x  9 rootroot rootroot    4096 3月  16 14:43 tmp/
-rw-rw-r--  1 rootroot rootroot 1192692 1月  14  2019 xz-5.2.2.tar.bz2
-rw-rw-r--  1 rootroot rootroot  607698 1月  14  2019 zlib-1.2.11.tar.gz
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3$ cd tmp/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp$ ll
total 36
drwxrwxr-x  9 rootroot rootroot 4096 3月  16 14:43 ./
drwxrwxr-x  4 rootroot rootroot 4096 3月  16 14:55 ../
drwxrwxr-x  2 rootroot rootroot 4096 3月  16 14:29 bin/
drwxrwxr-x  3 rootroot rootroot 4096 3月  16 14:29 include/
drwxrwxr-x  3 rootroot rootroot 4096 3月  16 14:29 lib/
drwxrwxr-x  5 rootroot rootroot 4096 3月  16 14:29 share/
drwxr-xr-x  4 rootroot rootroot 4096 3月  16 14:43 squashfs4.3/
drwxr-xr-x 14 rootroot rootroot 4096 3月  16 14:29 xz-5.2.2/
drwxr-xr-x 14 rootroot rootroot 4096 3月  16 14:29 zlib-1.2.11/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp$ rm squashfs4.3/
rm: cannot remove 'squashfs4.3/': Is a directory
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp$ rm squashfs4.3/ -rf
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp$ ll
total 32
drwxrwxr-x  8 rootroot rootroot 4096 3月  16 14:55 ./
drwxrwxr-x  4 rootroot rootroot 4096 3月  16 14:55 ../
drwxrwxr-x  2 rootroot rootroot 4096 3月  16 14:29 bin/
drwxrwxr-x  3 rootroot rootroot 4096 3月  16 14:29 include/
drwxrwxr-x  3 rootroot rootroot 4096 3月  16 14:29 lib/
drwxrwxr-x  5 rootroot rootroot 4096 3月  16 14:29 share/
drwxr-xr-x 14 rootroot rootroot 4096 3月  16 14:29 xz-5.2.2/
drwxr-xr-x 14 rootroot rootroot 4096 3月  16 14:29 zlib-1.2.11/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/squashfs4.3/tmp$ cd ../../../..
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ make all


6、编译成功!
misc-utils/recv_image.o: In function `main':
recv_image.c:(.text+0x750): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
misc-utils/serve_image.o: In function `main':
serve_image.c:(.text+0x6dc): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/board/mtd-utils
cp -rf /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/board/mtd-utils/mtd-utils-2.0.2/bin/sbin/* bin/
make[1]: Leaving directory '/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/board/mtd-utils'
cp /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/board/mtd-utils/bin/* /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/board_glibc
cp /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/board/reg-tools-1.0.0/bin/himm /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/board_glibc
cp /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/board/reg-tools-1.0.0/bin/himc /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/board_glibc
cp /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/board/reg-tools-1.0.0/bin/himd /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/board_glibc
cp /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/board/reg-tools-1.0.0/bin/himd.l /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/board_glibc
---------task [7] build rootfs
chmod 777 /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/board_glibc/*
chmod 777 /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/pc/*
rm /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc/dev/* -rf
rm /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc/bin/himm -rf
rm /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc/bin/himc -rf
rm /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc/bin/himd -rf
rm /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc/bin/himd.l -rf
pushd /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc;ln -s sbin/init init;popd
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc ~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
pushd /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc; chmod 750 * -R; chmod 750 usr/* -R; popd
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc ~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
pushd /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc; chmod -w usr/bin -R; chmod -w usr/sbin -R; chmod -w sbin -R; popd
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc ~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
pushd /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/pc;./mkfs.jffs2 -d /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc -l -e 0x40000 -o /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/hi3516dv300_spi_smp_image_glibc/rootfs_hi3516dv300_256k.jffs2;popd
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/pc ~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
pushd /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/pc;./mkfs.jffs2 -d /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc -l -e 0x20000 -o /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/hi3516dv300_spi_smp_image_glibc/rootfs_hi3516dv300_128k.jffs2;popd
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/pc ~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
pushd /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/pc;./mkfs.jffs2 -d /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc -l -e 0x10000 -o /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/hi3516dv300_spi_smp_image_glibc/rootfs_hi3516dv300_64k.jffs2;popd
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/pc ~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
cp /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/ubi_sh/mkubiimg.sh /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/hi3516dv300_spi_smp_image_glibc
chmod +x /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/hi3516dv300_spi_smp_image_glibc/mkubiimg.sh
# build the pagesize = 2k, blocksize = 128k, part_size = 32M #
pushd /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/hi3516dv300_spi_smp_image_glibc;./mkubiimg.sh hi3516dv300 2k 128k /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc 32M /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/pc;popd
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/hi3516dv300_spi_smp_image_glibc ~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/pc/mkfs.ubifs -F -d /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc -m 2048 -o rootfs_hi3516dv300_2k_128k_32M.ubiimg -e 126976 -c 256

/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/pc/ubinize -o rootfs_hi3516dv300_2k_128k_32M.ubifs -m 2048 -p 131072 rootfs_hi3516dv300_2k_128k_32M.ubicfg
ubinize: volume size was not specified in section "ubifs-volumn", assume minimum to fit image "rootfs_hi3516dv300_2k_128k_32M.ubiimg"7364608 bytes (7.0 MiB)
--------- rootfs_hi3516dv300_2k_128k_32M.ubifs is prepared !!
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
# build the pagesize = 4k, blocksize = 256k, part_size = 50M #
pushd /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/hi3516dv300_spi_smp_image_glibc;./mkubiimg.sh hi3516dv300 4k 256k /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc 50M /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/pc;popd
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/hi3516dv300_spi_smp_image_glibc ~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/pc/mkfs.ubifs -F -d /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc -m 4096 -o rootfs_hi3516dv300_4k_256k_50M.ubiimg -e 253952 -c 200

/home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/pc/ubinize -o rootfs_hi3516dv300_4k_256k_50M.ubifs -m 4096 -p 262144 rootfs_hi3516dv300_4k_256k_50M.ubicfg
ubinize: volume size was not specified in section "ubifs-volumn", assume minimum to fit image "rootfs_hi3516dv300_4k_256k_50M.ubiimg"8888320 bytes (8.4 MiB)
--------- rootfs_hi3516dv300_4k_256k_50M.ubifs is prepared !!
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
rm /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/hi3516dv300_spi_smp_image_glibc/mkubiimg.sh
pushd /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/pc;./mkyaffs2image100 /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc/ /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/hi3516dv300_spi_smp_image_glibc/rootfs_hi3516dv300_2k_4bit.yaffs2 1 2;popd
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/pc ~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
mkyaffs2image100: image building tool for YAFFS2, last update Mar 16 2021 14:28:36. 
Version: Linux-2.6.35 Flash Memory Controller V100
Processing dir /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc/ into imagefile /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/hi3516dv300_spi_smp_image_glibc/rootfs_hi3516dv300_2k_4bit.yaffs2
Operation success complete. 501 objects in 29 directories 5752 NAND pages
Input parameter: pagetype: 1(2K), ecctype: 2(4bit)
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
chmod 644 /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/hi3516dv300_spi_smp_image_glibc/rootfs_hi3516dv300_2k_4bit.yaffs2
pushd /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/pc;./mkyaffs2image100 /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc/ /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/hi3516dv300_spi_smp_image_glibc/rootfs_hi3516dv300_2k_24bit.yaffs2 1 4;popd
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/pc ~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
mkyaffs2image100: image building tool for YAFFS2, last update Mar 16 2021 14:28:36. 
Version: Linux-2.6.35 Flash Memory Controller V100
Processing dir /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc/ into imagefile /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/hi3516dv300_spi_smp_image_glibc/rootfs_hi3516dv300_2k_24bit.yaffs2
Operation success complete. 501 objects in 29 directories 5752 NAND pages
Input parameter: pagetype: 1(2K), ecctype: 4(24bits/1K)
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
chmod 644 /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/hi3516dv300_spi_smp_image_glibc/rootfs_hi3516dv300_2k_24bit.yaffs2
pushd /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/pc;./mkyaffs2image100 /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc/ /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/hi3516dv300_spi_smp_image_glibc/rootfs_hi3516dv300_4k_4bit.yaffs2 2 2;popd
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/pc ~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
mkyaffs2image100: image building tool for YAFFS2, last update Mar 16 2021 14:28:36. 
Version: Linux-2.6.35 Flash Memory Controller V100
Processing dir /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc/ into imagefile /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/hi3516dv300_spi_smp_image_glibc/rootfs_hi3516dv300_4k_4bit.yaffs2
Operation success complete. 501 objects in 29 directories 3149 NAND pages
Input parameter: pagetype: 2(4K), ecctype: 2(4bit)
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
chmod 644 /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/hi3516dv300_spi_smp_image_glibc/rootfs_hi3516dv300_4k_4bit.yaffs2
pushd /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/pc;./mkyaffs2image100 /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc/ /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/hi3516dv300_spi_smp_image_glibc/rootfs_hi3516dv300_4k_24bit.yaffs2 2 4;popd
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/bin/pc ~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
mkyaffs2image100: image building tool for YAFFS2, last update Mar 16 2021 14:28:36. 
Version: Linux-2.6.35 Flash Memory Controller V100
Processing dir /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc/ into imagefile /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/hi3516dv300_spi_smp_image_glibc/rootfs_hi3516dv300_4k_24bit.yaffs2
Operation success complete. 501 objects in 29 directories 3149 NAND pages
Input parameter: pagetype: 2(4K), ecctype: 4(24bits/1K)
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
chmod 644 /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/hi3516dv300_spi_smp_image_glibc/rootfs_hi3516dv300_4k_24bit.yaffs2
find /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc/ -name '*svn' | xargs rm -rf
pushd /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc; chmod +w usr/bin -R; chmod +w usr/sbin -R; chmod +w sbin -R; popd
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc ~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
pushd /home/rootroot/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub;tar czf rootfs_glibc.tgz rootfs_glibc;rm rootfs_glibc -rf;popd
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub ~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv
---------finish osdrv work
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/Hi3516CV500R001C02SPC010/Hi3516CV500_SDK_V2.0.1.0/osdrv$ 

 


参考资料: https://blog.csdn.net/wirner/article/details/107024607
海思官方SDK Hi3516EV200_SDK_V1.0.1.0的编译教程


https://blog.csdn.net/wirner/article/details/107426024
编译Hi3516DV300的SDK


https://blog.csdn.net/wirner/article/details/107425986
安装交叉编译工具:arm-himix200-linux


https://blog.csdn.net/Turix/article/details/105146180
从零开始创建Hi3516DV300在EMMC上的根文件系统


https://blog.csdn.net/wirner/article/details/106979438
在ubuntu18.04上搭建的海思Hi3516EV200的编译环境


https://blog.csdn.net/nswcszmdfj/article/details/106697741
Hi3516EV200 liteOs SDK搭建


https://zhuanlan.zhihu.com/p/257938114
在Linux环境下,Hi3516DV300开发板搭载鸿蒙OS实现一个简单的Helloworld程序


https://blog.csdn.net/mao_hui_fei/article/details/108954420
海思3516dv300如何使用tftp烧录uboot、内核、文件系统


https://zhuanlan.zhihu.com/p/257965064
推荐丨8大视频课程学习海思AI芯片开发及部署


https://zhuanlan.zhihu.com/p/71789194
海思芯片系统镜像烧写教程

 

 

 

 

 

 

 

  • 1
    点赞
  • 0
    收藏
  • 打赏
    打赏
  • 0
    评论

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

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
©️2022 CSDN 皮肤主题:大白 设计师:CSDN官方博客 返回首页
评论

打赏作者

南棱笑笑生

你的鼓励将是我创作的最大动力

¥2 ¥4 ¥6 ¥10 ¥20
输入1-500的整数
余额支付 (余额:-- )
扫码支付
扫码支付:¥2
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值