yunsur / phicomm-n1

Armian for Phicomm N1
GNU General Public License v2.0
193 stars 75 forks source link

Problem found in ... #21

Closed gzxief closed 2 years ago

gzxief commented 2 years ago

新代码编译不成功,上一个版本只能编译5.15.60以下的版本

yunsur commented 2 years ago

请尝试dev分支,周末我试试

gzxief commented 2 years ago

就是DEV分支

yunsur commented 2 years ago

我提代码时的内核版本是可以正常编译过的。谢谢反馈

gzxief commented 2 years ago

make[1]: Leaving directory '/root/build/hostapd-realtek' dpkg-source: info: using options from hostapd-realtek/debian/source/options: --compression=xz --compression-level=6 dpkg-source: info: unapplying realtek.patch dpkg-source: info: unapplying 300-noscan.patch dpkg-source: info: unapplying session-ticket.patch dpkg-buildpackage: info: binary-only upload (no source included) [ o.k. ] Done building [ hostapd-realtek focal/arm64 ] hostapd-realtek_2.5-4~armbian22.08.2+1_arm64.deb [ o.k. ] Build time hostapd-realtek [ 801 sec. ] [ o.k. ] Starting package building process [ focal/amd64 ] [ o.k. ] Creating build chroot [ focal/amd64 ] I: Retrieving InRelease I: Checking Release signature I: Valid Release signature (key id F6ECB3762474EDA9D21B7022871920D1991BC93C) I: Retrieving Packages I: Retrieving Packages I: Retrieving Packages E: Couldn't download http://localhost:3142/mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/focal/main/binary-amd64/Packages [ error ] ERROR in function create_chroot [ main.sh:588 -> main.sh:545 -> chroot-buildpackages.sh:194 -> chroot-buildpackages.sh:68 -> general.sh:0 ] [ error ] Create chroot first stage failed [ o.k. ] Process terminated

gzxief commented 2 years ago

不明白的是,编译bullseys会变成编译focal了

birdxs commented 2 years ago

10月22日实体机ubuntu22.04.1 LTS按照大佬提供的编译实例编译过程也报内核编译错误而停止 CC [M] net/openvswitch/vport-netdev.o CC [M] net/openvswitch/conntrack.o CC [M] net/openvswitch/vport-vxlan.o CC [M] net/openvswitch/vport-geneve.o CC [M] net/openvswitch/vport-gre.o AR net/built-in.a LD [M] net/openvswitch/openvswitch.o scripts/extract-cert.c: In function ‘display_openssl_errors’: scripts/extract-cert.c:46:9: warning: ‘ERR_get_error_line’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 46 | while ((e = ERR_get_error_line(&file, &line))) { 411 | unsigned long ERR_get_error_line(const char *file, int line); scripts/extract-cert.c: In function ‘drain_openssl_errors’: scripts/extract-cert.c:59:9: warning: ‘ERR_get_error_line’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 59 | while (ERR_get_error_line(&file, &line)) {} 411 | unsigned long ERR_get_error_line(const char *file, int line); drivers/video/fbdev/core/fbcon.c:1919:11: 错误: implicit declaration of function ‘fb_scrollmode’; did you mean ‘fb_find_mode’? [-Werror=implicit-function-declaration] [ error ] ERROR in function compile_kernel [ main.sh:588 -> main.sh:489 -> compilation.sh:508 -> general.sh:0 ] [ error ] Kernel was not built [ @host ] [ o.k. ] Process terminated root@steven-pc:/home/steven/phicomm-n1#

birdxs commented 2 years ago

Screenshot_20221029_000910_com huawei browser 试了下云编译,仍然报错。。。