20250430在ubuntu14.04.6系統上完成編譯NanoPi NEO開發板的FriendlyCore系統【嚴重不推薦,屬于沒苦硬吃】

【開始編譯SDK之前需要更新源】
rootroot@ubuntu:~/friendlywrt-h3$ sudo apt update
【這兩個目錄你在ubuntu14.04.6系統上貌似git clone異常了】
Y:\friendlywrt-h3\out\wireguard
Y:\friendlywrt-h3\kernel\exfat-nofuse

【需要單線程編譯文件系統,原因不明】
Y:\friendlywrt-h3\scripts\mk-friendlywrt.sh
#make -j$(nproc) V=s
make -j1 V=s


20250430在ubuntu14.04.6系統上完成編譯NanoPi NEO開發板的FriendlyCore系統【嚴重不推薦,屬于沒苦硬吃】
2025/4/30 15:49


緣起:1、在ubuntu14.04下git clone異常該如何處理呢?

2、請問 現在 編譯NanoPi NEO的FriendlyCore系統使用ubuntu哪一個版本比較好?
ubuntu14.04 編譯異常/下載不了:./build.sh kernel ?正克隆到 'wireguard'...【編譯正常:./build.sh uboot ?./build.sh friendlywrt】
ubuntu16.04 沒有來得及測試 【友善之臂的陳工說可以】
ubuntu18.04 沒有來得及測試 【實測OK】
ubuntu20.04 ?編譯異常:./build.sh friendlywrt
ubuntu22.04 ?編譯異常:./build.sh uboot multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here

https://wiki.friendlyelec.com/wiki/index.php/NanoPi_NEO/zh
NanoPi NEO/zh

7 如何編譯FriendlyCore系統
7.1 使用開源社區主線BSP
7.2 使用全志原廠BSP
7.2.1 準備工作
7.2.2 安裝交叉編譯器
7.2.3 編譯lichee源碼
7.2.4 編譯U-boot
7.2.5 編譯Linux內核
7.2.6 清理lichee源碼


百度:ubuntu20.04 安裝 vmware 的哪一個版本?

VMware Workstation 16 Player
?在Ubuntu 20.04推薦使用VMware Workstation 16 Player進行安裝?。這個版本能夠很好地支持Ubuntu 20.04,并且不會出現不兼容的情況?
1。

安裝步驟
?下載VMware Workstation 16 Player?:可以從VMware的官方網站下載該版本的安裝包。
?創建新虛擬機?:打開VMware Workstation 16 Player,選擇創建新虛擬機,然后選擇稍后安裝操作系統。
?選擇操作系統?:選擇Linux,并指定版本為Ubuntu。
?選擇系統存儲位置?:選擇一個合適的存儲位置,并設置最大磁盤大小。
?自定義硬件設置?:選擇使用ISO映像文件,并瀏覽選擇下載的Ubuntu 20.04 ISO映像文件。
?完成虛擬機創建?:設置完成后,點擊完成,然后播放虛擬機,按照提示進行安裝?
2。
通過以上步驟,你可以成功在VMware Workstation 16 Player上安裝Ubuntu 20.04,并享受穩定和兼容的使用體驗。


安裝VMware Workstation 17可以完成。但是啟動的時候會讓你安裝gcc12以便編譯VMware Workstation 17附加的模塊?^_
直接安裝VMware Workstation 16以免額外的工作量。還有就是編譯服務器,不方便經常切換編譯器!


【ubuntu14.04.6不需要拿掉apt在啟動之后自動更新】
處理辦法1:
最簡單的,直接關閉自動更新:

sudo nano /etc/apt/apt.conf.d/20auto-upgrades
把值改為0

代碼語言:txt
復制
APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Unattended-Upgrade "0";


rootroot@ubuntu:~$ sudo apt install openssh-server
rootroot@ubuntu:~$ sudo apt install terminator
rootroot@ubuntu:~$ sudo apt install samba
rootroot@ubuntu:~/friendlywrt-h3$ sudo apt install gawk
rootroot@ubuntu:~/friendlywrt-h3$ sudo apt install ncurses*
rootroot@ubuntu:~/friendlywrt-h3$ sudo apt-get install exfat-utils exfat-fuse
rootroot@ubuntu:~/friendlywrt-h3$ sudo apt install git
rootroot@ubuntu:~/friendlywrt-h3$ sudo apt-get install u-boot-tools
rootroot@ubuntu:~/friendlywrt-h3$ sudo apt-get install net-tools
【看網速不行】
rootroot@ubuntu:~/friendlywrt-h3$ sudo apt-get install nethogs
rootroot@ubuntu:~/friendlywrt-h3$ sudo apt install gcc
rootroot@ubuntu:~/friendlywrt-h3$ sudo apt install g++
rootroot@ubuntu:~/friendlywrt-h3$ sudo apt-get install build-essential


rootroot@rootroot-Lenovo-IdeaPad-S410:/etc/samba$ sudo cp smb.conf smb.conf.bak1
rootroot@rootroot-Lenovo-IdeaPad-S410:/etc/samba$ sudo vi smb.conf
最后面加入:
sudo echo "[rootroot]" >> smb.conf
sudo echo "comment=rootroot Shared Folder" >> smb.conf
sudo echo "path=/" >> smb.conf
sudo echo "#public=yes" >> smb.conf
sudo echo "writable=yes" >> smb.conf
sudo echo "#readonly=yes" >> smb.conf
sudo echo "valid users=rootroot" >> smb.conf
sudo echo "create mask=0700" >> smb.conf
sudo echo "directory mask=0700" >> smb.conf
sudo echo "available=yes" >> smb.conf
sudo echo "browseable=yes" >> smb.conf


rootroot@rootroot-Lenovo-IdeaPad-S410:/etc/samba$ sudo smbpasswd -a rootroot
New SMB password:
Retype new SMB password:
Added user rootroot.
rootroot@rootroot-Lenovo-IdeaPad-S410:/etc/samba$?


整理過的步驟:
【請嚴重注意,在你編譯之前,請務必不要刪除.repo目錄】
rootroot@ubuntu:~$ cd 07_源代碼/
rootroot@ubuntu:~/07_源代碼$ ll
rootroot@ubuntu:~/07_源代碼$ tar xvf friendlywrt-h3-20200417.tar?
rootroot@ubuntu:~/07_源代碼$ mv friendlywrt-h3/ ..
rootroot@ubuntu:~/07_源代碼$ cd ..
rootroot@ubuntu:~$ cd friendlywrt-h3/
rootroot@ubuntu:~/friendlywrt-h3$ ll
rootroot@ubuntu:~/friendlywrt-h3$ cd pre-download/
rootroot@ubuntu:~/friendlywrt-h3/pre-download$ ll
rootroot@ubuntu:~/friendlywrt-h3/pre-download$ ./unpack.sh?
rootroot@ubuntu:~/friendlywrt-h3/pre-download$ ll
rootroot@ubuntu:~/friendlywrt-h3/pre-download$ cd ..
rootroot@ubuntu:~/friendlywrt-h3$ ./build.sh nanopi_neo_core.mk
? ./build.sh uboot ? ? ? ? ? ? ?-build uboot only
? ./build.sh kernel ? ? ? ? ? ? -build kernel only
? ./build.sh friendlywrt ? ? ? ?-build friendlywrt rootfs only
? ./build.sh sd-img ? ? ? ? ? ? -pack sd-card image, used to create bootable SD card
? ./build.sh emmc-img ? ? ? ? ? -pack sd-card image, used to write friendlywrt to emmc


?

rootroot@ubuntu:~$ cd 07_源代碼/
rootroot@ubuntu:~/07_源代碼$ ll
total 4141320
drwxr-xr-x ?2 rootroot rootroot ? ? ? 4096 Apr 28 06:18 ./
drwxr-xr-x 16 rootroot rootroot ? ? ? 4096 Apr 28 06:15 ../
-rw-r--r-- ?1 rootroot rootroot 4078520320 Apr 24 08:43 friendlywrt-h3-20200417.tar
-rw-r--r-- ?1 rootroot rootroot ? ? ? ? 62 Apr 24 08:32 friendlywrt-h3-20200417.tar.hash.md5
-rw-r--r-- ?1 rootroot rootroot ?162164494 Apr 24 08:33 linux-kernel-h3-4.14.111-ec36a7d-20231212.tgz
-rw-r--r-- ?1 rootroot rootroot ? ? ? ? 80 Apr 24 08:32 linux-kernel-h3-4.14.111-ec36a7d-20231212.tgz.hash.md5
-rw-r--r-- ?1 rootroot rootroot ? ? ? ?844 Apr 24 08:32 sources.txt
rootroot@ubuntu:~/07_源代碼$ tar xvf friendlywrt-h3-20200417.tar?
friendlywrt-h3/
friendlywrt-h3/pre-download/
friendlywrt-h3/pre-download/friendlywrt-feeds-r19.07.1.tgz
friendlywrt-h3/pre-download/eflasher.tgz
friendlywrt-h3/pre-download/friendlywrt-dl-r19.07.1.tgz
friendlywrt-h3/pre-download/unpack.sh
friendlywrt-h3/.repo/
friendlywrt-h3/.repo/project-objects/
friendlywrt-h3/.repo/project-objects/friendlywrt.git/


drwxr-xr-x ?2 rootroot rootroot 4096 Apr 28 05:52 Pictures/
-rw-r--r-- ?1 rootroot rootroot ?807 Apr 28 05:46 .profile
drwxr-xr-x ?2 rootroot rootroot 4096 Apr 28 05:52 Public/
drwx------ ?2 rootroot rootroot 4096 Apr 28 05:56 .ssh/
-rw-r--r-- ?1 rootroot rootroot ? ?0 Apr 28 05:57 .sudo_as_admin_successful
drwxr-xr-x ?2 rootroot rootroot 4096 Apr 28 05:52 Templates/
drwxr-xr-x ?2 rootroot rootroot 4096 Apr 28 05:52 Videos/
-rw------- ?1 rootroot rootroot ? 52 Apr 28 06:10 .Xauthority
rootroot@ubuntu:~$ cd friendlywrt-h3/
rootroot@ubuntu:~/friendlywrt-h3$ ll
total 16
drwxrwxr-x ?4 rootroot rootroot 4096 Apr 17 ?2020 ./
drwxr-xr-x 17 rootroot rootroot 4096 Apr 28 06:19 ../
drwxrwxr-x ?2 rootroot rootroot 4096 Apr 17 ?2020 pre-download/
drwxrwxr-x ?7 rootroot rootroot 4096 Apr 17 ?2020 .repo/
rootroot@ubuntu:~/friendlywrt-h3$ .repo/repo/repo sync -l
Checking out files: 100% (61515/61515), done.
Syncing work tree: 100% (8/8), done. ?

rootroot@ubuntu:~/friendlywrt-h3$ ll
total 44
drwxrwxr-x 11 rootroot rootroot 4096 Apr 28 06:19 ./
drwxr-xr-x 17 rootroot rootroot 4096 Apr 28 06:19 ../
lrwxrwxrwx ?1 rootroot rootroot ? 16 Apr 28 06:19 build.sh -> scripts/build.sh*
drwxrwxr-x ?3 rootroot rootroot 4096 Apr 28 06:19 configs/
drwxrwxr-x ?3 rootroot rootroot 4096 Apr 28 06:19 device/
drwxrwxr-x 12 rootroot rootroot 4096 Apr 28 06:19 friendlywrt/
drwxrwxr-x 26 rootroot rootroot 4096 Apr 28 06:19 kernel/
lrwxrwxrwx ?1 rootroot rootroot ? 19 Apr 28 06:19 out -> scripts/sd-fuse/out/
drwxrwxr-x ?2 rootroot rootroot 4096 Apr 17 ?2020 pre-download/
drwxrwxr-x ?7 rootroot rootroot 4096 Apr 17 ?2020 .repo/
drwxrwxr-x ?4 rootroot rootroot 4096 Apr 28 06:19 scripts/
drwxrwxr-x ?5 rootroot rootroot 4096 Apr 28 06:19 toolchain/
drwxrwxr-x 25 rootroot rootroot 4096 Apr 28 06:19 u-boot/
rootroot@ubuntu:~/friendlywrt-h3$ cd pre-download/
rootroot@ubuntu:~/friendlywrt-h3/pre-download$ ll
total 960356
drwxrwxr-x ?2 rootroot rootroot ? ? ?4096 Apr 17 ?2020 ./
drwxrwxr-x 11 rootroot rootroot ? ? ?4096 Apr 28 06:19 ../
-rw-rw-r-- ?1 rootroot rootroot 228172949 Apr 14 ?2020 eflasher.tgz
-rw-rw-r-- ?1 rootroot rootroot 650028048 Apr 17 ?2020 friendlywrt-dl-r19.07.1.tgz
-rw-rw-r-- ?1 rootroot rootroot 105179079 Apr 17 ?2020 friendlywrt-feeds-r19.07.1.tgz
-rwxr-xr-x ?1 rootroot rootroot ? ? ? 280 Apr 17 ?2020 unpack.sh*
rootroot@ubuntu:~/friendlywrt-h3/pre-download$ ./unpack.sh?
done.
rootroot@ubuntu:~/friendlywrt-h3/pre-download$ ll


? ./build.sh nanopi_duo2.mk
? ./build.sh nanopi_neo_core.mk
? ./build.sh nanopi_r1.mk
? ./build.sh nanopi_neo_air.mk
? ./build.sh nanopi_r1s_h3.mk
? ./build.sh zeropi.mk
? ./build.sh nanopi_m1_plus.mk
? ./build.sh nanopi_neo.mk
? ./build.sh nanopi_m1.mk
? ./build.sh nanopi_neo_s.mk

# build module:?
? ./build.sh all ? ? ? ? ? ? ? ?-build all
? ./build.sh uboot ? ? ? ? ? ? ?-build uboot only
? ./build.sh kernel ? ? ? ? ? ? -build kernel only
? ./build.sh friendlywrt ? ? ? ?-build friendlywrt rootfs only
? ./build.sh sd-img ? ? ? ? ? ? -pack sd-card image, used to create bootable SD card
? ./build.sh emmc-img ? ? ? ? ? -pack sd-card image, used to write friendlywrt to emmc
# clean
? ./build.sh cleanall

rootroot@ubuntu:~/friendlywrt-h3$?
rootroot@ubuntu:~/friendlywrt-h3$?
rootroot@ubuntu:~/friendlywrt-h3$?
rootroot@ubuntu:~/friendlywrt-h3$ ./build.sh nanopi_neo_core.mk
using config device/friendlyelec/h3/nanopi_neo_core.mk
[INFO]: installing toolchain: arm-linux-gcc 4.9.3 ?
[sudo] password for rootroot:?
Sorry, try again.
[sudo] password for rootroot:?
[INFO]: installing toolchain: aarch-linux-gcc 6.4 ?
============Start building uboot============
SRC ? ? ? ? ? ? ? ?= /home/rootroot/friendlywrt-h3/u-boot
TARGET_ARCH ? ? ? ?= arm
TARGET_PLAT ? ? ? ?= h3
TARGET_UBOOT_CONFIG=nanopi_h3_defconfig
TARGET_OSNAME ? ? = friendlywrt_4.14_armhf
=========================================
uboot src: /home/rootroot/friendlywrt-h3/u-boot
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
rootroot@ubuntu:~/friendlywrt-h3$?


完整的LOG:
會出錯的地方:

rootroot@ubuntu:~/friendlywrt-h3$?
rootroot@ubuntu:~/friendlywrt-h3$ ./build.sh nanopi_neo_core.mk
using config device/friendlyelec/h3/nanopi_neo_core.mk
[INFO]: installing toolchain: arm-linux-gcc 4.9.3 ?
[INFO]: installing toolchain: aarch-linux-gcc 6.4 ?
============Start building uboot============
SRC ? ? ? ? ? ? ? ?= /home/rootroot/friendlywrt-h3/u-boot
TARGET_ARCH ? ? ? ?= arm
TARGET_PLAT ? ? ? ?= h3
TARGET_UBOOT_CONFIG=nanopi_h3_defconfig
TARGET_OSNAME?? ? = friendlywrt_4.14_armhf
=========================================
uboot src: /home/rootroot/friendlywrt-h3/u-boot
Reading package lists... Done
Building dependency tree ? ? ??
Reading state information... Done
The following package was automatically installed and is no longer required:
? libc6-dbg
Use 'apt-get autoremove' to remove it.
The following NEW packages will be installed:
? android-tools-fsutils
0 upgraded, 1 newly installed, 0 to remove and 52 not upgraded.
Need to get 65.6 kB of archives.
After this operation, 493 kB of additional disk space will be used.
0% [Connecting to us.archive.ubuntu.com (91.189.91.81)]^Crootroot@ubuntu:~/friendlywrt-h3$ ^C
rootroot@ubuntu:~/friendlywrt-h3$?
rootroot@ubuntu:~/friendlywrt-h3$?
rootroot@ubuntu:~/friendlywrt-h3$ sudo apt update
Hit http://security.ubuntu.com trusty-security InRelease
Ign http://us.archive.ubuntu.com trusty InRelease ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
Hit http://security.ubuntu.com trusty-security/main Sources
Ign http://extras.ubuntu.com trusty InRelease ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
Hit http://us.archive.ubuntu.com trusty-updates InRelease ? ? ? ? ? ? ? ? ? ? ?
Hit http://security.ubuntu.com trusty-security/restricted Sources ? ? ? ? ? ? ?
Hit http://extras.ubuntu.com trusty Release.gpg ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
Hit http://us.archive.ubuntu.com trusty-backports InRelease ? ? ? ? ??
Hit http://security.ubuntu.com trusty-security/universe Sources ? ? ? ? ? ? ? ?
Hit http://extras.ubuntu.com trusty Release ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
Hit http://us.archive.ubuntu.com trusty Release.gpg ? ? ? ? ? ? ? ? ? ?
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Hit http://extras.ubuntu.com trusty/main Sources ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
Hit http://us.archive.ubuntu.com trusty-updates/main Sources ? ? ? ? ?
Hit http://security.ubuntu.com trusty-security/main amd64 Packages ? ? ? ? ? ??
Hit http://extras.ubuntu.com trusty/main amd64 Packages ? ? ? ? ? ? ? ? ? ? ? ?
Hit http://us.archive.ubuntu.com trusty-updates/restricted Sources ? ? ? ? ? ??
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages ? ? ??
Hit http://extras.ubuntu.com trusty/main i386 Packages ? ? ? ? ? ? ? ? ? ? ? ??
Hit http://us.archive.ubuntu.com trusty-updates/universe Sources ? ? ? ? ? ? ??
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages ? ? ? ??
Hit http://us.archive.ubuntu.com trusty-updates/multiverse Sources ? ? ? ? ? ??
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages ? ? ??
Hit http://security.ubuntu.com trusty-security/main i386 Packages ? ? ? ? ? ? ?
Hit http://us.archive.ubuntu.com trusty-updates/main amd64 Packages ? ? ? ? ? ?
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages ? ? ? ?
Hit http://us.archive.ubuntu.com trusty-updates/restricted amd64 Packages ? ? ?
Hit http://security.ubuntu.com trusty-security/universe i386 Packages ? ? ? ? ?
Hit http://us.archive.ubuntu.com trusty-updates/universe amd64 Packages ? ? ? ?
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages ? ? ? ?
Hit http://us.archive.ubuntu.com trusty-updates/multiverse amd64 Packages ? ? ?
Hit http://security.ubuntu.com trusty-security/main Translation-en ? ? ? ? ? ??
Hit http://us.archive.ubuntu.com trusty-updates/main i386 Packages ? ? ? ? ? ??
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en ? ? ??
Hit http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages ? ? ??
Hit http://security.ubuntu.com trusty-security/restricted Translation-en ? ? ??
Hit http://us.archive.ubuntu.com trusty-updates/universe i386 Packages ? ? ? ??
Hit http://security.ubuntu.com trusty-security/universe Translation-en ? ? ? ??
Hit http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages
Hit http://us.archive.ubuntu.com trusty-updates/main Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en_US ? ? ? ? ? ? ? ?
Hit http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en ? ? ? ? ? ? ? ? ?
Hit http://us.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/main Sources
Hit http://us.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://us.archive.ubuntu.com trusty-backports/universe Sources
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://us.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://us.archive.ubuntu.com trusty-backports/restricted amd64 Packages ? ?
Hit http://us.archive.ubuntu.com trusty-backports/universe amd64 Packages ? ? ?
Hit http://us.archive.ubuntu.com trusty-backports/multiverse amd64 Packages ? ?
Hit http://us.archive.ubuntu.com trusty-backports/main i386 Packages ? ? ? ? ??
Hit http://us.archive.ubuntu.com trusty-backports/restricted i386 Packages ? ??
Hit http://us.archive.ubuntu.com trusty-backports/universe i386 Packages ? ? ??
Hit http://us.archive.ubuntu.com trusty-backports/multiverse i386 Packages ? ??
Hit http://us.archive.ubuntu.com trusty-backports/main Translation-en ? ? ? ? ?
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en ? ?
Hit http://us.archive.ubuntu.com trusty-backports/restricted Translation-en ? ?
Hit http://us.archive.ubuntu.com trusty-backports/universe Translation-en ? ? ?
Hit http://us.archive.ubuntu.com trusty Release ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
Hit http://us.archive.ubuntu.com trusty/main Sources ? ? ? ? ? ? ? ? ? ? ? ? ??
Hit http://us.archive.ubuntu.com trusty/restricted Sources ? ? ? ? ? ? ? ? ? ??
Hit http://us.archive.ubuntu.com trusty/universe Sources ? ? ? ? ? ? ? ? ? ? ??
Hit http://us.archive.ubuntu.com trusty/multiverse Sources ? ? ? ? ? ? ? ? ? ??
Hit http://us.archive.ubuntu.com trusty/main amd64 Packages ? ? ? ? ? ? ? ? ? ?
Hit http://us.archive.ubuntu.com trusty/restricted amd64 Packages ? ? ? ? ? ? ?
Hit http://us.archive.ubuntu.com trusty/universe amd64 Packages ? ? ? ? ? ? ? ?
Hit http://us.archive.ubuntu.com trusty/multiverse amd64 Packages ? ? ? ? ? ? ?
Hit http://us.archive.ubuntu.com trusty/main i386 Packages ? ? ? ? ? ? ? ? ? ??
Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages ? ? ? ? ? ? ??
Hit http://us.archive.ubuntu.com trusty/universe i386 Packages ? ? ? ? ? ? ? ??
Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages ? ? ? ? ? ? ??
Hit http://us.archive.ubuntu.com trusty/main Translation-en ? ? ? ? ? ? ? ? ? ?
Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en ? ? ? ? ? ? ?
Hit http://us.archive.ubuntu.com trusty/restricted Translation-en ? ? ? ? ? ? ?
Hit http://us.archive.ubuntu.com trusty/universe Translation-en ? ? ? ? ? ? ? ?
Ign http://us.archive.ubuntu.com trusty/main Translation-en_US ? ? ? ? ? ? ? ??
Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US ? ? ? ? ??
Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US ? ? ? ? ??
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US ? ? ? ? ? ??
Reading package lists... Done ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
rootroot@ubuntu:~/friendlywrt-h3$?
rootroot@ubuntu:~/friendlywrt-h3$?
rootroot@ubuntu:~/friendlywrt-h3$?
rootroot@ubuntu:~/friendlywrt-h3$ ./build.sh nanopi_neo_core.mk
using config device/friendlyelec/h3/nanopi_neo_core.mk
============Start building uboot============
SRC ? ? ? ? ? ? ? ?= /home/rootroot/friendlywrt-h3/u-boot
TARGET_ARCH ? ? ? ?= arm
TARGET_PLAT ? ? ? ?= h3
TARGET_UBOOT_CONFIG=nanopi_h3_defconfig
TARGET_OSNAME?? ? = friendlywrt_4.14_armhf
=========================================
uboot src: /home/rootroot/friendlywrt-h3/u-boot
Reading package lists... Done
Building dependency tree ? ? ??
Reading state information... Done
The following package was automatically installed and is no longer required:
? libc6-dbg
Use 'apt-get autoremove' to remove it.
The following NEW packages will be installed:
? android-tools-fsutils
0 upgraded, 1 newly installed, 0 to remove and 52 not upgraded.
Need to get 65.6 kB of archives.
After this operation, 493 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/main android-tools-fsutils amd64 4.2.2+git20130218-3ubuntu23 [65.6 kB]
Fetched 65.6 kB in 1s (45.3 kB/s) ? ? ? ? ? ? ? ?

Selecting previously unselected package android-tools-fsutils.
(Reading database ... 189748 files and directories currently installed.)
Preparing to unpack .../android-tools-fsutils_4.2.2+git20130218-3ubuntu23_amd64.deb ...
Unpacking android-tools-fsutils (4.2.2+git20130218-3ubuntu23) ...
Setting up android-tools-fsutils (4.2.2+git20130218-3ubuntu23) ...

Reading package lists... Done
Building dependency tree ? ? ??
Reading state information... Done
The following package was automatically installed and is no longer required:
? libc6-dbg
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
? swig2.0
Suggested packages:
? swig-doc swig-examples swig2.0-examples swig2.0-doc
The following NEW packages will be installed:
? swig swig2.0
0 upgraded, 2 newly installed, 0 to remove and 52 not upgraded.
Need to get 881 kB of archives.
After this operation, 4,412 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/main swig2.0 amd64 2.0.11-1ubuntu2 [875 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty/main swig amd64 2.0.11-1ubuntu2 [6,272 B]
Fetched 881 kB in 2s (385 kB/s) ?

Selecting previously unselected package swig2.0.
(Reading database ... 189760 files and directories currently installed.)
Preparing to unpack .../swig2.0_2.0.11-1ubuntu2_amd64.deb ...
Unpacking swig2.0 (2.0.11-1ubuntu2) ...
Selecting previously unselected package swig.
Preparing to unpack .../swig_2.0.11-1ubuntu2_amd64.deb ...
Unpacking swig (2.0.11-1ubuntu2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up swig2.0 (2.0.11-1ubuntu2) ...
Setting up swig (2.0.11-1ubuntu2) ...

Reading package lists... Done
Building dependency tree ? ? ??
Reading state information... Done
The following package was automatically installed and is no longer required:
? libc6-dbg
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
? libexpat1-dev libpython-dev libpython2.7-dev libpython3-dev libpython3.4-dev
? python2.7-dev python3.4-dev
The following NEW packages will be installed:
? libexpat1-dev libpython-dev libpython2.7-dev libpython3-dev libpython3.4-dev
? python-dev python2.7-dev python3-dev python3.4-dev
0 upgraded, 9 newly installed, 0 to remove and 52 not upgraded.
Need to get 40.6 MB of archives.
After this operation, 65.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libexpat1-dev amd64 2.1.0-4ubuntu1.4 [115 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libpython2.7-dev amd64 2.7.6-8ubuntu0.5 [22.0 MB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libpython3.4-dev amd64 3.4.3-1ubuntu1~14.04.7 [17.8 MB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ trusty/main libpython-dev amd64 2.7.5-5ubuntu3 [7,078 B]
Get:5 http://us.archive.ubuntu.com/ubuntu/ trusty/main libpython3-dev amd64 3.4.0-0ubuntu2 [7,002 B]
Get:6 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main python2.7-dev amd64 2.7.6-8ubuntu0.5 [269 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ trusty/main python-dev amd64 2.7.5-5ubuntu3 [1,166 B]
Get:8 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main python3.4-dev amd64 3.4.3-1ubuntu1~14.04.7 [421 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu/ trusty/main python3-dev amd64 3.4.0-0ubuntu2 [1,192 B]
Fetched 40.6 MB in 13s (3,076 kB/s) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

Selecting previously unselected package libexpat1-dev:amd64.
(Reading database ... 190389 files and directories currently installed.)
Preparing to unpack .../libexpat1-dev_2.1.0-4ubuntu1.4_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.1.0-4ubuntu1.4) ...
Selecting previously unselected package libpython2.7-dev:amd64.
Preparing to unpack .../libpython2.7-dev_2.7.6-8ubuntu0.5_amd64.deb ...
Unpacking libpython2.7-dev:amd64 (2.7.6-8ubuntu0.5) ...
Selecting previously unselected package libpython3.4-dev:amd64.
Preparing to unpack .../libpython3.4-dev_3.4.3-1ubuntu1~14.04.7_amd64.deb ...
Unpacking libpython3.4-dev:amd64 (3.4.3-1ubuntu1~14.04.7) ...
Selecting previously unselected package libpython-dev:amd64.
Preparing to unpack .../libpython-dev_2.7.5-5ubuntu3_amd64.deb ...
Unpacking libpython-dev:amd64 (2.7.5-5ubuntu3) ...
Selecting previously unselected package libpython3-dev:amd64.
Preparing to unpack .../libpython3-dev_3.4.0-0ubuntu2_amd64.deb ...
Unpacking libpython3-dev:amd64 (3.4.0-0ubuntu2) ...
Selecting previously unselected package python2.7-dev.
Preparing to unpack .../python2.7-dev_2.7.6-8ubuntu0.5_amd64.deb ...
Unpacking python2.7-dev (2.7.6-8ubuntu0.5) ...
Selecting previously unselected package python-dev.
Preparing to unpack .../python-dev_2.7.5-5ubuntu3_amd64.deb ...
Unpacking python-dev (2.7.5-5ubuntu3) ...
Selecting previously unselected package python3.4-dev.
Preparing to unpack .../python3.4-dev_3.4.3-1ubuntu1~14.04.7_amd64.deb ...
Unpacking python3.4-dev (3.4.3-1ubuntu1~14.04.7) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../python3-dev_3.4.0-0ubuntu2_amd64.deb ...
Unpacking python3-dev (3.4.0-0ubuntu2) ...
Processing triggers for doc-base (0.10.5) ...
Processing 1 added doc-base file...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libexpat1-dev:amd64 (2.1.0-4ubuntu1.4) ...
Setting up libpython2.7-dev:amd64 (2.7.6-8ubuntu0.5) ...
Setting up libpython3.4-dev:amd64 (3.4.3-1ubuntu1~14.04.7) ...
Setting up libpython-dev:amd64 (2.7.5-5ubuntu3) ...
Setting up libpython3-dev:amd64 (3.4.0-0ubuntu2) ...
Setting up python2.7-dev (2.7.6-8ubuntu0.5) ...
Setting up python-dev (2.7.5-5ubuntu3) ...
Setting up python3.4-dev (3.4.3-1ubuntu1~14.04.7) ...
Setting up python3-dev (3.4.0-0ubuntu2) ...

? 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
? HOSTLD ?scripts/kconfig/conf
#
# configuration written to .config
#
scripts/kconfig/conf ?--silentoldconfig Kconfig
? CHK ? ? include/config.h
? UPD ? ? include/config.h
? CFG ? ? u-boot.cfg
? GEN ? ? include/autoconf.mk.dep
? CFG ? ? spl/u-boot.cfg
? GEN ? ? include/autoconf.mk
? GEN ? ? spl/include/autoconf.mk
*** Your GCC is older than 6.0 and will not be supported starting in v2018.01.
? CHK ? ? include/config/uboot.release
? CHK ? ? include/generated/timestamp_autogenerated.h
? UPD ? ? include/generated/timestamp_autogenerated.h
? HOSTCC ?scripts/dtc/dtc.o
? HOSTCC ?scripts/dtc/flattree.o
? HOSTCC ?scripts/dtc/fstree.o
? HOSTCC ?scripts/dtc/data.o
? SHIPPED scripts/dtc/pylibfdt/libfdt.i
? PYMOD ? scripts/dtc/pylibfdt/_libfdt.so
? HOSTCC ?scripts/dtc/livetree.o
? HOSTCC ?scripts/dtc/treesource.o
? HOSTCC ?scripts/dtc/srcpos.o
? HOSTCC ?scripts/dtc/checks.o
? UPD ? ? include/config/uboot.release
? HOSTCC ?scripts/dtc/util.o
? SHIPPED scripts/dtc/dtc-lexer.lex.c
? SHIPPED scripts/dtc/dtc-parser.tab.h


? INSTALL sound/usb/caiaq/snd-usb-caiaq.ko
? INSTALL sound/usb/hiface/snd-usb-hiface.ko
? INSTALL sound/usb/line6/snd-usb-line6.ko
? INSTALL sound/usb/line6/snd-usb-pod.ko
? INSTALL sound/usb/line6/snd-usb-podhd.ko
? INSTALL sound/usb/line6/snd-usb-toneport.ko
? INSTALL sound/usb/line6/snd-usb-variax.ko
? INSTALL sound/usb/misc/snd-ua101.ko
? INSTALL sound/usb/snd-usb-audio.ko
? INSTALL sound/usb/snd-usbmidi-lib.ko
? DEPMOD ?4.14.111
Cloning into 'wireguard'...
fatal: unable to access 'https://git.zx2c4.com/wireguard-linux-compat/': gnutls_handshake() failed: Handshake failed
rootroot@ubuntu:~/friendlywrt-h3$?
rootroot@ubuntu:~/friendlywrt-h3$?
rootroot@ubuntu:~/friendlywrt-h3$ ./build.sh nanopi_neo_core.mk
using config device/friendlyelec/h3/nanopi_neo_core.mk
============Start building uboot============
SRC ? ? ? ? ? ? ? ?= /home/rootroot/friendlywrt-h3/u-boot
TARGET_ARCH ? ? ? ?= arm
TARGET_PLAT ? ? ? ?= h3
TARGET_UBOOT_CONFIG=nanopi_h3_defconfig
TARGET_OSNAME?? ? = friendlywrt_4.14_armhf
=========================================
uboot src: /home/rootroot/friendlywrt-h3/u-boot
? CLEAN ? dts/../arch/arm/dts
? CLEAN ? dts
? CLEAN ? examples/standalone
? CLEAN ? tools
? CLEAN ? tools/lib tools/common
? CLEAN ? spl/arch spl/board spl/cmd spl/common spl/disk spl/drivers spl/dts spl/env spl/fs spl/lib spl/sunxi-spl.bin spl/u-boot.cfg spl/u-boot-spl spl/u-boot-spl.bin spl/u-boot-spl.lds spl/u-boot-spl.map spl/u-boot-spl-nodtb.bin
? CLEAN ? u-boot u-boot.bin u-boot.cfg u-boot.cfg.configs u-boot.dtb u-boot-dtb.bin u-boot-dtb.img u-boot.img u-boot.lds u-boot.map u-boot-nodtb.bin u-boot.srec u-boot-sunxi-with-spl.bin u-boot.sym System.map
? HOSTCC ?scripts/basic/fixdep
? HOSTCC ?scripts/kconfig/conf.o
? HOSTCC ?scripts/kconfig/zconf.tab.o
? HOSTLD ?scripts/kconfig/conf
#
# configuration written to .config
#
scripts/kconfig/conf ?--silentoldconfig Kconfig
? CHK ? ? include/config.h
? CFG ? ? u-boot.cfg
? GEN ? ? include/autoconf.mk.dep
? CFG ? ? spl/u-boot.cfg
? GEN ? ? include/autoconf.mk
? GEN ? ? spl/include/autoconf.mk
*** Your GCC is older than 6.0 and will not be supported starting in v2018.01.
? CHK ? ? include/config/uboot.release
? CHK ? ? include/generated/timestamp_autogenerated.h
? UPD ? ? include/generated/timestamp_autogenerated.h
? HOSTCC ?scripts/dtc/dtc.o
? HOSTCC ?scripts/dtc/flattree.o
?

【解決方法】拷貝一個過來
Y:\friendlywrt-h3\out\wireguard

Y:\friendlywrt-h3\kernel\exfat-nofuse


?? ?if test -z "$objects"; then?? ??? ??? ??? ?\
?? ? ?echo 'int __libgcc_eh_dummy;' > eh_dummy.c;?? ??? ?\
?? ? ?/home/rootroot/friendlywrt-h3/friendlywrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/gcc-7.5.0-final/./gcc/xgcc -B/home/rootroot/friendlywrt-h3/friendlywrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/gcc-7.5.0-final/./gcc/ -B/home/rootroot/friendlywrt-h3/friendlywrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/arm-openwrt-linux-muslgnueabi/bin/ -B/home/rootroot/friendlywrt-h3/friendlywrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/arm-openwrt-linux-muslgnueabi/lib/ -isystem /home/rootroot/friendlywrt-h3/friendlywrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include -isystem /home/rootroot/friendlywrt-h3/friendlywrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/arm-openwrt-linux-muslgnueabi/sys-include ? ?-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -O2 ?-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DIN_GCC ?-DCROSS_DIRECTORY_STRUCTURE ?-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition ?-isystem ./include ? -fPIC -fno-inline -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector ? -fPIC -fno-inline -I. -I. -I../.././gcc -I/home/rootroot/friendlywrt-h3/friendlywrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/gcc-7.5.0/libgcc -I/home/rootroot/friendlywrt-h3/friendlywrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/gcc-7.5.0/libgcc/. -I/home/rootroot/friendlywrt-h3/friendlywrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/gcc-7.5.0/libgcc/../gcc -I/home/rootroot/friendlywrt-h3/friendlywrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/gcc-7.5.0/libgcc/../include ?-DHAVE_CC_TLS ?-fvisibility=hidden -DHIDE_EXPORTS -c eh_dummy.c?? ??? ?\
?? ? ? ? -o eh_dummy.o;?? ??? ??? ??? ?\
?? ? ?objects=eh_dummy.o;?? ??? ??? ??? ?\
?? ?fi;?? ??? ??? ??? ??? ??? ??? ?\
?? ?/home/rootroot/friendlywrt-h3/friendlywrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/arm-openwrt-linux-muslgnueabi/bin/ar ?rc libgcc.a $objects
/home/rootroot/friendlywrt-h3/friendlywrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/arm-openwrt-linux-muslgnueabi/bin/ranlib libgcc_eh.a
/home/rootroot/friendlywrt-h3/friendlywrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/arm-openwrt-linux-muslgnueabi/bin/ranlib libgcc_pic.a
/home/rootroot/friendlywrt-h3/friendlywrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/arm-openwrt-linux-muslgnueabi/bin/ranlib libgcc.a
mv tmp-libgcc.map libgcc.map
# @multilib_flags@ is still needed because this may use
# /home/rootroot/friendlywrt-h3/friendlywrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/gcc-7.5.0-final/./gcc/xgcc -B/home/rootroot/friendlywrt-h3/friendlywrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/gcc-7.5.0-final/./gcc/ -B/home/rootroot/friendlywrt-h3/friendlywrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/arm-openwrt-linux-muslgnueabi/bin/ -B/home/rootroot/friendlywrt-h3/friendlywrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/arm-openwrt-linux-muslgnueabi/lib/ -isystem /home/rootroot/friendlywrt-h3/friendlywrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include -isystem /home/rootroot/friendlywrt-h3/friendlywrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/arm-openwrt-linux-muslgnueabi/sys-include ? ?and -O2 ?-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DIN_GCC ?-DCROSS_DIRECTORY_STRUCTURE ?-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition ?-isystem ./include ? -fPIC -fno-inline -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector ?directly.
# @multilib_dir@ is not really necessary, but sometimes it has
# more uses than just a directory name.
/bin/bash /home/rootroot/friendlywrt-h3/friendlywrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/gcc-7.5.0/libgcc/../mkinstalldirs .
/home/rootroot/friendlywrt-h3/friendlywrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/gcc-7.5.0-final/./gcc/xgcc -B/home/rootroot/friendlywrt-h3/friendlywrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/gcc-7.5.0-final/./gcc/ -B/home/rootroot/friendlywrt-h3/friendlywrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/arm-openwrt-linux-muslgnueabi/bin/ -B/home/rootroot/friendlywrt-h3/friendlywrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/arm-openwrt-linux-muslgnueabi/lib/ -isystem /home/rootroot/friendlywrt-h3/friendlywrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include -isystem /home/rootroot/friendlywrt-h3/friendlywrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/arm-openwrt-linux-muslgnueabi/sys-include ? ?-O2 ?-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DIN_GCC ?-DCROSS_DIRECTORY_STRUCTURE ?-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition ?-isystem ./include ? -fPIC -fno-inline -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector ?-shared -nodefaultlibs -Wl,--soname=libgcc_s.so.1 -Wl,--version-script=libgcc.map -o ./libgcc_s.so.1.tmp -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -B./ _thumb1_case_sqi_s.o _thumb1_case_uqi_s.o _thumb1_case_shi_s.o _thumb1_case_uhi_s.o _thumb1_case_si_s.o _udivsi3_s.o _divsi3_s.o _umodsi3_s.o _modsi3_s.o _bb_init_func_s.o _call_via_rX_s.o _interwork_call_via_rX_s.o _lshrdi3_s.o _ashrdi3_s.o _ashldi3_s.o _arm_negdf2_s.o _arm_addsubdf3_s.o _arm_muldivdf3_s.o _arm_cmpdf2_s.o _arm_unorddf2_s.o _arm_fixdfsi_s.o _arm_fixunsdfsi_s.o _arm_truncdfsf2_s.o _arm_negsf2_s.o _arm_addsubsf3_s.o _arm_muldivsf3_s.o _arm_cmpsf2_s.o _arm_unordsf2_s.o _arm_fixsfsi_s.o _arm_fixunssfsi_s.o _arm_floatdidf_s.o _arm_floatdisf_s.o _arm_floatundidf_s.o _arm_floatundisf_s.o _clzsi2_s.o _clzdi2_s.o _ctzsi2_s.o _aeabi_lcmp_s.o _aeabi_ulcmp_s.o _aeabi_ldivmod_s.o _aeabi_uldivmod_s.o _dvmd_lnx_s.o _clear_cache_s.o _muldi3_s.o _negdi2_s.o _cmpdi2_s.o _ucmpdi2_s.o _trampoline_s.o __main_s.o _absvsi2_s.o _absvdi2_s.o _addvsi3_s.o _addvdi3_s.o _subvsi3_s.o _subvdi3_s.o _mulvsi3_s.o _mulvdi3_s.o _negvsi2_s.o _negvdi2_s.o _ctors_s.o _ffssi2_s.o _ffsdi2_s.o _clz_s.o _ctzdi2_s.o _popcount_tab_s.o _popcountsi2_s.o _popcountdi2_s.o _paritysi2_s.o _paritydi2_s.o _powisf2_s.o _powidf2_s.o _powixf2_s.o _powitf2_s.o _mulhc3_s.o _mulsc3_s.o _muldc3_s.o _mulxc3_s.o _multc3_s.o _divhc3_s.o _divsc3_s.o _divdc3_s.o _divxc3_s.o _divtc3_s.o _bswapsi2_s.o _bswapdi2_s.o _clrsbsi2_s.o _clrsbdi2_s.o _fixunssfsi_s.o _fixunsdfsi_s.o _fixunsxfsi_s.o _fixsfdi_s.o _fixdfdi_s.o _fixxfdi_s.o _fixtfdi_s.o _fixunssfdi_s.o _fixunsdfdi_s.o _fixunsxfdi_s.o _fixunstfdi_s.o _floatdisf_s.o _floatdidf_s.o _floatdixf_s.o _floatditf_s.o _floatundisf_s.o _floatundidf_s.o _floatundixf_s.o _floatunditf_s.o _divdi3_s.o _moddi3_s.o _divmoddi4_s.o _udivdi3_s.o _umoddi3_s.o _udivmoddi4_s.o _udiv_w_sdiv_s.o bpabi_s.o unaligned-funcs_s.o addsf3_s.o divsf3_s.o eqsf2_s.o gesf2_s.o lesf2_s.o mulsf3_s.o negsf2_s.o subsf3_s.o unordsf2_s.o fixsfsi_s.o floatsisf_s.o floatunsisf_s.o adddf3_s.o divdf3_s.o eqdf2_s.o gedf2_s.o ledf2_s.o muldf3_s.o negdf2_s.o subdf3_s.o unorddf2_s.o fixdfsi_s.o floatsidf_s.o floatunsidf_s.o extendsfdf2_s.o truncdfsf2_s.o enable-execute-stack_s.o unwind-arm_s.o libunwind_s.o pr-support_s.o unwind-c_s.o emutls_s.o libgcc.a -lc && rm -f ./libgcc_s.so && if [ -f ./libgcc_s.so.1 ]; then mv -f ./libgcc_s.so.1 ./libgcc_s.so.1.backup; else true; fi && mv ./libgcc_s.so.1.tmp ./libgcc_s.so.1 && (echo "/* GNU ld script"; echo " ? Use the shared library, but some functions are only in"; echo " ? the static library. ?*/"; echo "GROUP ( libgcc_s.so.1 -lgcc )" ) > ./libgcc_s.so
# Now that we have built all the objects, we need to copy
# them back to the GCC directory. ?Too many things (other
# in-tree libraries, and DejaGNU) know about the layout
# of the build tree, for now.
make install-leaf DESTDIR=../.././gcc \
?? ? ?slibdir= libsubdir= MULTIOSDIR=.
make[7]: Entering directory `/home/rootroot/friendlywrt-h3/friendlywrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/gcc-7.5.0-final/arm-openwrt-linux-muslgnueabi/libgcc'
/bin/bash /home/rootroot/friendlywrt-h3/friendlywrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/gcc-7.5.0/libgcc/../mkinstalldirs ../.././gcc
/usr/bin/install -c -m 644 libgcc_eh.a ../.././gcc/
chmod 644 ../.././gcc/libgcc_eh.a
/home/rootroot/friendlywrt-h3/friendlywrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/arm-openwrt-linux-muslgnueabi/bin/ranlib ../.././gcc/libgcc_eh.a
/usr/bin/install -c -m 644 libgcc_pic.a libgcc.map ../.././gcc/
chmod 644 ../.././gcc/libgcc_pic.a
/home/rootroot/friendlywrt-h3/friendlywrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/arm-openwrt-linux-muslgnueabi/bin/ranlib ../.././gcc/libgcc_pic.a
/bin/bash /home/rootroot/friendlywrt-h3/friendlywrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/gcc-7.5.0/libgcc/../mkinstalldirs ../.././gcc; /usr/bin/install -c -m 644 ./libgcc_s.so.1 ../.././gcc/libgcc_s.so.1; rm -f ../.././gcc/libgcc_s.so; /usr/bin/install -c -m 644 ./libgcc_s.so ../.././gcc/libgcc_s.so
/bin/bash /home/rootroot/friendlywrt-h3/friendlywrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/gcc-7.5.0/libgcc/../mkinstalldirs ../.././gcc
/usr/bin/install -c -m 644 libgcc.a ../.././gcc/
chmod 644 ../.././gcc/libgcc.a
/home/rootroot/friendlywrt-h3/friendlywrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/arm-openwrt-linux-muslgnueabi/bin/ranlib ../.././gcc/libgcc.a
/usr/bin/install -c -m 644 libgcov.a ../.././gcc/
chmod 644 ../.././gcc/libgcov.a
/home/rootroot/friendlywrt-h3/friendlywrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/arm-openwrt-linux-muslgnueabi/bin/ranlib ../.././gcc/libgcov.a
parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o crtfastmath.o";?? ??? ??? ??? ?\
?? ?for file in $parts; do?? ??? ??? ??? ??? ?\
?? ? ?rm -f ../.././gcc/$file;?? ??? ?\
?? ? ?/usr/bin/install -c -m 644 $file ../.././gcc/;?? ?\
?? ? ?case $file in ?? ??? ??? ??? ??? ?\
?? ? ? ?*.a)?? ??? ??? ??? ??? ??? ?\
?? ? ? ? ?/home/rootroot/friendlywrt-h3/friendlywrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/arm-openwrt-linux-muslgnueabi/bin/ranlib ../.././gcc/$file ;;?? ?\
?? ? ?esac;?? ??? ??? ??? ??? ??? ??? ?\
?? ?done
make[7]: Leaving directory `/home/rootroot/friendlywrt-h3/friendlywrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/gcc-7.5.0-final/arm-openwrt-linux-muslgnueabi/libgcc'
make[6]: Leaving directory `/home/rootroot/friendlywrt-h3/friendlywrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/gcc-7.5.0-final/arm-openwrt-linux-muslgnueabi/libgcc'
make[6]: write error
make[5]: *** [all-target-libgcc] Error 1
make[5]: Leaving directory `/home/rootroot/friendlywrt-h3/friendlywrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/gcc-7.5.0-final'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/rootroot/friendlywrt-h3/friendlywrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/gcc-7.5.0-final'
make[3]: *** [/home/rootroot/friendlywrt-h3/friendlywrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/gcc-7.5.0-final/.built] Error 2
make[3]: Leaving directory `/home/rootroot/friendlywrt-h3/friendlywrt/toolchain/gcc/final'
time: toolchain/gcc/final/compile#1020.48#64.11#193.89
make[2]: *** [toolchain/gcc/final/compile] Error 2
make[2]: Leaving directory `/home/rootroot/friendlywrt-h3/friendlywrt'
make[1]: *** [/home/rootroot/friendlywrt-h3/friendlywrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/stamp/.toolchain_compile] Error 2
make[1]: Leaving directory `/home/rootroot/friendlywrt-h3/friendlywrt'
Build failed - please re-run with -j1 to see the real error message
make: *** [world] Error 1
Command exited with non-zero status 2
you take 17:49.34 to build friendlywrt

rootroot@ubuntu:~/friendlywrt-h3$?
rootroot@ubuntu:~/friendlywrt-h3$?
rootroot@ubuntu:~/friendlywrt-h3$?
rootroot@ubuntu:~/friendlywrt-h3$ ./build.sh?
USAGE: ./build.sh <parameter>

# select board:?
? ./build.sh nanopi_neo_air.mk
? ./build.sh nanopi_neo_core.mk
? ./build.sh nanopi_duo2.mk
? ./build.sh zeropi.mk
? ./build.sh nanopi_m1.mk
? ./build.sh nanopi_r1.mk
? ./build.sh nanopi_m1_plus.mk
? ./build.sh nanopi_neo.mk
? ./build.sh nanopi_r1s_h3.mk
? ./build.sh nanopi_neo_s.mk

# build module:?
? ./build.sh all ? ? ? ? ? ? ? ?-build all
? ./build.sh uboot ? ? ? ? ? ? ?-build uboot only
? ./build.sh kernel ? ? ? ? ? ? -build kernel only
? ./build.sh friendlywrt ? ? ? ?-build friendlywrt rootfs only
? ./build.sh sd-img ? ? ? ? ? ? -pack sd-card image, used to create bootable SD card
? ./build.sh emmc-img ? ? ? ? ? -pack sd-card image, used to write friendlywrt to emmc
# clean
? ./build.sh cleanall

rootroot@ubuntu:~/friendlywrt-h3$?
rootroot@ubuntu:~/friendlywrt-h3$?
rootroot@ubuntu:~/friendlywrt-h3$ ./build.sh friendlywrt
==========Start build friendlywrt==========
TARGET_FRIENDLYWRT_CONFIG=config_h3
FRIENDLYWRT_SRC=friendlywrt
=========================================
============Start building friendlywrt============
TARGET_FRIENDLYWRT_CONFIG = config_h3
FRIENDLYWRT_SRC_PATHNAME = friendlywrt
==========================================
Updating feed 'packages' from 'https://github.com/friendlyarm/friendlywrt_project_packages^5b22f3f59c03412200fe4815d833943f953edf2b' ...
Create index file './feeds/packages.index'?
Updating feed 'luci' from 'https://github.com/friendlyarm/friendlywrt_project_luci^28fc0fa6d90a8eb3db0c93e749ed5aefdbfc4f8a' ...
Create index file './feeds/luci.index'?
Updating feed 'routing' from 'https://git.openwrt.org/feed/routing.git^f1b0476edc5486793e098fe83089054bb2941663' ...
Create index file './feeds/routing.index'?
Updating feed 'telephony' from 'https://git.openwrt.org/feed/telephony.git^6f95d6ab3f359ee2ce81c20522700937424d1591' ...
Create index file './feeds/telephony.index'?
WARNING: Makefile 'package/feeds/packages/elektra/Makefile' has a dependency on 'lua5.3', which does not exist
WARNING: Makefile 'package/feeds/packages/frr/Makefile' has a dependency on 'more', which does not exist
WARNING: Makefile 'package/feeds/packages/haproxy/Makefile' has a dependency on 'liblua5.3', which does not exist
WARNING: Makefile 'package/feeds/packages/haproxy/Makefile' has a dependency on 'liblua5.3', which does not exist
WARNING: Makefile 'package/feeds/packages/ksmbd/Makefile' has a dependency on 'kmod-crypto-arc4', which does not exist
WARNING: Makefile 'package/feeds/packages/luasocket/Makefile' has a dependency on 'liblua5.3', which does not exist
WARNING: Makefile 'package/feeds/packages/openvswitch/Makefile' has a dependency on 'kmod-nsh', which does not exist
Installing all packages from feed packages.
Installing all packages from feed luci.
Installing all packages from feed routing.
Installing all packages from feed telephony.
using .config file
WARNING: Makefile 'package/feeds/packages/elektra/Makefile' has a dependency on 'lua5.3', which does not exist
WARNING: Makefile 'package/feeds/packages/frr/Makefile' has a dependency on 'more', which does not exist
WARNING: Makefile 'package/feeds/packages/haproxy/Makefile' has a dependency on 'liblua5.3', which does not exist
WARNING: Makefile 'package/feeds/packages/haproxy/Makefile' has a dependency on 'liblua5.3', which does not exist
WARNING: Makefile 'package/feeds/packages/ksmbd/Makefile' has a dependency on 'kmod-crypto-arc4', which does not exist
WARNING: Makefile 'package/feeds/packages/luasocket/Makefile' has a dependency on 'liblua5.3', which does not exist
WARNING: Makefile 'package/feeds/packages/openvswitch/Makefile' has a dependency on 'kmod-nsh', which does not exist
?make[1] tools/download
?make[2] target/prereq
?make[2] -C tools/m4 download
?make[2] -C tools/libelf download
?make[2] -C tools/mpfr download
?make[2] -C tools/gmp download
?make[2] -C tools/libtool download


需要修改為單線程編譯:
Y:\friendlywrt-h3\scripts\mk-friendlywrt.sh

USING_DATE=$(date +%Y%m%d)
echo "${USING_DATE}" > ./package/base-files/files/etc/rom-version

make -j$(nproc) V=s
RET=$?
if [ $RET -eq 0 ]; then
?? ?exit 0
fi

make -j1 V=s
RET=$?
if [ $RET -eq 0 ]; then
? ? exit 0
fi

exit 1

修改為:

USING_DATE=$(date +%Y%m%d)
echo "${USING_DATE}" > ./package/base-files/files/etc/rom-version

#make -j$(nproc) V=s
make -j1 V=s

RET=$?
if [ $RET -eq 0 ]; then
?? ?exit 0
fi

make -j1 V=s
RET=$?
if [ $RET -eq 0 ]; then
? ? exit 0
fi

exit 1

rootroot@ubuntu:~/friendlywrt-h3$ ./build.sh emmc-img
[INFO]: Copying /home/rootroot/friendlywrt-h3/friendlywrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-sunxi to /home/rootroot/friendlywrt-h3/scripts/sd-fuse/out/rootfs.ZHcbMPxdG/ ?
[INFO]: Applying device/friendlyelec/h3/default-settings to /home/rootroot/friendlywrt-h3/scripts/sd-fuse/out/rootfs.ZHcbMPxdG ?
[INFO]: Applying device/friendlyelec/h3/common-files to /home/rootroot/friendlywrt-h3/scripts/sd-fuse/out/rootfs.ZHcbMPxdG ?
Re-running script under sudo...
[INFO]: prepare boot.img ... ?
Re-running script under sudo...

0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.000257895 s, 0.0 kB/s
generating ./friendlywrt_4.14_armhf/boot.img done.
[INFO]: prepare rootfs.img ... ?
Re-running script under sudo...
Creating filesystem with parameters:
? ? Size: 352321536
? ? Block size: 4096
? ? Blocks per group: 32768
? ? Inodes per group: 7168
? ? Inode size: 256
? ? Journal blocks: 1344
? ? Label: rootfs
? ? Blocks: 86016
? ? Block groups: 3
? ? Reserved block group size: 23
? ? Suggest size: 264241152
Created filesystem with 8136/21504 inodes and 59614/86016 blocks
‘/home/rootroot/friendlywrt-h3/scripts/sd-fuse/prebuilt/partmap.template’ -> ‘friendlywrt_4.14_armhf/partmap.txt’
generating friendlywrt_4.14_armhf/partmap.txt done.
0
generating friendlywrt_4.14_armhf/rootfs.img done.
0
Generating empty userdata.img (size:104857600)
Creating filesystem with parameters:
? ? Size: 104857600
? ? Block size: 4096
? ? Blocks per group: 32768
? ? Inodes per group: 6400
? ? Inode size: 256
? ? Journal blocks: 1024
? ? Label: userdata
? ? Blocks: 25600
? ? Block groups: 1
? ? Reserved block group size: 7
? ? Suggest size: 25165824
Created filesystem with 11/6400 inodes and 1438/25600 blocks
[INFO]: clean ... ?
Re-running script under sudo...
Creating RAW image: out/h3_eflasher-20250430.img (7800 MB)
---------------------------------
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.00030697 s, 0.0 kB/s

Disk out/h3_eflasher-20250430.img: 948 cylinders, 255 heads, 63 sectors/track
Old situation:
New situation:
Units = sectors of 512 bytes, counting from 0

? ?Device Boot ? ?Start ? ? ? End ? #sectors ?Id ?System
out/h3_eflasher-20250430.img1 ? ? ? ? ?2048 ?15234373 ? 15232326 ? c ?W95 FAT32 (LBA)
out/h3_eflasher-20250430.img2 ? ? ? ? ? ? 0 ? ? ? ? - ? ? ? ? ?0 ? 0 ?Empty
out/h3_eflasher-20250430.img3 ? ? ? ? ? ? 0 ? ? ? ? - ? ? ? ? ?0 ? 0 ?Empty
out/h3_eflasher-20250430.img4 ? ? ? ? ? ? 0 ? ? ? ? - ? ? ? ? ?0 ? 0 ?Empty
Successfully wrote the new partition table

Re-reading the partition table ...

Using device: /dev/loop0
---------------------------------
Eflasher filesystem fusing
Image root: ./eflasher

----------------------------------------------------------------
[/dev/loop0] capacity = 7438MB, 7799999488 bytes
current /dev/loop0 partition:
MBR.0 start : 0x0000100000 size 0x01d0da8c00 ?kB
----------------------------------------------------------------
parsing ./eflasher/partmap.txt:
part.0 flash=mmc,0:boot0:raw:0x2000,0x1fe000:u-boot-sunxi-with-spl.bin:[RAW] ./eflasher/u-boot-sunxi-with-spl.bin
part.1 flash=mmc,0:env:raw:0x200000,0x20000:env_eflasher.bin:[RAW] ./eflasher/env_eflasher.bin
part.2 flash=mmc,0:FriendlyARM:fat:0x70900000,0x0:FriendlyARM.img:[MBR] ./eflasher/FriendlyARM.img
part.3 flash=mmc,0:boot:fat:0x1800000,0x2800000:boot.img:[MBR] ./eflasher/boot.img
part.4 flash=mmc,0:rootfs:ext4:0x4000000,0x6c900000:rootfs.img:[MBR] ./eflasher/rootfs.img
----------------------------------------------------------------
create new MBR 3:
[MBR.0] start : 0x0070900000 size 0x0000000000?
[MBR.1] start : 0x0001800000 size 0x0002800000?
[MBR.2] start : 0x0004000000 size 0x006c900000?
----------------------------------------------------------------
copy from: ./eflasher to /dev/loop0
?[RAW. 0]: ? ? 2040 KB | ./eflasher/u-boot-sunxi-with-spl.bin > 100% : done.
?[RAW. 1]: ? ? ?128 KB | ./eflasher/env_eflasher.bin ? ? ? ? ?> 100% : done.
?[MBR. 0]: ? 163840 KB | ./eflasher/FriendlyARM.img ? ? ? ? ? > 100% : done.
?[MBR. 1]: ? ?40960 KB | ./eflasher/boot.img ? ? ? ? ? ? ? ? ?> 100% : done.
?[MBR. 2]: ? 651766 KB | ./eflasher/rootfs.img ? ? ? ? ? ? ? ?> 100% : done.
----------------------------------------------------------------
/dev/loop0: msdos partitions 2 3 1
---------------------------------
Eflasher is fused successfully.
All done.
mkexfatfs 1.0.1
Creating... done.
Flushing... done.
File system created successfully.
---------------------------------
RAW image successfully created (00:28:10).
-rw-r--r-- 1 root root 7799999488 Apr 30 00:28 out/h3_eflasher-20250430.img
Tip: You can compress it to save disk space.

FUSE exfat 1.0.1
copying /home/rootroot/friendlywrt-h3/scripts/sd-fuse/friendlywrt_4.14_armhf/* to /tmp/media_exfat/friendlywrt_4.14_armhf ...
-rw-r--r-- 1 root root 7799999488 Apr 30 00:28 out/FriendlyWrt_20250430_NanoPi-NEO-Core_armhf_eflasher.img
all done.
-----------------------------------------
Run the following command for sdcard install:
? ? sudo dd if=out/FriendlyWrt_20250430_NanoPi-NEO-Core_armhf_eflasher.img bs=1M of=/dev/sdX
-----------------------------------------
rootroot@ubuntu:~/friendlywrt-h3$ ll


參考資料:
https://blog.csdn.net/wb4916/article/details/147598120?spm=1011.2415.3001.5331
20250428在ubuntu18.04.6系統上完成編譯NanoPi NEO開發板的FriendlyCore系統

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/pingmian/78851.shtml
繁體地址,請注明出處:http://hk.pswp.cn/pingmian/78851.shtml
英文地址,請注明出處:http://en.pswp.cn/pingmian/78851.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

【AI論文】CipherBank:通過密碼學挑戰探索LLM推理能力的邊界

摘要&#xff1a;大型語言模型&#xff08;LLMs&#xff09;已經展現出非凡的能力&#xff0c;尤其是最近在推理方面的進步&#xff0c;如o1和o3&#xff0c;推動了人工智能的發展。盡管在數學和編碼方面取得了令人印象深刻的成就&#xff0c;但在需要密碼學專業知識的領域&…

藝術與科技的雙向奔赴——高一鑫榮獲加州聯合表彰

2025年4月20日,在由M.A.D公司協辦的“智藝相融,共赴價值巔峰”(Academic and Artistic Fusion Tribute to the Summit of Value)主題發布會上,音樂教育與科技融合領域的代表人物高一鑫,因其在數字音樂教育與中美文化交流方面的杰出貢獻,榮獲了圣蓋博市議員Jorge Herrera和爾灣市…

【深度學習的靈魂】圖片布局生成模型LayoutPrompt(1)

&#x1f308; 個人主頁&#xff1a;十二月的貓-CSDN博客 &#x1f525; 系列專欄&#xff1a; &#x1f3c0;《深度學習理論直覺三十講》_十二月的貓的博客-CSDN博客 &#x1f4aa;&#x1f3fb; 十二月的寒冬阻擋不了春天的腳步&#xff0c;十二點的黑夜遮蔽不住黎明的曙光 目…

Compose筆記(二十)--TextField

這一節主要了解一下Compose的TextField,TextField 是一個用于接收用戶文本輸入的 UI 組件,允許用戶通過鍵盤輸入、編輯或刪除文本。簡單用法總結如下: API value&#xff1a;當前輸入的文本內容。 onValueChange 含義&#xff1a;當用戶輸入文本時觸發的回調函數&#xff0c;參…

在Linux虛擬機下使用vscode,#include無法跳轉問題

總結&#xff1a;需要通過Linux指令來添加編譯器和壓縮文件&#xff0c;解壓&#xff0c;這樣獲得的編譯器會具有可執行權限類似于 -rwxr-xr-x 1 user user 12345 Apr 26 14:22 myscript.sh 如果你直接從window中拖入文件到Linux文件下&#xff0c;你需要自己來再度開啟可編譯…

ArcGIS+GPT:多領域地理分析與決策新方案

技術點目錄 AI大模型應用ArcGIS工作流程及功能prompt的使用技巧AI助力工作流程AI助力數據讀取AI助力數據編輯與處理AI助力空間分析AI助力遙感分析AI助力二次開發AI助力科研繪圖ArcGISAI綜合應用了解更多 ——————————————————————————————————…

基礎術語說明

車間&#xff1a;工廠內集中進行加工或裝配的獨立空間&#xff0c;配備設備、工具及人員&#xff0c;是生產活動的核心載體。 比如裝配車間、總裝車間、油漆車間等 生產線&#xff1a;以流水作業形式將原材料轉化為成品的設備與人員的組合系統&#xff0c;強調連續性和效率。…

Splunk 使用Role 實現數據隔離

很多人知道 Splunk 有很多自帶的Role, 今天我就要說說定制化的Role: 1: 在創建新role 的界面: 2: 在如下的界面,可以定制allow index name: 3: 創建好新Role 后,在SAML 添加新的group 的時候,就可以看到Role 給某個group: 4: 這樣一個特定組的人來申請Splunk 權限,就可…

利用李雅普諾夫穩定性理論設計模型參考自適應系統(2.0)

上一篇介紹了利用李雅普諾夫穩定性理論設計模型參考自適應系統&#xff0c;通過在被控對象前面添加一個可調增益&#xff0c;然后利用李雅普諾夫穩定性理論設計增益的自適應率&#xff0c;使得被控對象輸出與參考模型輸出一致。本文將介紹在系統結構中引入前饋和反饋的結構&…

前端封裝WebSocket工具n

Web API 提供的 WebSocket 類&#xff0c;封裝一個 Socket 類 // socket.js import modal from /plugins/modal const baseURL import.meta.env.VITE_APP_BASE_WS; const EventTypes [open, close, message, error, reconnect]; const DEFAULT_CHECK_TIME 55 * 1000; // 心…

TCP和UDP傳輸層協議

TCP&#xff08;Transmission Control Protocol&#xff09;和 UDP&#xff08;User Datagram Protocol&#xff09;是兩種常見的傳輸層協議&#xff0c;它們在網絡通信中發揮著不同的作用。二者在連接建立、可靠性、傳輸效率等方面存在顯著差異&#xff0c;適用于不同的應用場…

空域倫理與AI自主邊界的系統建構

在AI無人系統逐步參與城市空域治理的過程中&#xff0c;系統的“自主性”已不再僅是技術指標&#xff0c;而是直接影響合規性、安全性與社會接受度的倫理邊界議題。AI決策系統是否擁有“強干預能力”&#xff1f;行為觸發責任應歸屬何方&#xff1f;算法可否調優至“自我糾偏”…

在原生代碼(非webpack)里使用iview的注意事項

最近公司在做一個項目&#xff0c;使用的框架是iview,使用過程中同事遇到一些問題&#xff0c;這些問題對于有些同學來說根本就不是問題&#xff0c;但總會有同學需要&#xff0c;為了幫助不太會用的同學快速找到問題&#xff0c;做了如下整理&#xff1a; 下載vue,iview.min.j…

java代碼混淆

生成jar的時候混淆 目前最常用的Proguard,網上有很多介紹的文章&#xff0c;這種安全性較低 對已經生成的jar進行加密 加密庫:https://github.com/li571312729/classfinal 測試對jar進行加密 加密后如果正常調用的話會失敗 加密后jar反編譯查看不到代碼 使用密碼才能調用機…

【Linux】第十三章 訪問Linux文件系統

目錄 1. 存儲設備是什么&#xff1f;怎么理解分區和格式化&#xff1f; 2. 文件系統是什么&#xff1f; 3. 掛載是什么&#xff1f;掛載點是什么&#xff1f; 4. 怎么理解塊設備&#xff1f; 5. 在SATA附加存儲中&#xff0c;第一磁盤上的第一個分區和第二磁盤的第二個分區…

MCP 服務器搭建【stdio 類型】實現上市公司年報查詢總結,配合 Cherry Studio使用簡單

代碼解釋 這段 Python 代碼的主要功能是搭建一個基于 FastAPI 的 MCP 服務器,用于處理通過股票代碼查詢上市公司年報的請求,實現服務器向客戶端的實時消息推送。以下是對代碼各部分的詳細解釋: 完整代碼+使用 Cherry Studio 調用 MCP 服務器的方法,放在文章最后了 1. 導…

第六節:軟件安裝

理論知識 軟件安裝的方式&#xff1a;在 Linux 系統中&#xff0c;常見的軟件安裝方式有源碼安裝、在線安裝、deb 包安裝、RPM 包安裝、使用 Snap 管理軟件包等。不同的安裝方式適用于不同的軟件和場景。源碼安裝&#xff1a;源碼安裝是指從軟件的源代碼開始&#xff0c;進行編…

ubantu部署yolov5(第四集:模型加速)

參考鏈接&#xff1a; GitHub - ultralytics/yolov5: YOLOv5 &#x1f680; in PyTorch > ONNX > CoreML > TFLite TFLite,ONNX,CoreML,TensorRT Export -Ultralytics YOLO Docs 使用Neural Magic 的 DeepSparse 部署YOLOv5 -Ultralytics YOLO 文檔 sparseml/inte…

flutter 專題 五十六 Google 2020開發者大會Flutter專題

由于疫情的原因&#xff0c;今年的Google 開發者大會 (Google Developer Summit) 在線上舉行&#xff0c;本次大會以“代碼不止”為主題&#xff0c;全面介紹了產品更新以及一系列面向本地開發者的技術支持內容。我比較關注的是移動開發&#xff0c;在本次大會上&#xff0c;關…

開源模型應用落地-qwen模型小試-Qwen3-8B-快速體驗-pipeline方式(二)

一、前言 阿里云最新推出的 Qwen3-8B 大語言模型,作為國內首個集成“快思考”與“慢思考”能力的混合推理模型,憑借其 80 億參數規模及 128K 超長上下文支持,正在重塑 AI 應用邊界。該模型既可通過輕量化“快思考”實現低算力秒級響應,也能在復雜任務中激活深度推理模式,以…