You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the past i was able to properly compile openmptcprouter on the develop branch for my glinet mt6000. Kernel 6.1
Last working compile was probably around the 11.11.
Current Behavior
I am unable to compile using the following command:
Expected Behavior
In the past i was able to properly compile openmptcprouter on the develop branch for my glinet mt6000. Kernel 6.1
Last working compile was probably around the 11.11.
Current Behavior
I am unable to compile using the following command:
OMR_TARGET="glinet_gl-mt6000" OMR_FEED_SRC="develop" OMR_KERNEL="6.1" ./build.sh -j1 V=s
Possible Solution
There seems to be an error with the syntax in mptcpd path_manager.
Steps to Reproduce the Problem
Context (Environment)
I added the mt6000 as a target-device. (#3689)
This is the config-file I am using:
CONFIG_TARGET_mediatek=y
CONFIG_TARGET_mediatek_filogic=y
CONFIG_TARGET_mediatek_filogic_DEVICE_glinet_gl-mt6000=y
CONFIG_KERNEL_ARM64_MODULE_PLTS=y
CONFIG_TARGET_INITRAMFS_COMPRESSION_NONE=y
CONFIG_CRYPTO_HW=y
CONFIG_ARM64_CRYPTO=y
CONFIG_CRYPTO_SHA1_ARM_CE=y
CONFIG_CRYPTO_SHA2_ARM_CE=y
CONFIG_CRYPTO_GHASH_ARM_CE=y
CONFIG_CRYPTO_AES_ARM=y
CONFIG_CRYPTO_AES_ARM_CE=y
These are the last few lines of output before the build errors out:
/bin/bash ../libtool --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_DLL -DMPTCPD_DLL_EXPORTS -I/home/kevin/openmptcprouter/glinet_gl-mt6000/>
OpenWrt-libtool: compile: aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_DLL -DMPTCPD_DLL_EXPORTS -I/home/kevin/openmptcprouter/glinet_gl-mt6000/6.1/source/staging_dir/>
/bin/bash ../libtool --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_DLL -DMPTCPD_DLL_EXPORTS -I/home/kevin/openmptcprouter/glinet_gl-mt6000/>
OpenWrt-libtool: compile: aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_DLL -DMPTCPD_DLL_EXPORTS -I/home/kevin/openmptcprouter/glinet_gl-mt6000/6.1/source/staging_dir/>
/bin/bash ../libtool --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_DLL -DMPTCPD_DLL_EXPORTS -I/home/kevin/openmptcprouter/glinet_gl-mt6000/>
OpenWrt-libtool: compile: aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_DLL -DMPTCPD_DLL_EXPORTS -I/home/kevin/openmptcprouter/glinet_gl-mt6000/6.1/source/staging_dir/>
/bin/bash ../libtool --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_DLL -DMPTCPD_DLL_EXPORTS -I/home/kevin/openmptcprouter/glinet_gl-mt6000/>
OpenWrt-libtool: compile: aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_DLL -DMPTCPD_DLL_EXPORTS -I/home/kevin/openmptcprouter/glinet_gl-mt6000/6.1/source/staging_dir/>
/bin/bash ../libtool --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_DLL -DMPTCPD_DLL_EXPORTS -I/home/kevin/openmptcprouter/glinet_gl-mt6000/>
OpenWrt-libtool: compile: aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_DLL -DMPTCPD_DLL_EXPORTS -I/home/kevin/openmptcprouter/glinet_gl-mt6000/6.1/source/staging_dir/>
/bin/bash ../libtool --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_DLL -DMPTCPD_DLL_EXPORTS -I/home/kevin/openmptcprouter/glinet_gl-mt6000/>
OpenWrt-libtool: compile: aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_DLL -DMPTCPD_DLL_EXPORTS -I/home/kevin/openmptcprouter/glinet_gl-mt6000/6.1/source/staging_dir/>
/bin/bash ../libtool --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_DLL -DMPTCPD_DLL_EXPORTS -I/home/kevin/openmptcprouter/glinet_gl-mt6000/>
OpenWrt-libtool: compile: aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_DLL -DMPTCPD_DLL_EXPORTS -I/home/kevin/openmptcprouter/glinet_gl-mt6000/6.1/source/staging_dir/>
/bin/bash ../libtool --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_DLL -DMPTCPD_DLL_EXPORTS -I/home/kevin/openmptcprouter/glinet_gl-mt6000/>
OpenWrt-libtool: compile: aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_DLL -DMPTCPD_DLL_EXPORTS -I/home/kevin/openmptcprouter/glinet_gl-mt6000/6.1/source/staging_dir/>
/bin/bash ../libtool --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_DLL -DMPTCPD_DLL_EXPORTS -I/home/kevin/openmptcprouter/glinet_gl-mt6000/>
OpenWrt-libtool: compile: aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_DLL -DMPTCPD_DLL_EXPORTS -I/home/kevin/openmptcprouter/glinet_gl-mt6000/6.1/source/staging_dir/>
/bin/bash ../libtool --tag=CC --mode=link aarch64-openwrt-linux-musl-gcc -I/home/kevin/openmptcprouter/glinet_gl-mt6000/6.1/source/staging_dir/target-aarch64_cortex-a53_musl/usr/include -Wall -Os -pipe -mcpu=cortex-a53 -fno-caller-s>
OpenWrt-libtool: link: aarch64-openwrt-linux-musl-gcc -shared -fPIC -DPIC .libs/libmptcpd_la-addr_info.o .libs/libmptcpd_la-id_manager.o .libs/libmptcpd_la-listener_manager.o .libs/libmptcpd_la-network_monitor.o .libs/libmptcpd_la-pat>
OpenWrt-libtool: link: (cd ".libs" && rm -f "libmptcpd.so.3" && ln -s "libmptcpd.so.3.1.0" "libmptcpd.so.3")
OpenWrt-libtool: link: (cd ".libs" && rm -f "libmptcpd.so" && ln -s "libmptcpd.so.3.1.0" "libmptcpd.so")
OpenWrt-libtool: link: ( cd ".libs" && rm -f "libmptcpd.la" && ln -s "../libmptcpd.la" "libmptcpd.la" )
make[5]: Leaving directory '/home/kevin/openmptcprouter/glinet_gl-mt6000/6.1/source/build_dir/target-aarch64_cortex-a53_musl/mptcpd-0.13-d186d935fa21ef95fb1784abaeca6d0803978351/lib'
Making all in src
make[5]: Entering directory '/home/kevin/openmptcprouter/glinet_gl-mt6000/6.1/source/build_dir/target-aarch64_cortex-a53_musl/mptcpd-0.13-d186d935fa21ef95fb1784abaeca6d0803978351/src'
aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -I/home/kevin/openmptcprouter/glinet_gl-mt6000/6.1/source/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I>
/bin/bash ../libtool --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_CONFIG_FILE='"/etc/mptcpd/mptcpd.conf"' -DMPTCPD_DEFAULT_PLUGINDIR='"/us>
OpenWrt-libtool: compile: aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_CONFIG_FILE="/etc/mptcpd/mptcpd.conf" -DMPTCPD_DEFAULT_PLUGINDIR="/usr/lib/mptcpd" -I/home/>
/bin/bash ../libtool --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_CONFIG_FILE='"/etc/mptcpd/mptcpd.conf"' -DMPTCPD_DEFAULT_PLUGINDIR='"/us>
OpenWrt-libtool: compile: aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_CONFIG_FILE="/etc/mptcpd/mptcpd.conf" -DMPTCPD_DEFAULT_PLUGINDIR="/usr/lib/mptcpd" -I/home/>
/bin/bash ../libtool --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_CONFIG_FILE='"/etc/mptcpd/mptcpd.conf"' -DMPTCPD_DEFAULT_PLUGINDIR='"/us>
OpenWrt-libtool: compile: aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_CONFIG_FILE="/etc/mptcpd/mptcpd.conf" -DMPTCPD_DEFAULT_PLUGINDIR="/usr/lib/mptcpd" -I/home/>
/bin/bash ../libtool --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_CONFIG_FILE='"/etc/mptcpd/mptcpd.conf"' -DMPTCPD_DEFAULT_PLUGINDIR='"/us>
OpenWrt-libtool: compile: aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include/mptcpd/private -I../include -I../include -DMPTCPD_CONFIG_FILE="/etc/mptcpd/mptcpd.conf" -DMPTCPD_DEFAULT_PLUGINDIR="/usr/lib/mptcpd" -I/home/>
path_manager.c: In function 'handle_mptcp_event':
path_manager.c:662:14: error: 'MPTCP_EVENT_LISTENER_CREATED' undeclared (first use in this function); did you mean 'MPTCP_EVENT_CREATED'?
662 | case MPTCP_EVENT_LISTENER_CREATED:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| MPTCP_EVENT_CREATED
path_manager.c:662:14: note: each undeclared identifier is reported only once for each function it appears in
path_manager.c:666:14: error: 'MPTCP_EVENT_LISTENER_CLOSED' undeclared (first use in this function); did you mean 'MPTCP_EVENT_SUB_CLOSED'?
666 | case MPTCP_EVENT_LISTENER_CLOSED:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| MPTCP_EVENT_SUB_CLOSED
make[5]: *** [Makefile:798: libpath_manager_la-path_manager.lo] Error 1
make[5]: Leaving directory '/home/kevin/openmptcprouter/glinet_gl-mt6000/6.1/source/build_dir/target-aarch64_cortex-a53_musl/mptcpd-0.13-d186d935fa21ef95fb1784abaeca6d0803978351/src'
make[4]: *** [Makefile:485: all-recursive] Error 1
make[4]: Leaving directory '/home/kevin/openmptcprouter/glinet_gl-mt6000/6.1/source/build_dir/target-aarch64_cortex-a53_musl/mptcpd-0.13-d186d935fa21ef95fb1784abaeca6d0803978351'
make[3]: *** [Makefile:73: /home/kevin/openmptcprouter/glinet_gl-mt6000/6.1/source/build_dir/target-aarch64_cortex-a53_musl/mptcpd-0.13-d186d935fa21ef95fb1784abaeca6d0803978351/.built] Error 2
make[3]: Leaving directory '/home/kevin/openmptcprouter/feeds/openmptcprouter/mptcpd'
time: package/feeds/openmptcprouter/mptcpd/compile#0.00#0.00#60.82
ERROR: package/feeds/openmptcprouter/mptcpd failed to build.
make[2]: *** [package/Makefile:128: package/feeds/openmptcprouter/mptcpd/compile] Error 1
make[2]: Leaving directory '/home/kevin/openmptcprouter/glinet_gl-mt6000/6.1/source'
make[1]: *** [package/Makefile:122: /home/kevin/openmptcprouter/glinet_gl-mt6000/6.1/source/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/kevin/openmptcprouter/glinet_gl-mt6000/6.1/source'
make: *** [/home/kevin/openmptcprouter/glinet_gl-mt6000/6.1/source/include/toplevel.mk:232: world] Error 2
The text was updated successfully, but these errors were encountered: