20221218解决在Ubuntu18.04下编译Firefly的Core-3588J出现lz4的问题

news2024/11/15 20:11:01

20221218解决在Ubuntu18.04下编译Firefly的Core-3588J出现lz4的问题
2022/12/18 15:37

解决方法:编译最新的lz4的dev分支!


https://wiki.t-firefly.com/zh_CN/Core-3588J/android_compile_android12.0_firmware.html
Core-3588J产品规格书
3. 编译 Android12.0 固件


同样的操作方法,Ubuntu22.04下编译Android12完全正常,但是Ubuntu22.04下编译Buildroot异常!
看Firefly是推荐Ubuntu18.04下编译,于是切换回来了!


编译指令:
3.2. Core-3588J 产品编译方法
3.2.1. 整体编译
3.2.1.1. HDMI 固件编译
./FFTools/make.sh -d rk3588-firefly-itx-3588j -j8 -l rk3588_firefly_itx_3588j-userdebug
./FFTools/mkupdate/mkupdate.sh -l rk3588_firefly_itx_3588j-userdebug


于是分步骤编译,确认时编译内核的时候出错的!
3.2.2. 分步编译
编译 uboot:
cd ~/proj/RK3588_Android12.0/u-boot/
./make.sh rk3588


编译 kernel:
cd ~/proj/RK3588_Android12.0/kernel-5.10
export PATH=../prebuilts/clang/host/linux-x86/clang-r416183b/bin:$PATH
alias msk='make CROSS_COMPILE=aarch64-linux-gnu- LLVM=1 LLVM_IAS=1'
msk ARCH=arm64  firefly_defconfig android-11.config pcie_wifi.config
msk ARCH=arm64   BOOT_IMG=../rockdev/Image-rk3588_firefly_itx_3588j/boot.img rk3588-firefly-itx-3588j.img -j8


  AS      .tmp_vmlinux.kallsyms2.S
  LD      vmlinux
  SORTTAB vmlinux
  SYSMAP  System.map
  OBJCOPY arch/arm64/boot/Image
  MODPOST modules-only.symvers
  GEN     Module.symvers
  CC [M]  drivers/media/usb/gspca/gspca_main.mod.o
  CC [M]  drivers/net/ethernet/realtek/r8168/r8168.mod.o
  CC [M]  drivers/net/phy/realtek.mod.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmdhd.mod.o
  LZ4C    arch/arm64/boot/Image.lz4
Incorrect parameters
Usage :
      lz4 [arg] [input] [output]

input   : a filename
          with no FILE, or when FILE is - or stdin, read standard input
Arguments :
 -1     : Fast compression (default) 
 -9     : High compression 
 -d     : decompression (default for .lz4 extension)
 -z     : force compression
 -f     : overwrite output without prompting 
 -h/-H  : display help/long help and exit
arch/arm64/boot/Makefile:31: recipe for target 'arch/arm64/boot/Image.lz4' failed
make[2]: *** [arch/arm64/boot/Image.lz4] Error 1
make[2]: *** Deleting file 'arch/arm64/boot/Image.lz4'
arch/arm64/Makefile:170: recipe for target 'Image.lz4' failed
make[1]: *** [Image.lz4] Error 2
make[1]: *** Waiting for unfinished jobs....
  LD [M]  drivers/media/usb/gspca/gspca_main.ko
  LD [M]  drivers/net/ethernet/realtek/r8168/r8168.ko
  LD [M]  drivers/net/phy/realtek.ko
  LD [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmdhd.ko
arch/arm64/Makefile:214: recipe for target 'rk3588-firefly-itx-3588j.img' failed
make: *** [rk3588-firefly-itx-3588j.img] Error 2

rootroot@rootroot-MS-7885:~/proj/RK3588_Android12.0$ ll


分步骤编译,确认出错的地方:
rootroot@rootroot-MS-7885:~/proj/RK3588_Android12.0/kernel-5.10$ 
rootroot@rootroot-MS-7885:~/proj/RK3588_Android12.0/kernel-5.10$ msk ARCH=arm64   BOOT_IMG=../rockdev/Image-rk3588_firefly_itx_3588j/boot.img rk3588-firefly-itx-3588j.img -j8
  SYNC    include/config/auto.conf.cmd
  CALL    scripts/atomic/check-atomics.sh
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CHK     kernel/kheaders_data.tar.xz
  LZ4C    arch/arm64/boot/Image.lz4
Incorrect parameters
Usage :
      lz4 [arg] [input] [output]

input   : a filename
          with no FILE, or when FILE is - or stdin, read standard input
Arguments :
 -1     : Fast compression (default) 
 -9     : High compression 
 -d     : decompression (default for .lz4 extension)
 -z     : force compression
 -f     : overwrite output without prompting 
 -h/-H  : display help/long help and exit
arch/arm64/boot/Makefile:31: recipe for target 'arch/arm64/boot/Image.lz4' failed
make[2]: *** [arch/arm64/boot/Image.lz4] Error 1
make[2]: *** Deleting file 'arch/arm64/boot/Image.lz4'
arch/arm64/Makefile:170: recipe for target 'Image.lz4' failed
make[1]: *** [Image.lz4] Error 2
make[1]: *** Waiting for unfinished jobs....
arch/arm64/Makefile:214: recipe for target 'rk3588-firefly-itx-3588j.img' failed
make: *** [rk3588-firefly-itx-3588j.img] Error 2

rootroot@rootroot-MS-7885:~/proj/RK3588_Android12.0/kernel-5.10$ 
rootroot@rootroot-MS-7885:~/proj/RK3588_Android12.0/kernel-5.10$ 
rootroot@rootroot-MS-7885:~/proj/RK3588_Android12.0/kernel-5.10$ msk ARCH=arm64   BOOT_IMG=../rockdev/Image-rk3588_firefly_itx_3588j/boot.img rk3588-firefly-itx-3588j.img -j8
  CALL    scripts/atomic/check-atomics.sh
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CHK     kernel/kheaders_data.tar.xz
  LZ4C    arch/arm64/boot/Image.lz4
  Image:  resource.img (with rk3588-firefly-itx-3588j.dtb logo.bmp logo_kernel.bmp) is ready
  Image:  boot.img (with Image  resource.img) is ready
  Image:  zboot.img (with Image.lz4  resource.img) is ready
rootroot@rootroot-MS-7885:~/proj/RK3588_Android12.0/kernel-5.10$ 

 

 


百度搜索:arch/arm64/boot/Makefile:31: recipe for target 'arch/arm64/boot/Image.lz4' failed
https://developer.huawei.com/consumer/cn/forum/topic/0203856559232120103
云司机
编译新问题 arch/arm64/Makefile:206: recipe for target 'rk3568-toybrick-x0-linux.img' failed 
开发板套件
OpenHarmony
HarmonyOS开发板
开发板
发表于 2022-04-18 09:18427查看
[OHOS ERROR] arch/arm64/Makefile:206: recipe for target 'rk3568-toybrick-x0-linux.img' failed 
[OHOS ERROR] make: *** [rk3568-toybrick-x0-linux.img] Error 2 

[OHOS INFO] --------------------------------------------- 

[OHOS INFO] ccache summary: 

是路径没设置好吗?
本帖最后由 社区小助手 于 2022-04-18 09:40 编辑


鸿联
遇到同样问题,是在ubuntu18下,安装下面两个工具,报错消除
sudo apt-get install liblz4-tool
sudo apt-get install genext2fs
升级到ubuntu20.04后编译,没有这个报错了


https://blog.csdn.net/qq_38664089/article/details/125870510
RK3588编译问题集
蓝色卡布达
于 2022-07-19 13:53:30 发布

本文档内容主要记录了在编译RK3588工程时所遇到的一些问题,相关的问题可能也会发生在其他的工程编译里面,该文档的解决方法仅供参考
1、编译kernel出现 arch/arm64/boot/Makefile:31: recipe for target ‘arch/arm64/boot/Image.lz4’ failed 报错

原因:lz4不存在或者版本过低。
解决办法1:系编译环境缺少lz4组件导致,执行如下命令安装
sudo apt-get update
apt-get install liblz4-tool
若update执行失败,可参考如下链接,替换镜像源
http://3ms.huawei.com/km/blogs/details/11561033

但大概率即使把源更新了,编译依然会报错,原因是因为官方的软件源为了稳定不会提供版本很新的代码,所以你通过apt-get install去下载安装的代码不是现在最新的版本。但有些编译又指定要很新的版本,这就产生了矛盾。所以可以通过去github上拉取最新版本的代码安装。如下,安装包见附件。
解决办法2:下载最新lz4源码,安装
$ git clone https://github.com/lz4/lz4.git
$ make
$ sudo make install
<<lz4-dev.zip>>
本项目,法1不能解决该问题,推荐法2。


看博文是lz4的版本问题!
rootroot@rootroot-MS-7885:~$ 
rootroot@rootroot-MS-7885:~$ lz4 -version
Incorrect parameters
Usage :
      lz4 [arg] [input] [output]

input   : a filename
          with no FILE, or when FILE is - or stdin, read standard input
Arguments :
 -1     : Fast compression (default) 
 -9     : High compression 
 -d     : decompression (default for .lz4 extension)
 -z     : force compression
 -f     : overwrite output without prompting 
 -h/-H  : display help/long help and exit
rootroot@rootroot-MS-7885:~$ 
rootroot@rootroot-MS-7885:~$ 
rootroot@rootroot-MS-7885:~$ lz4 --version
*** LZ4 command line interface 64-bits r128, by Yann Collet (May 20 2021) ***
rootroot@rootroot-MS-7885:~$ 

由于新安装的WIN10系统,上github异常:https://github.com/lz4/lz4.git
来不及配置HOSTS了,直接使用备用的镜像链接了,直接下载dev分支:
https://gitcode.net/mirrors/lz4/lz4?utm_source=csdn_github_accelerator
mirrors / lz4 / lz4


rootroot@rootroot-MS-7885:~/lz4$ unzip lz4-dev.zip 
Archive:  lz4-dev.zip
299daf03acd9b8084ca3fc53403e1fd4c3cbeacd
   creating: lz4-dev/
   creating: lz4-dev/.circleci/
  inflating: lz4-dev/.circleci/config.yml  
   creating: lz4-dev/.circleci/images/
   creating: lz4-dev/.circleci/images/primary/
  inflating: lz4-dev/.circleci/images/primary/Dockerfile  
  inflating: lz4-dev/.cirrus.yml     
  inflating: lz4-dev/.gitattributes  
   creating: lz4-dev/.github/
   creating: lz4-dev/.github/ISSUE_TEMPLATE/
  inflating: lz4-dev/.github/ISSUE_TEMPLATE/bug_report.md  
  inflating: lz4-dev/.github/ISSUE_TEMPLATE/feature_request.md  
  inflating: lz4-dev/.github/dependabot.yaml  
   creating: lz4-dev/.github/workflows/
  inflating: lz4-dev/.github/workflows/README.md  
  inflating: lz4-dev/.github/workflows/ci.yml  
  inflating: lz4-dev/.gitignore      
  inflating: lz4-dev/.travis.yml     
  inflating: lz4-dev/INSTALL         
  inflating: lz4-dev/LICENSE         
  inflating: lz4-dev/Makefile        
  inflating: lz4-dev/Makefile.inc    
  inflating: lz4-dev/NEWS            
  inflating: lz4-dev/README.md       
  inflating: lz4-dev/appveyor.yml    
   creating: lz4-dev/build/
  inflating: lz4-dev/build/.gitignore  
  inflating: lz4-dev/build/README.md  
   creating: lz4-dev/build/VS2010/
   creating: lz4-dev/build/VS2010/datagen/
  inflating: lz4-dev/build/VS2010/datagen/datagen.vcxproj  
   creating: lz4-dev/build/VS2010/frametest/
  inflating: lz4-dev/build/VS2010/frametest/frametest.vcxproj  
   creating: lz4-dev/build/VS2010/fullbench-dll/
  inflating: lz4-dev/build/VS2010/fullbench-dll/fullbench-dll.vcxproj  
   creating: lz4-dev/build/VS2010/fullbench/
  inflating: lz4-dev/build/VS2010/fullbench/fullbench.vcxproj  
   creating: lz4-dev/build/VS2010/fuzzer/
  inflating: lz4-dev/build/VS2010/fuzzer/fuzzer.vcxproj  
   creating: lz4-dev/build/VS2010/liblz4-dll/
  inflating: lz4-dev/build/VS2010/liblz4-dll/liblz4-dll.rc  
  inflating: lz4-dev/build/VS2010/liblz4-dll/liblz4-dll.vcxproj  
   creating: lz4-dev/build/VS2010/liblz4/
  inflating: lz4-dev/build/VS2010/liblz4/liblz4.vcxproj  
  inflating: lz4-dev/build/VS2010/lz4.sln  
   creating: lz4-dev/build/VS2010/lz4/
  inflating: lz4-dev/build/VS2010/lz4/lz4.rc  
  inflating: lz4-dev/build/VS2010/lz4/lz4.vcxproj  
   creating: lz4-dev/build/VS2017/
   creating: lz4-dev/build/VS2017/datagen/
  inflating: lz4-dev/build/VS2017/datagen/datagen.vcxproj  
   creating: lz4-dev/build/VS2017/frametest/
  inflating: lz4-dev/build/VS2017/frametest/frametest.vcxproj  
   creating: lz4-dev/build/VS2017/fullbench-dll/
  inflating: lz4-dev/build/VS2017/fullbench-dll/fullbench-dll.vcxproj  
   creating: lz4-dev/build/VS2017/fullbench/
  inflating: lz4-dev/build/VS2017/fullbench/fullbench.vcxproj  
   creating: lz4-dev/build/VS2017/fuzzer/
  inflating: lz4-dev/build/VS2017/fuzzer/fuzzer.vcxproj  
   creating: lz4-dev/build/VS2017/liblz4-dll/
  inflating: lz4-dev/build/VS2017/liblz4-dll/liblz4-dll.rc  
  inflating: lz4-dev/build/VS2017/liblz4-dll/liblz4-dll.vcxproj  
   creating: lz4-dev/build/VS2017/liblz4/
  inflating: lz4-dev/build/VS2017/liblz4/liblz4.vcxproj  
  inflating: lz4-dev/build/VS2017/lz4.sln  
   creating: lz4-dev/build/VS2017/lz4/
  inflating: lz4-dev/build/VS2017/lz4/lz4.rc  
  inflating: lz4-dev/build/VS2017/lz4/lz4.vcxproj  
   creating: lz4-dev/build/VS2022/
   creating: lz4-dev/build/VS2022/datagen/
  inflating: lz4-dev/build/VS2022/datagen/datagen.vcxproj  
   creating: lz4-dev/build/VS2022/frametest/
  inflating: lz4-dev/build/VS2022/frametest/frametest.vcxproj  
   creating: lz4-dev/build/VS2022/fullbench-dll/
  inflating: lz4-dev/build/VS2022/fullbench-dll/fullbench-dll.vcxproj  
   creating: lz4-dev/build/VS2022/fullbench/
  inflating: lz4-dev/build/VS2022/fullbench/fullbench.vcxproj  
   creating: lz4-dev/build/VS2022/fuzzer/
  inflating: lz4-dev/build/VS2022/fuzzer/fuzzer.vcxproj  
   creating: lz4-dev/build/VS2022/liblz4-dll/
  inflating: lz4-dev/build/VS2022/liblz4-dll/liblz4-dll.rc  
  inflating: lz4-dev/build/VS2022/liblz4-dll/liblz4-dll.vcxproj  
   creating: lz4-dev/build/VS2022/liblz4/
  inflating: lz4-dev/build/VS2022/liblz4/liblz4.vcxproj  
  inflating: lz4-dev/build/VS2022/lz4.sln  
   creating: lz4-dev/build/cmake/
  inflating: lz4-dev/build/cmake/.gitignore  
  inflating: lz4-dev/build/cmake/CMakeLists.txt  
 extracting: lz4-dev/build/cmake/lz4Config.cmake.in  
   creating: lz4-dev/contrib/
   creating: lz4-dev/contrib/debian/
  inflating: lz4-dev/contrib/debian/changelog  
 extracting: lz4-dev/contrib/debian/compat  
  inflating: lz4-dev/contrib/debian/control  
  inflating: lz4-dev/contrib/debian/copyright  
 extracting: lz4-dev/contrib/debian/dirs  
 extracting: lz4-dev/contrib/debian/docs  
  inflating: lz4-dev/contrib/debian/liblz4-dev.install  
  inflating: lz4-dev/contrib/debian/liblz4.install  
  inflating: lz4-dev/contrib/debian/rules  
   creating: lz4-dev/contrib/djgpp/
  inflating: lz4-dev/contrib/djgpp/LICENSE  
  inflating: lz4-dev/contrib/djgpp/Makefile  
  inflating: lz4-dev/contrib/djgpp/README.MD  
   creating: lz4-dev/contrib/gen_manual/
 extracting: lz4-dev/contrib/gen_manual/.gitignore  
  inflating: lz4-dev/contrib/gen_manual/Makefile  
  inflating: lz4-dev/contrib/gen_manual/README.md  
  inflating: lz4-dev/contrib/gen_manual/gen-lz4-manual.sh  
  inflating: lz4-dev/contrib/gen_manual/gen_manual.cpp  
   creating: lz4-dev/contrib/meson/
  inflating: lz4-dev/contrib/meson/GetLz4LibraryVersion.py  
  inflating: lz4-dev/contrib/meson/README.md  
  inflating: lz4-dev/contrib/meson/meson.build  
   creating: lz4-dev/contrib/meson/meson/
   creating: lz4-dev/contrib/meson/meson/contrib/
   creating: lz4-dev/contrib/meson/meson/contrib/gen_manual/
  inflating: lz4-dev/contrib/meson/meson/contrib/gen_manual/meson.build  
  inflating: lz4-dev/contrib/meson/meson/contrib/meson.build  
   creating: lz4-dev/contrib/meson/meson/examples/
  inflating: lz4-dev/contrib/meson/meson/examples/meson.build  
   creating: lz4-dev/contrib/meson/meson/lib/
  inflating: lz4-dev/contrib/meson/meson/lib/meson.build  
  inflating: lz4-dev/contrib/meson/meson/meson.build  
   creating: lz4-dev/contrib/meson/meson/ossfuzz/
  inflating: lz4-dev/contrib/meson/meson/ossfuzz/meson.build  
   creating: lz4-dev/contrib/meson/meson/programs/
  inflating: lz4-dev/contrib/meson/meson/programs/meson.build  
   creating: lz4-dev/contrib/meson/meson/tests/
  inflating: lz4-dev/contrib/meson/meson/tests/meson.build  
  inflating: lz4-dev/contrib/meson/meson_options.txt  
   creating: lz4-dev/contrib/snap/
  inflating: lz4-dev/contrib/snap/README.md  
  inflating: lz4-dev/contrib/snap/snapcraft.yaml  
   creating: lz4-dev/doc/
  inflating: lz4-dev/doc/lz4_Block_format.md  
  inflating: lz4-dev/doc/lz4_Frame_format.md  
  inflating: lz4-dev/doc/lz4_manual.html  
  inflating: lz4-dev/doc/lz4frame_manual.html  
   creating: lz4-dev/examples/
  inflating: lz4-dev/examples/.gitignore  
  inflating: lz4-dev/examples/COPYING  
  inflating: lz4-dev/examples/HCStreaming_ringBuffer.c  
  inflating: lz4-dev/examples/Makefile  
  inflating: lz4-dev/examples/README.md  
  inflating: lz4-dev/examples/blockStreaming_doubleBuffer.c  
  inflating: lz4-dev/examples/blockStreaming_doubleBuffer.md  
  inflating: lz4-dev/examples/blockStreaming_lineByLine.c  
  inflating: lz4-dev/examples/blockStreaming_lineByLine.md  
  inflating: lz4-dev/examples/blockStreaming_ringBuffer.c  
  inflating: lz4-dev/examples/compress_functions.c  
  inflating: lz4-dev/examples/dictionaryRandomAccess.c  
  inflating: lz4-dev/examples/dictionaryRandomAccess.md  
  inflating: lz4-dev/examples/fileCompress.c  
  inflating: lz4-dev/examples/frameCompress.c  
  inflating: lz4-dev/examples/printVersion.c  
  inflating: lz4-dev/examples/simple_buffer.c  
  inflating: lz4-dev/examples/streaming_api_basics.md  
   creating: lz4-dev/lib/
 extracting: lz4-dev/lib/.gitignore  
  inflating: lz4-dev/lib/LICENSE     
  inflating: lz4-dev/lib/Makefile    
  inflating: lz4-dev/lib/README.md   
   creating: lz4-dev/lib/dll/
   creating: lz4-dev/lib/dll/example/
  inflating: lz4-dev/lib/dll/example/Makefile  
  inflating: lz4-dev/lib/dll/example/README.md  
  inflating: lz4-dev/lib/dll/example/fullbench-dll.sln  
  inflating: lz4-dev/lib/dll/example/fullbench-dll.vcxproj  
  inflating: lz4-dev/lib/liblz4-dll.rc.in  
  inflating: lz4-dev/lib/liblz4.pc.in  
  inflating: lz4-dev/lib/lz4.c       
  inflating: lz4-dev/lib/lz4.h       
  inflating: lz4-dev/lib/lz4file.c   
  inflating: lz4-dev/lib/lz4file.h   
  inflating: lz4-dev/lib/lz4frame.c  
  inflating: lz4-dev/lib/lz4frame.h  
  inflating: lz4-dev/lib/lz4frame_static.h  
  inflating: lz4-dev/lib/lz4hc.c     
  inflating: lz4-dev/lib/lz4hc.h     
  inflating: lz4-dev/lib/xxhash.c    
  inflating: lz4-dev/lib/xxhash.h    
   creating: lz4-dev/ossfuzz/
  inflating: lz4-dev/ossfuzz/.gitignore  
  inflating: lz4-dev/ossfuzz/Makefile  
  inflating: lz4-dev/ossfuzz/compress_frame_fuzzer.c  
  inflating: lz4-dev/ossfuzz/compress_fuzzer.c  
  inflating: lz4-dev/ossfuzz/compress_hc_fuzzer.c  
  inflating: lz4-dev/ossfuzz/decompress_frame_fuzzer.c  
  inflating: lz4-dev/ossfuzz/decompress_fuzzer.c  
  inflating: lz4-dev/ossfuzz/fuzz.h  
  inflating: lz4-dev/ossfuzz/fuzz_data_producer.c  
  inflating: lz4-dev/ossfuzz/fuzz_data_producer.h  
  inflating: lz4-dev/ossfuzz/fuzz_helpers.h  
  inflating: lz4-dev/ossfuzz/lz4_helpers.c  
  inflating: lz4-dev/ossfuzz/lz4_helpers.h  
  inflating: lz4-dev/ossfuzz/ossfuzz.sh  
  inflating: lz4-dev/ossfuzz/round_trip_frame_fuzzer.c  
  inflating: lz4-dev/ossfuzz/round_trip_frame_uncompressed_fuzzer.c  
  inflating: lz4-dev/ossfuzz/round_trip_fuzzer.c  
  inflating: lz4-dev/ossfuzz/round_trip_hc_fuzzer.c  
  inflating: lz4-dev/ossfuzz/round_trip_stream_fuzzer.c  
  inflating: lz4-dev/ossfuzz/standaloneengine.c  
  inflating: lz4-dev/ossfuzz/travisoss.sh  
   creating: lz4-dev/programs/
  inflating: lz4-dev/programs/.gitignore  
  inflating: lz4-dev/programs/COPYING  
  inflating: lz4-dev/programs/Makefile  
  inflating: lz4-dev/programs/README.md  
  inflating: lz4-dev/programs/bench.c  
  inflating: lz4-dev/programs/bench.h  
  inflating: lz4-dev/programs/datagen.c  
  inflating: lz4-dev/programs/datagen.h  
  inflating: lz4-dev/programs/lz4-exe.rc.in  
  inflating: lz4-dev/programs/lz4.1  
  inflating: lz4-dev/programs/lz4.1.md  
  inflating: lz4-dev/programs/lz4cli.c  
  inflating: lz4-dev/programs/lz4io.c  
  inflating: lz4-dev/programs/lz4io.h  
  inflating: lz4-dev/programs/platform.h  
  inflating: lz4-dev/programs/util.h  
   creating: lz4-dev/tests/
  inflating: lz4-dev/tests/.gitignore  
  inflating: lz4-dev/tests/COPYING   
  inflating: lz4-dev/tests/Makefile  
  inflating: lz4-dev/tests/README.md  
  inflating: lz4-dev/tests/abiTest.c  
  inflating: lz4-dev/tests/checkFrame.c  
  inflating: lz4-dev/tests/checkTag.c  
  inflating: lz4-dev/tests/check_liblz4_version.sh  
  inflating: lz4-dev/tests/datagencli.c  
  inflating: lz4-dev/tests/decompress-partial-usingDict.c  
  inflating: lz4-dev/tests/decompress-partial.c  
  inflating: lz4-dev/tests/frametest.c  
  inflating: lz4-dev/tests/freestanding.c  
  inflating: lz4-dev/tests/fullbench.c  
  inflating: lz4-dev/tests/fuzzer.c  
   creating: lz4-dev/tests/goldenSamples/
  inflating: lz4-dev/tests/goldenSamples/skip.bin  
  inflating: lz4-dev/tests/roundTripTest.c  
  inflating: lz4-dev/tests/test-lz4-abi.py  
  inflating: lz4-dev/tests/test-lz4-basic.sh  
  inflating: lz4-dev/tests/test-lz4-contentSize.sh  
  inflating: lz4-dev/tests/test-lz4-dict.sh  
  inflating: lz4-dev/tests/test-lz4-fast-hugefile.sh  
  inflating: lz4-dev/tests/test-lz4-frame-concatenation.sh  
  inflating: lz4-dev/tests/test-lz4-list.py  
  inflating: lz4-dev/tests/test-lz4-multiple-legacy.sh  
  inflating: lz4-dev/tests/test-lz4-multiple.sh  
  inflating: lz4-dev/tests/test-lz4-opt-parser.sh  
  inflating: lz4-dev/tests/test-lz4-skippable.sh  
  inflating: lz4-dev/tests/test-lz4-sparse.sh  
  inflating: lz4-dev/tests/test-lz4-speed.py  
  inflating: lz4-dev/tests/test-lz4-testmode.sh  
  inflating: lz4-dev/tests/test-lz4-versions.py  
  inflating: lz4-dev/tests/test-lz4hc-hugefile.sh  
  inflating: lz4-dev/tests/test_custom_block_sizes.sh  
  inflating: lz4-dev/tests/test_install.sh  
  inflating: lz4-dev/tests/unicode_lint.sh  
rootroot@rootroot-MS-7885:~/lz4$ ll
total 472
drwxrwxr-x  3 rootroot rootroot   4096 12月 18 13:02 ./
drwxr-xr-x 24 rootroot rootroot   4096 12月 18 12:59 ../
drwxrwxr-x 12 rootroot rootroot   4096 12月  5 11:57 lz4-dev/
-rwx------  1 rootroot rootroot 469710 12月 18 13:01 lz4-dev.zip*
rootroot@rootroot-MS-7885:~/lz4$ cd lz4-dev/
rootroot@rootroot-MS-7885:~/lz4/lz4-dev$ ll
total 124
drwxrwxr-x 12 rootroot rootroot  4096 12月  5 11:57 ./
drwxrwxr-x  3 rootroot rootroot  4096 12月 18 13:02 ../
-rw-rw-r--  1 rootroot rootroot  6098 12月  5 11:57 appveyor.yml
drwxrwxr-x  6 rootroot rootroot  4096 12月  5 11:57 build/
drwxrwxr-x  3 rootroot rootroot  4096 12月  5 11:57 .circleci/
-rw-rw-r--  1 rootroot rootroot    99 12月  5 11:57 .cirrus.yml
drwxrwxr-x  7 rootroot rootroot  4096 12月  5 11:57 contrib/
drwxrwxr-x  2 rootroot rootroot  4096 12月  5 11:57 doc/
drwxrwxr-x  2 rootroot rootroot  4096 12月  5 11:57 examples/
-rw-rw-r--  1 rootroot rootroot   348 12月  5 11:57 .gitattributes
drwxrwxr-x  4 rootroot rootroot  4096 12月  5 11:57 .github/
-rw-rw-r--  1 rootroot rootroot   353 12月  5 11:57 .gitignore
-rw-rw-r--  1 rootroot rootroot   630 12月  5 11:57 INSTALL
drwxrwxr-x  3 rootroot rootroot  4096 12月  5 11:57 lib/
-rw-rw-r--  1 rootroot rootroot   635 12月  5 11:57 LICENSE
-rw-rw-r--  1 rootroot rootroot  9319 12月  5 11:57 Makefile
-rw-rw-r--  1 rootroot rootroot  3304 12月  5 11:57 Makefile.inc
-rw-rw-r--  1 rootroot rootroot 17331 12月  5 11:57 NEWS
drwxrwxr-x  2 rootroot rootroot  4096 12月  5 11:57 ossfuzz/
drwxrwxr-x  2 rootroot rootroot  4096 12月  5 11:57 programs/
-rw-rw-r--  1 rootroot rootroot  5154 12月  5 11:57 README.md
drwxrwxr-x  3 rootroot rootroot  4096 12月  5 11:57 tests/
-rw-rw-r--  1 rootroot rootroot   814 12月  5 11:57 .travis.yml
rootroot@rootroot-MS-7885:~/lz4/lz4-dev$ 
rootroot@rootroot-MS-7885:~/lz4/lz4-dev$ 
rootroot@rootroot-MS-7885:~/lz4/lz4-dev$ git clone https://github.com/lz4/lz4.git
Cloning into 'lz4'...
^C
rootroot@rootroot-MS-7885:~/lz4/lz4-dev$ 
rootroot@rootroot-MS-7885:~/lz4/lz4-dev$ 
rootroot@rootroot-MS-7885:~/lz4/lz4-dev$ make
compiling static library
compiling dynamic library 1.9.4
creating versioned links
rootroot@rootroot-MS-7885:~/lz4/lz4-dev$ sudo make install
[sudo] password for rootroot: 
creating pkgconfig
Installing libraries in /usr/local/lib
Installing headers in /usr/local/include
lz4 libraries installed
Installing binaries in /usr/local/bin
Installing man pages in /usr/local/share/man/man1
lz4 installation completed
rootroot@rootroot-MS-7885:~/lz4/lz4-dev$ 
rootroot@rootroot-MS-7885:~/lz4/lz4-dev$ 


rootroot@rootroot-MS-7885:~/lz4/lz4-dev$ lz4
refusing to read from a console
rootroot@rootroot-MS-7885:~/lz4/lz4-dev$ lz4 --version
*** LZ4 command line interface 64-bits v1.9.4, by Yann Collet ***
rootroot@rootroot-MS-7885:~/lz4/lz4-dev$ lz4
refusing to read from a console
rootroot@rootroot-MS-7885:~/lz4/lz4-dev$ 
 

 

 

 

 

 

 

 

 

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/98643.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

Bootstrap5 小工具

Bootstrap 5 提供了很多有用的类来帮组我们快速实现效果&#xff0c;不需要重复写一些 CSS 代码。 背景颜色 设置不同元素的背景颜色时&#xff0c;需要通过 .text-* 类来设置匹配的文本颜色&#xff1a; 实例 <div class"p-3 mb-2 bg-primary text-white">.…

跟老韩学JAVA——IDEA基本使用和快捷键

1. IDEA介绍 2.IDEA下载和安装 这个博主的下载安装介绍的很详细了&#xff0c;我就不过多介绍了 3.IDEA的基本使用 1&#xff09;修改字体大小 File -> Settings -> Editor -> Font -> Size 2)修改字体变粗 3)修改背景颜色 4) 修改菜单栏字体大小 5&#xff…

滑动窗口思想练习题

文章目录1. 找到字符串中所有字母异位词做法一&#xff1a;采用两个数组分别记录字符出现频次做法二&#xff1a;采用diff记录s和p字符串中字符的频次差2. 串联所有单词的子串个人理解&#xff0c;如有异议&#xff0c;欢迎指正&#xff01;1. 找到字符串中所有字母异位词 题目…

XiaoMi手机MIX 2S线刷固件和刷入Recovery

mix 2s 固件下载地址 https://web.vip.miui.com/page/info/mio/mio/detail?postId4865868&app_versiondev.20051 miflash线刷工具下载地址 https://miuiver.com/miflash/ 安装miflash线刷工具 点击安装驱动 打开miflash 手机关机按音量下加开机键进入bootloader&#xf…

Spring boot整合rocketmq(windows)

目录 1.环境搭建 2.命名服务器和业务服务器的启动 3.名词说明 4.执行步骤 5.示例 1.导入依赖 2.配置(至少指定下面两个) 3.代码 6.常见问题 1.环境搭建 下载地址&#xff1a;https://rocketmq.apache.org/解压缩进行安装&#xff0c;默认服务端口&#xff1a;9876 环…

执行 select ... for update 语句,如果查询条件没有索引字段的话,是加行锁还是加表锁?

大家好&#xff0c;我是小林。 昨天在群里看到大家在讨论一个 MySQL 锁的问题&#xff0c;就是执行 select … for update 语句&#xff0c;如果查询条件没有索引字段的话&#xff0c;是加「行锁」还是加「表锁」&#xff1f; 如果你做过这个实验的话&#xff0c;你会发现执行…

数据结构刷题训练营1

开启蓝桥杯备战计划&#xff0c;每日练习算法一题&#xff01;&#xff01;坚持下去&#xff0c;想必下一年的蓝桥杯将会有你&#xff01;&#xff01; 笔者是在力扣上面进行的刷题&#xff01;&#xff01;由于是第一次刷题&#xff01;找到的题目也不咋样&#xff01;所以&a…

SPRING-了解3-注解

IOC容器操作Bean 注解格式&#xff1a;注解名称(属性名称属性值,属性名称属性值) 放在类&#xff0c;方法&#xff0c;属性都可以 目的&#xff1a;简化XML配置 对象创建四大注解 1&#xff09;用的位置不是强制的 Component 最普通 Service 用在service层 Controlle…

接口测试(十)—— telnet和python代码测试dubbo接口

目录 一、传智健康项目介绍 1、项目描述 2、目标用户群体 3、项目模块 4、系统框架 二、Dubbo接口测试 1、RPC 2、Dubbo 3、查阅API文档 三、Telnet工具远程调用 1、启用telnet 2、telnet远程连接服务 3、telnet调用服务接口 四、python借助dubbo远程调用 1、安…

MySQL~JDBC

10、JDBC&#xff08;重点&#xff09; 10.1、数据库驱动 驱动&#xff1a;声卡、显卡、数据库 我们的程序会通过 数据库 驱动&#xff0c;和数据库打交道&#xff01; 10.2、JDBC SUN公司为了简化 开发人员的&#xff08;对数据库的统一&#xff09;操作&#xff0c;提供了…

剑指offer常见题 - 链表问题(一)

二叉树相关算法 链表相关知识点&#xff1a; 链表是一种物理存储单元上非连续、非顺序的存储结构&#xff0c;数据元素的逻辑顺序是通过链表中的指针链接次序实现的。 知识点一&#xff1a;链表由一系列结点&#xff08;链表中每一个元素称为结点&#xff09;组成&#xff0c;…

IDEA中如何使用Vim?看完本教程,让你用IDEA用到爽~(建议收藏)

目录 前言 Vim有什么特点&#xff1f; 为什么我要安利你在 IEAD 中使用Vim? Vim 一、环境配置 二、Vim的使用 2.1、方向键 hjkl 2.2、​编辑复制&粘贴 2.3、选择代码块并删除 2.4、块级删除 2.5、各种插入模式 2.5.1、以下是gif演示 2.6、jump&#xff08;解放鼠…

毕业设计 stm32智能电子秤系统 - 物联网 嵌入式 单片机

文章目录0 前言1 简介2 主要器件3 实现效果4 设计原理4.1 STM32F103C8T64.2 HX711压力传感器5 部分核心代码6 最后0 前言 &#x1f525; 这两年开始毕业设计和毕业答辩的要求和难度不断提升&#xff0c;传统的毕设题目缺少创新和亮点&#xff0c;往往达不到毕业答辩的要求&…

【OpenCV】Ubuntu配置OpenCV环境

1.从官网下载opencv包拷贝到虚拟机Ubuntu中&#xff0c; 虚拟机与主机传输文件可以采用 vmware tool、共享文件夹或者远程连接工具 2.解压得到对应版本号文件夹&#xff0c;我的是opencv-3.4.2 3.修改文件权限chmod -R 777 opencv-3.4.2 从win10进入Ubuntu中的文件压缩包解…

2022年云南省—信息安全管理与评估赛项竞赛规程

2022年云南省职业院校技能大赛 信息安全管理与评估赛项竞赛规程 一、赛项名称 赛项编号&#xff1a;No.11 赛项名称&#xff1a;信息安全管理与评估 英语翻译&#xff1a;Information Security Management and Evaluation 赛项组别&#xff1a;高职组 赛项归属产业&a…

本周大新闻|John Carmack从Meta离职,OPPO发布双目AR一体机仅38g

本周大新闻&#xff0c;AR方面&#xff0c;微软已向客户承诺新款HoloLens&#xff1b;NASA成立Joint AR项目&#xff0c;计划在宇航服头盔中加入AR功能&#xff1b;OPPO Air Glass 2发布&#xff0c;双目光波导仅38g&#xff1b;Rokid开设全球首家品牌旗舰店&#xff1b;谷歌为…

【数据结构】二叉树的节点总个数、叶子节点个数、第K层节点个数、二叉树的深度

目录 1.结点总个数 1.1 局部静态变量法 思维 代码 不足之处 2.传指针法 程序代码 3.递归法 思想 程序代码 详细过程 2.叶子节点个数 思想 程序代码 3.第K层节点个数 思想 程序代码 4.二叉树深度 思想 程序代码 求二叉树节点总个数、叶子节点个数、第k层节点…

汀丶的创作纪念日

机缘 csdn的博龄5年了&#xff0c;但实际创作时间只有两年&#xff1b;第一次接触csdn主要是用来查找代码bug并收藏一些有价值博客&#xff0c;但渐渐地自己也就习惯把自己学到的知识和技术分享出来&#xff0c;一起共建。 主要是关于机器学习、强化学习、数据挖掘、强化学习以…

ADI Blackfin DSP处理器-BF533的开发详解62:DSP控制ADXL345三轴加速度传感器-贪食蛇游戏(含源码)

硬件准备 ADSP-EDU-BF533&#xff1a;BF533开发板 AD-HP530ICE&#xff1a;ADI DSP仿真器 软件准备 Visual DSP软件 硬件链接 MEMS三轴加速度传感器 我做了一个三轴加速度传感器的子卡&#xff0c;插在这个板子上&#xff0c;然后写了一些有意思的应用程序。 代码实现功能…

Bootstrap5 侧边栏导航(Offcanvas)

Bootstrap5 侧边栏侧边栏类似于模态框&#xff0c;在移动端设备中比较常用。 创建滑动导航 我们可以通过 JavaScript 来设置是否在 .offcanvas 类后面添加 .show 类&#xff0c;从而控制侧边栏的显示与隐藏&#xff1a; .offcanvas 隐藏内容 (默认).offcanvas.show 显示内容…