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

这篇具有很好参考价值的文章主要介绍了20221218解决在Ubuntu18.04下编译Firefly的Core-3588J出现lz4的问题。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

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$ 

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

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

 文章来源地址https://www.toymoban.com/news/detail-426576.html


百度搜索: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$ 
 

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

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

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

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

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

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

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

 

 

到了这里,关于20221218解决在Ubuntu18.04下编译Firefly的Core-3588J出现lz4的问题的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 虚拟机Ubuntu18.04忘记开机密码解决办法

    已经是3202年了,本着怕折腾的态度,仍然在硬扛Ubuntu18.04版本。有段时间未登虚拟机了,居然忘了密码😂。 因为里面还有之前的数据和文件,重新安装一个虚拟机就没必要了。检索到了很多帖子,有些能用有些不能用,也踩了点坑,现将自己的操作过程结合其他网友的帖子

    2024年02月09日
    浏览(55)
  • Ubuntu16.04升级到18.04--检查更新时出现问题--解决方法

    一开始装Ubuntu时装的是16.04,后来装cuda时,发现核是4.15的,需要升级到18.04,于是输入 sudo do-release-upgrade 更新时,发现错误: google后发现帖子: https://askubuntu.com/questions/1127896/failed-upgrade-from-17-10-to-18-04-no-module-named-distupgrade-distupgradever 想到先前曾经装过python3.7,代替了原装的

    2024年02月01日
    浏览(47)
  • Ubuntu 18.04上无法播放MP4格式视频解决办法

    ubuntu18.04系统无法播放MP4格式视频,提示如下图所示: 解决办法: 1、首先,确保ubuntu系统已完全更新。可使用以下命令更新软件包列表: sudo apt update ,然后使用以下命令升级所有已安装的软件包: sudo apt upgrade 2、接下来,安装Ubuntu Restricted Extras软件包,它提供了播放非免

    2024年02月08日
    浏览(43)
  • Linux Ubuntu18.04安装显卡驱动后,无法上网的问题解决

    由于跑程序需要,在Ubuntu18.04(双系统)上面安装nvidia显卡驱动, (我安装的是按照这个博客的教程来的:Ubuntu 18.04 安装NVIDIA显卡驱动+cuda 10.2+cudnn_ubuntu18.04安装cuda10.2_翟羽嚄的博客-CSDN博客安装了 nvidia-driver-470.161.03这个版本 ) 之后按照教程进行重启操作,然而重启后发现,

    2024年02月09日
    浏览(80)
  • ubuntu18.04图形界面卡死,鼠标键盘失灵, 通过MAC共享网络给Ubuntu解决!

    背景 故事的起因是pip install tensorflow-gpu, 出去上个厕所的功夫,回来页面就卡死了,重启了一下,死的更彻底了,在用户登陆页面鼠标和键盘都失灵了,根本无法输入密码然后进入系统。接下来讲下处理办法。 搜索出来很多的方案都是说可以 Ctrl+Alt+F1~F6 中的任意一个, 切换

    2024年04月15日
    浏览(48)
  • 虚拟机Ubuntu18.04安装对应ROS版本详细教程!(含错误提示解决)

    参考链接: Ubuntu18.04安装Ros(最新最详细亲测)_向日葵骑士Faraday的博客-CSDN博客 1.4 ROS的安装与配置_哔哩哔哩_bilibili ROS官网:http://wiki.ros.org/melodic/Installation/Ubuntu 安装ROS时会自动安装旧版的Cmake3.10.2。所以在安装Ros之前,需要先检查此先是否有安装Cmake。如果之前已经安装新版

    2024年02月02日
    浏览(71)
  • 解决Ubuntu18.04安装好搜狗输入法后无法打出中文的问题

    首先下载安装 搜狗拼音输入法 ,下载选择:  x86_64 在ubuntu中设置   fcitx 最后发现安装好了,图标有了 ,但是使用时不能输入中文,使用下面的命令解决:  

    2024年02月05日
    浏览(64)
  • 电脑安装双系统ubuntu18.04+windows后开机直接进入Windows解决方法

    电脑型号:联想拯救者 Y9000K2021H 系统: Windows11+Ubuntu18.04双系统 问题:笔记本安装双系统后,Windows系统下处理word或者看论文;Ubuntu18.04系统安装ros进行机械臂控制等的研究。 但最近开机后发现没有系统选项了,直接进入Windows系统 ,正常情况如下图所示: 解决办法: 笔记本

    2024年02月15日
    浏览(48)
  • 五步解决 Ubuntu 18.04 出现GLIBC_2.28 not found的解决方法

    Ubuntu 18.04 出现GLIBC_2.28 not found的解决方法 参考debian网址https://packages.debian.org/buster/并搜索想要的软件或者工具等,如libc6,有结果如下: 具体就不介绍了,请浏览官网了解。 第一步: 添加软件源,在 /etc/apt/sources.list 文件中的最后面追加下面这一行内容(参考官网): 第二步

    2024年02月20日
    浏览(47)
  • Ubuntu18.04 陷入登录循环的问题解决历程(输入正确密码后无限重回登录界面)

    大约三四天前的早晨,当我如往常一样准备开启ubuntu系统的时候,发现虽然出现了图形登录界面,但是输入正确密码后,黑屏了一小会儿后,又重新回到了登录界面——它陷入登录循环了。按 Ctrl + Alt + F2~F5 切换到对应数字的 tty 命令行界面,输入帐号密码可以正常登录,下面

    2023年04月16日
    浏览(74)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包