The problem was a typo in my libqb makefile - the InstallDev
was named as Install
so wasn't including the headers.
I also needed kronosnet to be built and made good progress... until:
checking for netinet/sctp.h... (cached) no
configure: error: "missing required SCTP headers"
Unlike the other build dependences, adding lksctp-tools
to the kronosnet Makefile didn't work:
include $(TOPDIR)/rules.mk
PKG_NAME:=kronosnet
PKG_VERSION:=1.28
PKG_RELEASE:=1
PKG_SOURCE:=kronosnet-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/kronosnet/kronosnet/releases/download/v$(PKG_VERSION)/
PKG_HASH:=ea0d44fd7e891320378b419a38ca91c4edbcdc06e5b961aedabb4159d7e8150f
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_BUILD_DEPENDS:=libopenssl zstd liblz4 lzo xz bzip2 lksctp-tools
include $(INCLUDE_DIR)/package.mk
define Package/kronosnet
SECTION:=corosync
CATEGORY:=Corosync
TITLE:=kronosnet
endef
define Build/InstallDev
echo "============================="
find $(PKG_INSTALL_DIR)
echo "============================="
endef
define Package/kronosnet/install
endef
$(eval $(call BuildPackage,kronosnet))
It seems that lksctp-tools
should have the correct libraries and when searching the filesystem seems to be available:
❯ find | grep netinet
./staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/netinet
./staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/netinet/sctp.h
Help please!