current master (1aa0073be39119f5d0d79212e6c83c470904a161)
Affected Versions:
Description
src/wizard.c has hard references to iptv_auto_network_class even if ./configure'd with --disable-iptv, resulting in the following linker error:
/usr/src/tvheadend/build.linux/src/wizard.o: In function `muxes_save':
/usr/src/tvheadend/src/wizard.c:732: undefined reference to `iptv_auto_network_class'
/usr/src/tvheadend/src/wizard.c:732: undefined reference to `iptv_auto_network_class'
/usr/src/tvheadend/build.linux/src/wizard.o: In function `wizard_muxes':
/usr/src/tvheadend/src/wizard.c:926: undefined reference to `iptv_auto_network_class'
/usr/src/tvheadend/src/wizard.c:926: undefined reference to `iptv_auto_network_class'
collect2: error: ld returned 1 exit status
Makefile:570: recipe for target '/usr/src/tvheadend/build.linux/tvheadend' failed
make: *** [/usr/src/tvheadend/build.linux/tvheadend] Error 1
CC src/wizard.o
src/wizard.c:844:20: error: 'muxes_get_iptv_value1' defined but not used [-Werror=unused-function]
static const void *muxes_get_iptv_value##num(void *o) \
^
src/wizard.c:859:1: note: in expansion of macro 'MUXES_FCN'
MUXES_FCN(1)
^
src/wizard.c:851:12: error: 'muxes_set_iptv_value1' defined but not used [-Werror=unused-function]
static int muxes_set_iptv_value##num(void *o, const void *v) \
^
src/wizard.c:859:1: note: in expansion of macro 'MUXES_FCN'
MUXES_FCN(1)
^
src/wizard.c:844:20: error: 'muxes_get_iptv_value2' defined but not used [-Werror=unused-function]
static const void *muxes_get_iptv_value##num(void *o) \
^
src/wizard.c:860:1: note: in expansion of macro 'MUXES_FCN'
MUXES_FCN(2)
^
src/wizard.c:851:12: error: 'muxes_set_iptv_value2' defined but not used [-Werror=unused-function]
static int muxes_set_iptv_value##num(void *o, const void *v) \
^
src/wizard.c:860:1: note: in expansion of macro 'MUXES_FCN'
MUXES_FCN(2)
^
src/wizard.c:844:20: error: 'muxes_get_iptv_value3' defined but not used [-Werror=unused-function]
static const void *muxes_get_iptv_value##num(void *o) \
^
src/wizard.c:861:1: note: in expansion of macro 'MUXES_FCN'
MUXES_FCN(3)
^
src/wizard.c:851:12: error: 'muxes_set_iptv_value3' defined but not used [-Werror=unused-function]
static int muxes_set_iptv_value##num(void *o, const void *v) \
^
src/wizard.c:861:1: note: in expansion of macro 'MUXES_FCN'
MUXES_FCN(3)
^
src/wizard.c:844:20: error: 'muxes_get_iptv_value4' defined but not used [-Werror=unused-function]
static const void *muxes_get_iptv_value##num(void *o) \
^
src/wizard.c:862:1: note: in expansion of macro 'MUXES_FCN'
MUXES_FCN(4)
^
src/wizard.c:851:12: error: 'muxes_set_iptv_value4' defined but not used [-Werror=unused-function]
static int muxes_set_iptv_value##num(void *o, const void *v) \
^
src/wizard.c:862:1: note: in expansion of macro 'MUXES_FCN'
MUXES_FCN(4)
^
src/wizard.c:844:20: error: 'muxes_get_iptv_value5' defined but not used [-Werror=unused-function]
static const void *muxes_get_iptv_value##num(void *o) \
^
src/wizard.c:863:1: note: in expansion of macro 'MUXES_FCN'
MUXES_FCN(5)
^
src/wizard.c:851:12: error: 'muxes_set_iptv_value5' defined but not used [-Werror=unused-function]
static int muxes_set_iptv_value##num(void *o, const void *v) \
^
src/wizard.c:863:1: note: in expansion of macro 'MUXES_FCN'
MUXES_FCN(5)
^
src/wizard.c:844:20: error: 'muxes_get_iptv_value6' defined but not used [-Werror=unused-function]
static const void *muxes_get_iptv_value##num(void *o) \
^
src/wizard.c:864:1: note: in expansion of macro 'MUXES_FCN'
MUXES_FCN(6)
^
src/wizard.c:851:12: error: 'muxes_set_iptv_value6' defined but not used [-Werror=unused-function]
static int muxes_set_iptv_value##num(void *o, const void *v) \
^
src/wizard.c:864:1: note: in expansion of macro 'MUXES_FCN'
MUXES_FCN(6)
^