Bug #1510
Unable to compile: TRANSMISSION_MODE_4K undeclared
Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2013-01-08
Due date:
% Done:
0%
Estimated time:
Found in version:
3.3-284-g92c89bc
Affected Versions:
Description
I'm unable to compile the latest git. The last version that works is 93fe784960.
CC build.linux/src/dvb/dvb_tables.o /root/tvheadend/tvheadend/src/dvb/dvb_tables.c:633: error: ‘TRANSMISSION_MODE_4K’ undeclared here (not in a function) make: *** [build.linux/src/dvb/dvb_tables.o] Error 1I'm using gcc version 4.3.2 (Debian 4.3.2-1.1). About the linux/dvb/version.h file that you've asked me to attach, I have splitted it in two copies (don't know if it matters or not):
- debian-version.h resides in /usr/include on the Debian VM that I'm using to compile TVHeadend.
- QNAP-version.h is the file that it is used to build the DVB subsystem and kernel modules on the QNAP which will run TVHeadend eventually.
I've attached both because they differ.
Files
History
Updated by polini - almost 12 years ago
I have the same issue with fresh git:
tvheadend/src/dvb/dvb_tables.c:636: error: ‘TRANSMISSION_MODE_4K’ undeclared here (not in a function) make: *** [build.linux/src/dvb/dvb_tables.o] Fehler 1
/usr/include/linux/dvb/version.h
#ifndef _DVBVERSION_H_ #define _DVBVERSION_H_ #define DVB_API_VERSION 5 #define DVB_API_VERSION_MINOR 0 #endif /*_DVBVERSION_H_*/
Seems if TRANSMISSION_MODE_4K requires DVB API >= 5.1 ?!?