hanwckf / padavan-4.4

295 stars 1.09k forks source link

自定义增加https,workflows编译会报错 #10

Closed a937287837 closed 2 years ago

a937287837 commented 2 years ago

H大,你好 用workflows编译K2P,选的HTTPS,编译就会报错,能不能看看哪里出问题了 `======================= BUILD_CI K2P =======================

HOSTLD scripts/dtc/dtc HOSTCC scripts/genksyms/genksyms.o

libtoolize: copying file 'm4/lt~obsolete.m4'

lib make[4]: Entering directory '/home/runner/work/padavan-4.4/padavan-4.4/trunk/user/iproute2/iproute2-5.12.0/lib' /home/runner/work/padavan-4.4/padavan-4.4/trunk/../toolchain-mipsel/toolchain-4.4.x/bin/mipsel-linux-uclibc-gcc -mips32r2 -march=mips32r2 -mtune=1004kc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wformat=2 -O2 -pipe -I../include -I../include/uapi -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -DNETNS_RUN_DIR=\"/var/run/netns\" -DNETNS_ETC_DIR=\"/etc/netns\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Os -fomit-frame-pointer -pipe -Dlinux -Dlinux -Dunix -DEMBED -I/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/include -Wall -Wno-trigraphs -Wno-strict-aliasing -Wno-format-security -fno-tree-slsr -fno-aggressive-loop-optimizations -Wno-pointer-sign -Wno-unused -DHAVE_SETNS -DHAVE_LIBMNL -fPIC -Dlinux -mips32r2 -march=mips32r2 -mtune=1004kc -c -o libgenl.o libgenl.c /home/runner/work/padavan-4.4/padavan-4.4/trunk/../toolchain-mipsel/toolchain-4.4.x/bin/mipsel-linux-uclibc-gcc -mips32r2 -march=mips32r2 -mtune=1004kc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wformat=2 -O2 -pipe -I../include -I../include/uapi -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -DNETNS_RUN_DIR=\"/var/run/netns\" -DNETNS_ETC_DIR=\"/etc/netns\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Os -fomit-frame-pointer -pipe -Dlinux -Dlinux -Dunix -DEMBED -I/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/include -Wall -Wno-trigraphs -Wno-strict-aliasing -Wno-format-security -fno-tree-slsr -fno-aggressive-loop-optimizations -Wno-pointer-sign -Wno-unused -DHAVE_SETNS -DHAVE_LIBMNL -fPIC -Dlinux -mips32r2 -march=mips32r2 -mtune=1004kc -c -o libnetlink.o libnetlink.c libnetlink.c:48:10: fatal error: libmnl/libmnl.h: No such file or directory

include <libmnl/libmnl.h>

      ^~~~~~~~~~~~~~~~~

compilation terminated. make[4]: [../config.mk:29: libnetlink.o] Error 1 make[4]: Leaving directory '/home/runner/work/padavan-4.4/padavan-4.4/trunk/user/iproute2/iproute2-5.12.0/lib' make[3]: [Makefile:65: all] Error 2 make[3]: Leaving directory '/home/runner/work/padavan-4.4/padavan-4.4/trunk/user/iproute2/iproute2-5.12.0' make[2]: [Makefile:6: all] Error 2 make[2]: Leaving directory '/home/runner/work/padavan-4.4/padavan-4.4/trunk/user/iproute2' make[1]: [Makefile:215: all] Error 2 make[1]: Leaving directory '/home/runner/work/padavan-4.4/padavan-4.4/trunk/user' make: *** [Makefile:196: user_only] Error 2 Error: Process completed with exit code 1.`

编译配置文件 `### Target Vendor/Product (support only Ralink RT3883/MT7620/MT7621/MT7628) CONFIG_VENDOR=Ralink CONFIG_PRODUCT=MT7621

Target ProductID (board select, max 12 symbols)

CONFIG_FIRMWARE_PRODUCT_ID="K2P"

Linux kernel and toolchain

CONFIG_FIRMWARE_INCLUDE_SFE=y

CONFIG_LINUXDIR=linux-4.4.x

############################################################

Linux kernel configuration

############################################################

Enable IPv6 support

CONFIG_FIRMWARE_ENABLE_IPV6=y

Enable USB support

CONFIG_FIRMWARE_ENABLE_USB=n

Enable FAT/FAT32 filesystem support. ~0.1MB

CONFIG_FIRMWARE_ENABLE_FAT=n

Enable exFAT (FAT/FAT32 too) filesystem support. ~0.12MB

CONFIG_FIRMWARE_ENABLE_EXFAT=n

Enable EXT2 filesystem support. ~0.1MB

CONFIG_FIRMWARE_ENABLE_EXT2=n

Enable EXT3 filesystem support. ~0.2MB

CONFIG_FIRMWARE_ENABLE_EXT3=n

Enable EXT4 (EXT3/2 too) filesystem support. ~0.4MB

CONFIG_FIRMWARE_ENABLE_EXT4=n

Enable XFS filesystem support. ~0.6MB

CONFIG_FIRMWARE_ENABLE_XFS=n

Enable FUSE (filesystems in userspace) support. ~0.1MB

CONFIG_FIRMWARE_ENABLE_FUSE=n

Enable swap files/partitions support. ~0.05MB

CONFIG_FIRMWARE_ENABLE_SWAP=n

Include UVC camera modules. ~0.2MB

CONFIG_FIRMWARE_INCLUDE_UVC=n

Include USB-HID modules. ~0.2MB

CONFIG_FIRMWARE_INCLUDE_HID=n

Include USB-Serial modules (e.g. pl2303). ~0.03MB

CONFIG_FIRMWARE_INCLUDE_SERIAL=n

Include USB-Audio modules ~0.46MB

CONFIG_FIRMWARE_INCLUDE_AUDIO=n

Include XFRM (IPsec) modules & iptables extension ~ 0.2MB

CONFIG_FIRMWARE_INCLUDE_XFRM=n

Include network QoS scheduling modules. ~0.2MB

CONFIG_FIRMWARE_INCLUDE_QOS=y

Include IMQ module for shapers (a bit of performance degradation). ~0.02MB

CONFIG_FIRMWARE_INCLUDE_IMQ=n

Include IFB module for shapers. ~0.03MB

CONFIG_FIRMWARE_INCLUDE_IFB=n

Include IPSet utility and kernel modules. ~0.4MB

CONFIG_FIRMWARE_INCLUDE_IPSET=n

Include NFSv3 server. ~0.6MB

CONFIG_FIRMWARE_INCLUDE_NFSD=n

Include NFSv3 client. ~0.5MB

CONFIG_FIRMWARE_INCLUDE_NFSC=n

Include CIFS (SMB) client. ~0.2MB

CONFIG_FIRMWARE_INCLUDE_CIFS=n

############################################################

Userspace configuration

############################################################

Include WebUI international resources. Increased firmware size

CONFIG_FIRMWARE_INCLUDE_LANG_CN=y

CONFIG_FIRMWARE_INCLUDE_LANG_BR=y

CONFIG_FIRMWARE_INCLUDE_LANG_CZ=y

CONFIG_FIRMWARE_INCLUDE_LANG_DA=y

CONFIG_FIRMWARE_INCLUDE_LANG_DE=y

CONFIG_FIRMWARE_INCLUDE_LANG_ES=y

CONFIG_FIRMWARE_INCLUDE_LANG_FI=y

CONFIG_FIRMWARE_INCLUDE_LANG_FR=y

CONFIG_FIRMWARE_INCLUDE_LANG_NO=y

CONFIG_FIRMWARE_INCLUDE_LANG_PL=y

CONFIG_FIRMWARE_INCLUDE_LANG_RU=y

CONFIG_FIRMWARE_INCLUDE_LANG_SV=y

CONFIG_FIRMWARE_INCLUDE_LANG_UK=y

Include NTFS-3G FUSE driver (instead of Paragon "ufsd"). ~0.4MB

CONFIG_FIRMWARE_INCLUDE_NTFS_3G=n

Include LPR printer daemon. ~0.12MB

CONFIG_FIRMWARE_INCLUDE_LPRD=n

Include USB-over-Ethernet printer daemon. ~0.05MB

CONFIG_FIRMWARE_INCLUDE_U2EC=n

Include "tcpdump" utility. ~0.6MB

CONFIG_FIRMWARE_INCLUDE_TCPDUMP=n

Include "hdparm" utility (allow set HDD spindown timeout and APM). ~0.1MB

CONFIG_FIRMWARE_INCLUDE_HDPARM=n

Include "parted" utility (allow make GPT partitions). ~0.3MB

CONFIG_FIRMWARE_INCLUDE_PARTED=n

Include SMB3.6 (and WINS) server. ~1.5MB

CONFIG_FIRMWARE_INCLUDE_SMBD=n

Include WINS server only. ~0.4MB

CONFIG_FIRMWARE_INCLUDE_WINS=n

Include syslog for SMB and WINS server. ~0.3MB

CONFIG_FIRMWARE_INCLUDE_SMBD_SYSLOG=n

Include FTP server. ~0.2MB

CONFIG_FIRMWARE_INCLUDE_FTPD=n

Include alternative L2TP control client RP-L2TP. ~0.1MB

CONFIG_FIRMWARE_INCLUDE_RPL2TP=n

Include EAP-TTLS and EAP-PEAP authentication support. openssl ~1.2MB, wpa_supplicant +0.04MB

CONFIG_FIRMWARE_INCLUDE_EAP_PEAP=y

Include HTTPS support. openssl ~1.2MB

CONFIG_FIRMWARE_INCLUDE_HTTPS=y

Include sftp-server. openssl ~1.2MB, sftp-server ~0.06MB

CONFIG_FIRMWARE_INCLUDE_SFTP=n

Include dropbear SSH. ~0.3MB

CONFIG_FIRMWARE_INCLUDE_DROPBEAR=n

Make the dropbear symmetrical ciphers and hashes faster. ~0.06MB

CONFIG_FIRMWARE_INCLUDE_DROPBEAR_FAST_CODE=n

Include OpenSSH instead of dropbear. openssl ~1.2MB, openssh ~1.0MB

CONFIG_FIRMWARE_INCLUDE_OPENSSH=y

Include OpenVPN. IPv6 required. openssl ~1.2MB, openvpn ~0.4MB

CONFIG_FIRMWARE_INCLUDE_OPENVPN=n

Include StrongSwan. XFRM modules ~0.2MB, strongswan ~0.7MB

CONFIG_FIRMWARE_INCLUDE_SSWAN=n

Include Elliptic Curves (EC) to openssl library. ~0.1MB

CONFIG_FIRMWARE_INCLUDE_OPENSSL_EC=y

Include "openssl" executable for generate certificates. ~0.4MB

CONFIG_FIRMWARE_INCLUDE_OPENSSL_EXE=y

Include xUPNPd IPTV mediaserver. ~0.3MB

CONFIG_FIRMWARE_INCLUDE_XUPNPD=n

Include Minidlna UPnP mediaserver. ~1.6MB

CONFIG_FIRMWARE_INCLUDE_MINIDLNA=n

Include Firefly iTunes mediaserver. ~1.0MB

CONFIG_FIRMWARE_INCLUDE_FIREFLY=n

Include ffmpeg 0.11.x instead of 0.6.x for Minidlna and Firefly. ~0.1MB

CONFIG_FIRMWARE_INCLUDE_FFMPEG_NEW=n

Include Transmission torrent. openssl ~1.2MB, transmission ~1.5MB

CONFIG_FIRMWARE_INCLUDE_TRANSMISSION=n

Include Transmission-Web-Control (advanced WebUI). ~0.8MB

CONFIG_FIRMWARE_INCLUDE_TRANSMISSION_WEB_CONTROL=n

Include Aria2 download manager. openssl ~1.2MB, aria2 ~3.5MB

CONFIG_FIRMWARE_INCLUDE_ARIA=n

Include Aria2 WEB control. ~0.7MB

CONFIG_FIRMWARE_INCLUDE_ARIA_WEB_CONTROL=n

CONFIG_FIRMWARE_INCLUDE_CURL=n

CONFIG_FIRMWARE_INCLUDE_SCUTCLIENT=n

CONFIG_FIRMWARE_INCLUDE_GDUT_DRCOM=n

CONFIG_FIRMWARE_INCLUDE_DOGCOM=n

CONFIG_FIRMWARE_INCLUDE_MINIEAP=n

CONFIG_FIRMWARE_INCLUDE_NJIT_CLIENT=n

CONFIG_FIRMWARE_INCLUDE_SOFTETHERVPN_SERVER=n

CONFIG_FIRMWARE_INCLUDE_SOFTETHERVPN_CLIENT=n

CONFIG_FIRMWARE_INCLUDE_SOFTETHERVPN_CMD=n

CONFIG_FIRMWARE_INCLUDE_VLMCSD=n

CONFIG_FIRMWARE_INCLUDE_TTYD=n

CONFIG_FIRMWARE_INCLUDE_LRZSZ=n

CONFIG_FIRMWARE_INCLUDE_HTOP=n

CONFIG_FIRMWARE_INCLUDE_NANO=n

CONFIG_FIRMWARE_INCLUDE_IPERF3=n

CONFIG_FIRMWARE_INCLUDE_DUMP1090=n

CONFIG_FIRMWARE_INCLUDE_RTL_SDR=n

CONFIG_FIRMWARE_INCLUDE_MTR=n

CONFIG_FIRMWARE_INCLUDE_SOCAT=n

CONFIG_FIRMWARE_INCLUDE_SRELAY=n

CONFIG_FIRMWARE_INCLUDE_MENTOHUST=n

CONFIG_FIRMWARE_INCLUDE_FRPC=n

CONFIG_FIRMWARE_INCLUDE_FRPS=n

CONFIG_FIRMWARE_INCLUDE_WIREGUARD=n`

paldier commented 2 years ago

libnetlink.c:48:10: fatal error: libmnl/libmnl.h: No such file or directory