mm93
February 7, 2019, 7:13pm
1
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
AC_REVISION($Revision: 1.21 $)
AC_INIT(IFX MEI CPE Driver, 1.7.2-pd3, , drv_mei_cpe)
AC_CONFIG_SRCDIR(src/Makefile.am)
AM_INIT_AUTOMAKE([tar-pax])
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_RANLIB
AC_CONFIG_HEADER(src/drv_mei_cpe_config_auto.h)
#
# save the configure arguments
#
CONFIGURE_OPTIONS="$ac_configure_args"
AC_SUBST(CONFIGURE_OPTIONS)
# target options for build
This file has been truncated. show original
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])
]
)
mm93
February 8, 2019, 7:24am
4
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
paldier
February 12, 2019, 8:17am
7
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
mm93
February 12, 2019, 8:33am
8
I asked you in connection with your repo, so why would I ask Intel?
No worries.