07/09/2022, 8:39 AM
Building targets # /home/kf/openwrt/staging_dir/host/bin/pkg-config --cflags -- gl gl Package gl was not found in the pkg-config search path. Perhaps you should add the directory containing `gl.pc' to the PKG_CONFIG_PATH environment variable Package 'gl', required by 'virtual:world', not found Package 'gl', required by 'virtual:world', not found /home/kf/openwrt/staging_dir/host/bin/pkg-config: exit status 1 # In file included from ./glfw/src/internal.h:188, from ./glfw/src/context.c:30, from ../../../../../dl/go-mod-cache/ ./glfw/src/x11_platform.h:33:10: fatal error: X11/Xlib.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. # ../../netclient/functions/common.go:325:15: undefined: any note: module requires Go 1.18 make[2]: * [Makefile:93: /home/kf/openwrt/build_dir/target-mipsel_24kc_musl/netmaker-0.14.5/.built] Error 2 make[2]: Leaving directory '/home/kf/openwrt/feeds/netmaker/netmaker' time: package/feeds/netmaker/netmaker/compile#4.22#1.46#2.13 ERROR: package/feeds/netmaker/netmaker failed to build. make[1]: * [package/Makefile:116: package/feeds/netmaker/netmaker/compile] Error 1 make[1]: Leaving directory '/home/kf/openwrt' make: * [/home/kf/openwrt/include/] 错误 2 kf@kf:~/openwrt$