Project

General

Profile

Bug #1510

Unable to compile: TRANSMISSION_MODE_4K undeclared

Added by virtual dj almost 12 years ago. Updated almost 12 years ago.

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 1
I'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

version.h.tar.gz (719 Bytes) version.h.tar.gz virtual dj, 2013-01-08 20:40

History

#1

Updated by Dave Chapman almost 12 years ago

Should be fixed in commit:aa1eaff.

#2

Updated by virtual dj almost 12 years ago

Yes, it works now. Thanks!

#3

Updated by Adam Sutton almost 12 years ago

  • Status changed from New to Fixed
#4

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 ?!?

#5

Updated by polini - almost 12 years ago

Fixed with rev 60371b07.

Also available in: Atom PDF