Bug #2460
closed
Unable to disable tracing during build time using --disable-trace
Added by Emil W over 10 years ago.
Updated over 10 years ago.
Found in version:
3.9.2050~g5a07ff1
Description
When trying to disable tracing the build fails. I propose fixing the build or just plain remove the configure option :)
# ./configure --disable-trace
# make
CC src/uuid.o
CC src/main.o
CC src/tvhlog.o
CC src/idnode.o
CC src/prop.o
CC src/utils.o
CC src/wrappers.o
CC src/access.o
src/access.c: In function ‘access_get’:
src/access.c:522:3: error: implicit declaration of function ‘access_dump_a’ [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors
make: *** [/usr/src/tvheadend/build.linux/src/access.o] Error 1
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|89d0dd25c60679cb7fd78efb48d159cf13393cd8.
Sorry to open it again, but after fixing this typo another error popped up:
CC src/subscriptions.o
src/subscriptions.c: In function ‘subscription_create_from_channel_or_service’:
src/subscriptions.c:650:15: error: variable ‘pro_name’ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make: *** [/usr/src/tvheadend/build.linux/src/subscriptions.o] Error 1
After fixing this error, the next one pops up:
CC src/input/mpegts/dvb_psi.o
src/input/mpegts/dvb_psi.c: In function ‘dvb_freesat_local_channels’:
src/input/mpegts/dvb_psi.c:470:17: error: variable ‘unk’ set but not used [-Werror=unused-but-set-variable]
src/input/mpegts/dvb_psi.c: In function ‘dvb_bskyb_local_channels’:
src/input/mpegts/dvb_psi.c:704:37: error: variable ‘stype’ set but not used [-Werror=unused-but-set-variable]
src/input/mpegts/dvb_psi.c:704:17: error: variable ‘unk’ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make: *** [/usr/src/tracing.tvheadend/build.linux/src/input/mpegts/dvb_psi.o] Error 1
After fixing this one the code compiles without errors.
Also available in: Atom
PDF