mirror of
https://gitee.com/bianbu-linux/openwrt-docs
synced 2025-06-28 09:33:06 -04:00
add faq for pthread_once link failed when kernel be compiled
This commit is contained in:
parent
11c3e95428
commit
b2b4247964
1 changed files with 11 additions and 1 deletions
|
@ -4,7 +4,7 @@ sidebar_position: 2
|
|||
|
||||
# 下载和编译
|
||||
|
||||
以下文档基于ubuntu22.04描述
|
||||
以下文档基于ubuntu22.04描述.
|
||||
|
||||
## 环境准备
|
||||
|
||||
|
@ -115,3 +115,13 @@ NAS方案有线网卡2.5G为wan,其它两个千兆口为lan
|
|||
- WiFi网关:192.168.1.1
|
||||
|
||||
## FAQ
|
||||
|
||||
### 1. 内核编译链接pthread_once出错
|
||||
|
||||
基于ubuntu 20.04编译openwrt出现"pthread_once"的编译报错,可修改`linux-*/certs/Makefile`
|
||||
|
||||
```C
|
||||
openwrt/build_dir/target-riscv64_riscv64_musl_*/linux-spacemit_*/linux-6.1.15/certs/Makefile
|
||||
最后一行改成:
|
||||
HOSTLDLIBS_extract-cert = -lcrypto -pthread
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue