祝祝 发表于 2022-11-14 11:00:12

itx-RK3588J SDK编译Debian系统时,发生编译错误

复现步骤
一、 获取源码

1. 百度网盘获取 SDK rk3588_repo_sdk_v1.0.2a.7z
2.md5sum rk3588_repo_sdk_v1.0.2a.7z 计算结果和网盘中提供校验结果一致
3. 7z x rk3588_repo_sdk_v1.0.2a.7z
4. cd rk3588_repo_sdk_v1.0.2a
5. .repo/repo.repo sync -l
6. .repo/repo/repo start rk3588/firefly --all

二、搭建环境编译

编译 Debian 固件
搭建编译环境
1. 执行指令sudo apt-get install repo git ssh make gcc libssl-dev liblz4-tool \expect g++ patchelf chrpath gawk texinfo chrpath diffstat binfmt-support \qemu-user-static live-build bison flex fakeroot cmake gcc-multilib g++-multilibunzip \device-tree-compiler ncurses-dev \# sdk root dirsudo dpkg -i debian/ubuntu-build-service/packages/*sudo apt-get install -f2. 进入 rk3588_repo_sdk_v1.0.2a目录执行./build.sh itx-3588j-debian.mkmkdir -p ubuntu_rootfs
最后执行   sudo ./build.sh debian
此时报错
错误日志如下:

祝祝 发表于 2022-11-14 11:09:18

commit 信息如下git log
commit 44dbce6d646306671b81e297afb9973f2a905a71 (HEAD -> rk3588/firefly, tag: rk3588/linux_release_v1.0.2a, m/253gitlab)
Author: daijh <djh@t-chip.com.cn>
Date:   Wed Oct 12 09:37:46 2022 +0800

    driver: Fix the problem that the 100M switch is recognized as a 1000M network

commit f555a2cb385e04ac0144508393fd4f11a6328804
Author: daijh <djh@t-chip.com.cn>
Date:   Wed Oct 12 09:35:09 2022 +0800

    drivers: eth led compatiable 8211F-VD-CG

commit 122b9e8caf11041a7332344736abd50b19a639ee
Author: lvsx <lvsx@t-chip.com.cn>
Date:   Wed Oct 12 09:29:34 2022 +0800
:...skipping...
commit 44dbce6d646306671b81e297afb9973f2a905a71 (HEAD -> rk3588/firefly, tag: rk3588/linux_release_v1.0.2a, m/253gitlab)
Author: daijh <djh@t-chip.com.cn>
Date:   Wed Oct 12 09:37:46 2022 +0800

    driver: Fix the problem that the 100M switch is recognized as a 1000M network

commit f555a2cb385e04ac0144508393fd4f11a6328804
Author: daijh <djh@t-chip.com.cn>
Date:   Wed Oct 12 09:35:09 2022 +0800

    drivers: eth led compatiable 8211F-VD-CG

commit 122b9e8caf11041a7332344736abd50b19a639ee
Author: lvsx <lvsx@t-chip.com.cn>
Date:   Wed Oct 12 09:29:34 2022 +0800

    configs: improved docker options

commit 90a525e04d4f1305472d924c85d5361d71be2dab
Author: linmj <lmj@t-chip.com.cn>
Date:   Mon Oct 10 11:15:39 2022 +0800

    drivers: media: i2c :xc7160.c fix mipi camera turns on too slowly

commit 528eedb5e87f7c86e9c019bb487e2641d7ead26a
Author: lvsx <lvsx@t-chip.com.cn>
Date:   Thu Sep 29 10:37:30 2022 +0800

    configs: improve docker support
:

麻烦解决下,谢谢!

Liuth 发表于 2022-11-14 14:32:40

这个我遇到过,是ubuntu版本的问题
我用docker创建一个ubuntu21的环境来编译就可以了

祝祝 发表于 2022-11-14 17:15:13

Liuth 发表于 2022-11-14 14:32
这个我遇到过,是ubuntu版本的问题
我用docker创建一个ubuntu21的环境来编译就可以了

谢谢,那我试试,wiki上推荐用的是18.04

Liuth 发表于 2022-11-15 09:19:39

祝祝 发表于 2022-11-14 17:15
谢谢,那我试试,wiki上推荐用的是18.04

用SDK编译ubuntu和buildroot固件,ubuntu18就可以
编译debian的话估计不行

祝祝 发表于 2022-11-15 10:03:54

{:4_96:}
页: [1]
查看完整版本: itx-RK3588J SDK编译Debian系统时,发生编译错误