Build new lantiq vdsl mei driver

Hi, I'm trying to build a new a lantiq vdsl mei driver with vr11 integration.
I'm using the Makefile from openwrt repo and changed the the configure args
to --enable-device=vr11.
(https://github.com/blocktrron/openwrt/blob/master/package/kernel/lantiq/ltq-vdsl-mei/Makefile)

As source for the new kernel module I'm using blocktrrons VRX518-Mei (https://github.com/blocktrron/vrx518-mei).

When I try to compile, I get the error that I'm missing the file "ifxos_print.h".

Anybody have an idea what's wrong ?

Thanks in advance!

Best regards

It depends on kmod-ltq-ifxos possible that you need a newer version of ifox
check where ifxos_print.h are and where ifxos_print.h should be.
And try to build kmod-ltq-ifxos manuell

dnl Enable IFXOS support
AC_ARG_ENABLE(ifxos_drv,
    AC_HELP_STRING([--enable-ifxos_drv=x],[Enable IFXOS driver support]),
    [
        echo Set IFXOS driver Enable = $enableval
        case $enableval in
        0|no)
         AM_CONDITIONAL(IFXOS_ENABLE, false)
         AC_SUBST([IFXOS_ENABLE],[no])
            MEI_DRV_TARGET_OPTIONS="$MEI_DRV_TARGET_OPTIONS -DMEI_DRV_IFXOS_ENABLE=0"
            ;;
        1|yes)
         AM_CONDITIONAL(IFXOS_ENABLE, true)
         AC_SUBST([IFXOS_ENABLE],[yes])
            MEI_DRV_TARGET_OPTIONS="$MEI_DRV_TARGET_OPTIONS -DMEI_DRV_IFXOS_ENABLE=1"
            ;;
        *)
         AM_CONDITIONAL(IFXOS_ENABLE, false)
         AC_SUBST([IFXOS_ENABLE],[no])
            ;;
        esac
    ],
    [
        MEI_DRV_TARGET_OPTIONS="$MEI_DRV_TARGET_OPTIONS -DMEI_DRV_IFXOS_ENABLE=1"
        AM_CONDITIONAL(IFXOS_ENABLE, true)
        AC_SUBST([IFXOS_ENABLE],[yes])
    ]
)

Thanks but should ifxos be enabled or not in the config args?

Normally it shoult build automatic first if you have installed

Controll if it really did,
if yes search the missed file
. If this file exist look for an missed or wrong include path .
If no search in the new Zyxel source for it

CONFIGURE_ARGS += \
	--enable-vrx \
	--enable-driver-include="-I$(STAGING_DIR)/usr/include/drv_dsl_cpe_api" \
	--enable-ifxos-include="-I$(STAGING_DIR)/usr/include/ifxos" \
	--enable-ifxos-library="-L$(STAGING_DIR)/usr/lib" \
	--enable-dsl-fapi-include="-I$(STAGING_DIR)/usr/include/dsl-fapi" \
	--enable-dsl-fapi-library="-L$(STAGING_DIR)/usr/lib" \
	--enable-cli \
	--enable-cli-include="-I$(STAGING_DIR)/usr/include/cli" \
	--enable-cli-library="-L$(STAGING_DIR)/usr/lib"	\

do not ask me anything anymore,contact intel,not me

I asked you in connection with your repo, so why would I ask Intel?
No worries.