Bug #2460
Unable to disable tracing during build time using --disable-trace
Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2014-11-10
Due date:
% Done:
100%
Estimated time:
Found in version:
3.9.2050~g5a07ff1
Affected Versions:
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
History
Updated by Jaroslav Kysela almost 10 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|89d0dd25c60679cb7fd78efb48d159cf13393cd8.
Updated by Emil W almost 10 years ago
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.