[mythtv] 25-fixes compile error V4L2_MPEG_AUDIO_ENCODING_AC3
Dave Badia
dbadia at gmail.com
Wed Aug 22 22:36:25 UTC 2012
I did a git update to the latest 25-fixes last night and I'm getting
the compile error below. Tried clean distclean but still see the
problem.
I see that V4L2_MPEG_AUDIO_ENCODING_AC3 was introduced in the
following commit, is there some new kernel version/hdpvr driver
requirement with this change?
https://github.com/MythTV/mythtv/commit/d3a5b0a59ec27533d1bb563ed0bf9782898e937c
Running gentoo with a 2.6.37.2 kernel
g++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DNDEBUG
-fomit-frame-pointer -fPIC -g -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time
-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O3
-fvisibility-inlines-hidden -Wmissing-declarations
-I/usr/include/freetype2 -fvisibility=hidden -D_REENTRANT -fPIC -DMMX
-D_GNU_SOURCE -DUSING_X11 -DUSING_XV -DUSING_VDPAU -DUSING_OPENGL
-DUSING_OPENGL_VIDEO -DUSING_MHEG -DUSING_FRONTEND
-DUSING_FFMPEG_THREADS -DUSING_ALSA -DUSING_OSS -DUSING_V4L2
-DUSING_V4L1 -DUSING_IPTV -DUSING_HDHOMERUN -DUSING_CETON -DUSING_IVTV
-DUSING_HDPVR -DUSING_DVB -DUSING_BACKEND -DMTV_API -DQT_SQL_LIB
-DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I.
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork
-I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL
-I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4
-I/usr/local -I/usr/include/libxml2 -I.. -I../..
-I../../external/FFmpeg -I. -I../libmyth -I../libmyth/audio
-I../libmythbase -I../libmythhdhomerun -I../libmythdvdnav
-I../libmythbluray -Idvbdev -Impeg -Iiptv -Ichannelscan
-Ivisualisations -I../libmythlivemedia/BasicUsageEnvironment/include
-I../libmythlivemedia/BasicUsageEnvironment
-I../libmythlivemedia/groupsock/include
-I../libmythlivemedia/groupsock
-I../libmythlivemedia/liveMedia/include
-I../libmythlivemedia/liveMedia
-I../libmythlivemedia/UsageEnvironment/include
-I../libmythlivemedia/UsageEnvironment -I../libmythbase -I../libmythui
-I../libmythupnp -I../libmythservicecontracts -I/usr/include
-I/usr/X11R6/include -I. -o analogsignalmonitor.o
analogsignalmonitor.cpp
analogsignalmonitor.cpp: In member function 'bool
AnalogSignalMonitor::VerifyHDPVRaudio(int)':
analogsignalmonitor.cpp:44: error: 'V4L2_MPEG_AUDIO_ENCODING_AC3' was
not declared in this scope
analogsignalmonitor.cpp:54: warning: unused variable 'audio_enc'
analogsignalmonitor.cpp: In member function 'bool
AnalogSignalMonitor::handleHDPVR(int)':
analogsignalmonitor.cpp:137: warning: comparison between signed and
unsigned integer expressions
analogsignalmonitor.cpp:119: warning: unused variable 'command'
analogsignalmonitor.cpp:120: warning: unused variable 'polls'
make[2]: *** [analogsignalmonitor.o] Error 1
make[2]: Leaving directory `/home/dave/pvr/myth25f/mythtv/libs/libmythtv'
make[1]: *** [sub-libmythtv-make_default] Error 2
make[1]: Leaving directory `/home/dave/pvr/myth25f/mythtv/libs'
make: *** [libs] Error 2
output from configure:
# Basic Settings
Compile type profile
Compiler cache no
DistCC no
qmake /usr/bin/qmake
install prefix /usr/local
runtime prefix /usr/local
CPU x86 x86_64 (AMD Athlon(tm) 64 X2 Dual Core
Processor 5600+)
yasm yes
MMX enabled yes
MMX2 enabled yes
3DNow! enabled yes
3DNow! extended enabled yes
SSE enabled yes
SSSE3 enabled yes
CMOV enabled yes
# Input Support
Joystick menu yes
lirc support yes
libCEC device support no [/usr/include]
Video4Linux sup. yes (v1 yes)
ivtv support yes
HD-PVR support yes
FireWire support no
DVB support yes [/usr/include]
DVB-S2 support no
HDHomeRun support yes
Ceton support yes
IPTV support yes
ASI support no
# Sound Output Support
PulseAudio support no
OSS support yes
ALSA support yes
JACK support yes
libfftw3 support no
# Video Output Support
x11 support yes
xrandr support yes
xv support yes
VDPAU support yes
VAAPI support no
CrystalHD support no
OpenGL video yes
MHEG support yes
libass subtitle support no
# Misc Features
multi threaded libavcodec yes
libxml2 support yes [/usr/include/libxml2]
libdns_sd (Bonjour) no
libcrypto yes
Frontend yes
Backend yes
OpenGL ES 2.0 no
# Bindings
bindings_perl yes
bindings_python yes
bindings_php yes
# External Codec Options
mp3lame no
faac no
xvid no
x264 no
vpx no
Creating libs/libmythbase/mythconfig.h and libs/libmythbase/mythconfig.mak
More information about the mythtv-dev
mailing list