[mythtv-users] Error when compiling MythTV with multiproto

David BERCOT mythtv at bercot.org
Mon Mar 24 08:20:57 UTC 2008


Hi,

My dependencies problems are solved. But, now, I have an error with
dvbchannel.cpp.

First, when compiling, I have this error :
make[2]: entrant dans le répertoire
« /opt/dvb/release-0-21-fixes/mythtv/libs/libmythtv » g++ -c -pipe -g
-march=k8 -fomit-frame-pointer -O3 -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS
-I/usr/include/freetype2 -D_REENTRANT -DPIC -fPIC  -DMMX -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\"
-DLIBDIR=\"/usr/local/lib\" -D_LARGEFILE_SOURCE -DUSING_OSS
-DUSING_H264TOOLS -DUSING_X11 -DUSING_XV -DUSING_OPENGL
-DUSING_FRONTEND -DUSING_FFMPEG_THREADS -DUSING_V4L -DUSING_DBOX2
-DUSING_IPTV -DUSING_HDHOMERUN -DUSING_IVTV -DUSING_DVB -DUSING_BACKEND
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT
-I/usr/share/qt3/mkspecs/default -I. -I/usr/local/include
-I/usr/include -I../.. -I.. -I. -I../libmyth -I../libavcodec
-I../libavutil -I../libmythmpeg2 -Idvbdev -Impeg -Iiptv
-I../libmythlivemedia/BasicUsageEnvironment/include
-I../libmythlivemedia/groupsock/include
-I../libmythlivemedia/liveMedia/include
-I../libmythlivemedia/UsageEnvironment/include -I/usr/include/qt3
-I/usr/X11R6/include -I/usr/X11R6/include -o dvbchannel.o
dvbchannel.cpp dvbchannel.cpp: In member function ‘bool
DVBChannel::Open(DVBChannel*)’: dvbchannel.cpp:213: error: ‘dvbfe_info’
was not declared in this scope dvbchannel.cpp:213: error: expected `;'
before ‘fe_info’ dvbchannel.cpp:214: error: ‘fe_info’ was not declared
in this scope dvbchannel.cpp:215: error: ‘DVBFE_DELSYS_DVBS’ was not
declared in this scope dvbchannel.cpp:216: error: ‘DVBFE_GET_INFO’ was
not declared in this scope dvbchannel.cpp: In member function ‘bool
DVBChannel::Tune(const DTVMultiplex&, uint, bool, bool)’:
dvbchannel.cpp:775: error: aggregate ‘dvbfe_params fe_params’ has
incomplete type and cannot be defined dvbchannel.cpp:776: error:
‘DVBFE_DELSYS_DVBS’ was not declared in this scope dvbchannel.cpp:786:
error: ‘DVBFE_DELSYS_DVBS’ cannot appear in a constant-expression
dvbchannel.cpp:788: error: ‘DVBFE_FEC_AUTO’ was not declared in this
scope dvbchannel.cpp:789: error: ‘DVBFE_MOD_AUTO’ was not declared in
this scope dvbchannel.cpp:791: error: expected unqualified-id before
‘.’ token dvbchannel.cpp:794: error: ‘DVBFE_DELSYS_DVBS2’ was not
declared in this scope dvbchannel.cpp:808: error: ‘DVBFE_SET_PARAMS’
was not declared in this scope make[2]: *** [dvbchannel.o] Erreur 1
make[2]: quittant le répertoire
« /opt/dvb/release-0-21-fixes/mythtv/libs/libmythtv » make[1]: ***
[sub-libmythtv] Erreur 2 make[1]: quittant le répertoire
« /opt/dvb/release-0-21-fixes/mythtv/libs » make: *** [sub-libs] Erreur
2

Then, I've added, in 'libs/libmythtv/Makefile', the following code
(in INCPATH) : -I/opt/dvb/multiproto/linux/include [in order to have
multiproto files]
But I still have an error :
make[2]: entrant dans le répertoire
« /opt/dvb/release-0-21-fixes/mythtv/libs/libmythtv » g++ -c -pipe -g
-march=k8 -fomit-frame-pointer -O3 -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS
-I/usr/include/freetype2 -D_REENTRANT -DPIC -fPIC  -DMMX -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\"
-DLIBDIR=\"/usr/local/lib\" -D_LARGEFILE_SOURCE -DUSING_OSS
-DUSING_H264TOOLS -DUSING_X11 -DUSING_XV -DUSING_OPENGL
-DUSING_FRONTEND -DUSING_FFMPEG_THREADS -DUSING_V4L -DUSING_DBOX2
-DUSING_IPTV -DUSING_HDHOMERUN -DUSING_IVTV -DUSING_DVB -DUSING_BACKEND
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT
-I/usr/share/qt3/mkspecs/default -I. -I/usr/local/include
-I/usr/include -I../.. -I.. -I. -I../libmyth -I../libavcodec
-I../libavutil -I../libmythmpeg2 -Idvbdev -Impeg -Iiptv
-I../libmythlivemedia/BasicUsageEnvironment/include
-I../libmythlivemedia/groupsock/include
-I../libmythlivemedia/liveMedia/include
-I../libmythlivemedia/UsageEnvironment/include -I/usr/include/qt3
-I/usr/X11R6/include -I/usr/X11R6/include
-I/opt/dvb/multiproto/linux/include -o dvbchannel.o dvbchannel.cpp
dvbchannel.cpp: In member function ‘bool
DVBChannel::Open(DVBChannel*)’: dvbchannel.cpp:215: error: ‘struct
dvbfe_info’ has no member named ‘delivery’ dvbchannel.cpp: In member
function ‘bool DVBChannel::Tune(const DTVMultiplex&, uint, bool,
bool)’: dvbchannel.cpp:791: error: expected unqualified-id before ‘.’
token make[2]: *** [dvbchannel.o] Erreur 1 make[2]: quittant le
répertoire « /opt/dvb/release-0-21-fixes/mythtv/libs/libmythtv »
make[1]: *** [sub-libmythtv] Erreur 2 make[1]: quittant le répertoire
« /opt/dvb/release-0-21-fixes/mythtv/libs » make: *** [sub-libs] Erreur
2

Do you have any idea to solve this ?

Thank you very much.

David.



More information about the mythtv-users mailing list