[mythtv-users] RE: Mfd/mfe fc3 attempted compile

Eric Partington eric_partington at hotmail.com
Wed Jul 27 22:38:31 EDT 2005


Thanks for your suggestion, turns out I needed the FLAC-devel package so
apt-get install flac-devel solved that issue.

Now I got another issue, it appears the ffmpeg either isnt the right version
or in the wrong place.  I am using the atrpms package as per jarod wilson
not source compile.

Here are the mythtv versions I have installed:
[root at mythbox mfd]# rpm -qa | grep mythtv
mythtv-frontend-0.18.1-113.rhfc3.at
mythtv-theme-abstract-0.20040910-2.at
mythtv-theme-visor-0.16.2-5.at
mythtv-themes-0.18.1-113.rhfc3.at
mythtv-setup-0.18.1-113.rhfc3.at
mythtv-theme-sleek-0.35-2.at
mythtv-theme-MythCenter-0.17-1.at
mythtv-theme-photo-4-6.at
mythtv-theme-isthmus-0.20040804-1.at
mythtv-0.18.1-113.rhfc3.at
mythtv-theme-purplegalaxy-0.20031214-3.at
mythtv-backend-0.18.1-113.rhfc3.at
mythtv-theme-MediaCenter-0.17-4.at
mythtv-suite-0.18.1-55.at

The mfd/mfe version is: Checked out revision 6947.

Also found this, not sure how it affects me:

Modified:

trunk/mfd/mfdlib/avfdecoder.cpp
trunk/mfd/mfdlib/httpoutresponse.cpp
trunk/mythplugins/mythmusic/mythmusic/avfdecoder.cpp

Log:

Compile fixes due to recent ffmpeg changes (r6861), requires r6867 mythtv to
be installed.

Here is the output from the compile:
[root at mythbox mfd]# ls
clientlib  config.pro  COPYING   mdcaplib  mfdctl  mfd.pro  options.pro
settings.pro
config.h   configure   Makefile  mfd       mfdlib  mtcplib  README
[root at mythbox mfd]# ./configure

Creating config.pro
Creating config.h
Creating options.pro

Configuration settings:
 
                      dummy support: yes (always)
                 zeroconfig support: yes
                      audio support: yes
                        wma support: yes
                        aac support: no
                daap server support: yes
                daap client support: yes
                http server support: yes
                  mythmusic support: yes
                 transcoder support: yes
               disc watcher support: yes
                 build libmfdclient: yes
                       rtsp support: yes
      prefix for livemedia includes: /usr/include

[root at mythbox mfd]# qmake
[root at mythbox mfd]# make
cd mdcaplib && make -f Makefile
make[1]: Entering directory `/home/mythtv/myth-cvs/mfd/mdcaplib'
qmake -o Makefile mdcaplib.pro
make[1]: Leaving directory `/home/mythtv/myth-cvs/mfd/mdcaplib'
make[1]: Entering directory `/home/mythtv/myth-cvs/mfd/mdcaplib'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/mythtv/myth-cvs/mfd/mdcaplib'
cd mtcplib && make -f Makefile
make[1]: Entering directory `/home/mythtv/myth-cvs/mfd/mtcplib'
qmake -o Makefile mtcplib.pro
make[1]: Leaving directory `/home/mythtv/myth-cvs/mfd/mtcplib'
make[1]: Entering directory `/home/mythtv/myth-cvs/mfd/mtcplib'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/mythtv/myth-cvs/mfd/mtcplib'
cd mfdlib && make -f Makefile
make[1]: Entering directory `/home/mythtv/myth-cvs/mfd/mfdlib'
qmake -o Makefile mfdlib.pro
make[1]: Leaving directory `/home/mythtv/myth-cvs/mfd/mfdlib'
make[1]: Entering directory `/home/mythtv/myth-cvs/mfd/mfdlib'
g++ -c -pipe -Wall -W -g -DMFD_DEBUG_BUILD -D_REENTRANT -fPIC  -D_GNU_SOURCE
-DPREFIX=\"/usr/local\" -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_NO_DEBUG
-I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/local/include
-I/usr/include/cdda -I/usr/lib/qt-3.3/include -o httpoutresponse.o
httpoutresponse.cpp
httpoutresponse.cpp:14:36: mythtv/ffmpeg/avformat.h: No such file or
directory
httpoutresponse.cpp:15:35: mythtv/ffmpeg/avcodec.h: No such file or
directory
httpoutresponse.cpp:28:21: cdaudio.h: No such file or directory
httpoutresponse.cpp:30:28: cdda_interface.h: No such file or directory
httpoutresponse.cpp:31:27: cdda_paranoia.h: No such file or directory
httpoutresponse.cpp: In member function `void
HttpOutResponse::convertToWavAndStreamFile(MFDServiceClientSocket*)':
httpoutresponse.cpp:1466: error: `AVFormatContext' undeclared (first use
this function)
httpoutresponse.cpp:1466: error: (Each undeclared identifier is reported
only once for each function it appears in.)
httpoutresponse.cpp:1466: error: `format_context' undeclared (first use this
function)
httpoutresponse.cpp:1467: error: `AVInputFormat' undeclared (first use this
function)
httpoutresponse.cpp:1467: error: `input_format' undeclared (first use this
function)
httpoutresponse.cpp:1468: error: `AVFormatParameters' undeclared (first use
this function)
httpoutresponse.cpp:1468: error: `format_parameters' undeclared (first use
this function)
httpoutresponse.cpp:1470: error: `av_register_all' undeclared (first use
this function)
httpoutresponse.cpp:1481: error: `av_open_input_file' undeclared (first use
this function)
httpoutresponse.cpp:1493: error: `av_find_stream_info' undeclared (first use
this function)
httpoutresponse.cpp:1498: error: `av_close_input_file' undeclared (first use
this function)
httpoutresponse.cpp:1521: error: `av_estimate_timings' undeclared (first use
this function)
httpoutresponse.cpp:1526: error: `AV_TIME_BASE' undeclared (first use this
function)
httpoutresponse.cpp:1568: error: `AVCodecContext' undeclared (first use this
function)
httpoutresponse.cpp:1568: error: `audio_decoder_context' undeclared (first
use this function)
httpoutresponse.cpp:1580: error: `AVOutputFormat' undeclared (first use this
function)
httpoutresponse.cpp:1580: error: `output_format' undeclared (first use this
function)
httpoutresponse.cpp:1580: error: `guess_format' undeclared (first use this
function)
httpoutresponse.cpp:1597: error: `output_context' undeclared (first use this
function)
httpoutresponse.cpp:1597: error: expected primary-expression before ')'
token
httpoutresponse.cpp:1597: error: expected `;' before "av_mallocz"
httpoutresponse.cpp:1609: error: `AVStream' undeclared (first use this
function)
httpoutresponse.cpp:1609: error: `decoded_stream' undeclared (first use this
function)
httpoutresponse.cpp:1609: error: `av_new_stream' undeclared (first use this
function)
httpoutresponse.cpp:1610: error: `CODEC_TYPE_AUDIO' undeclared (first use
this function)
httpoutresponse.cpp:1616: error: `av_set_parameters' undeclared (first use
this function)
httpoutresponse.cpp:1622: error: `AVCodec' undeclared (first use this
function)
httpoutresponse.cpp:1622: error: `decoding_codec' undeclared (first use this
function)
httpoutresponse.cpp:1622: error: `avcodec_find_decoder' undeclared (first
use this function)
httpoutresponse.cpp:1628: error: `av_free' undeclared (first use this
function)
httpoutresponse.cpp:1638: error: `avcodec_open' undeclared (first use this
function)
httpoutresponse.cpp:1697: error: `av_read_play' undeclared (first use this
function)
httpoutresponse.cpp:1709: error: `AVSEEK_FLAG_BYTE' undeclared (first use
this function)
httpoutresponse.cpp:1709: error: `av_seek_frame' undeclared (first use this
function)
httpoutresponse.cpp:1719: error: `AVPacket' undeclared (first use this
function)
httpoutresponse.cpp:1719: error: `pkt' undeclared (first use this function)
httpoutresponse.cpp:1720: error: expected `;' before "pkt1"
httpoutresponse.cpp:1721: error: `pkt1' undeclared (first use this function)
httpoutresponse.cpp:1724: error: `AVCODEC_MAX_AUDIO_FRAME_SIZE' undeclared
(first use this function)
httpoutresponse.cpp:1728: error: `av_read_frame' undeclared (first use this
function)
httpoutresponse.cpp:1746: error: `samples' undeclared (first use this
function)
httpoutresponse.cpp:1750: error: `avcodec_decode_audio' undeclared (first
use this function)
httpoutresponse.cpp:1790: error: `av_free_packet' undeclared (first use this
function)
httpoutresponse.cpp:1828: error: `cdrom_drive' undeclared (first use this
function)
httpoutresponse.cpp:1828: error: `device' undeclared (first use this
function)
httpoutresponse.cpp:1828: error: `cdda_identify' undeclared (first use this
function)
httpoutresponse.cpp:1838: error: `cdda_open' undeclared (first use this
function)
httpoutresponse.cpp:1840: error: `cdda_close' undeclared (first use this
function)
httpoutresponse.cpp:1847: error: `CDDA_MESSAGE_FORGETIT' undeclared (first
use this function)
httpoutresponse.cpp:1847: error: `cdda_verbose_set' undeclared (first use
this function)
httpoutresponse.cpp:1848: error: `cdda_track_firstsector' undeclared (first
use this function)
httpoutresponse.cpp:1849: error: `cdda_track_lastsector' undeclared (first
use this function)
httpoutresponse.cpp:1859: error: `CD_FRAMESAMPLES' undeclared (first use
this function)
httpoutresponse.cpp:1958: error: `cdrom_paranoia' undeclared (first use this
function)
httpoutresponse.cpp:1958: error: `paranoia' undeclared (first use this
function)
httpoutresponse.cpp:1958: error: `paranoia_init' undeclared (first use this
function)
httpoutresponse.cpp:1959: error: `PARANOIA_MODE_OVERLAP' undeclared (first
use this function)
httpoutresponse.cpp:1959: error: `paranoia_modeset' undeclared (first use
this function)
httpoutresponse.cpp:1961: error: `paranoia_seek' undeclared (first use this
function)
httpoutresponse.cpp:1990: error: `paranoia_read' undeclared (first use this
function)
httpoutresponse.cpp:1992: error: `CD_FRAMESIZE_RAW' undeclared (first use
this function)
httpoutresponse.cpp:2034: error: `paranoia_free' undeclared (first use this
function)
make[1]: *** [httpoutresponse.o] Error 1
make[1]: Leaving directory `/home/mythtv/myth-cvs/mfd/mfdlib'
make: *** [sub-mfdlib] Error 2





More information about the mythtv-users mailing list