
patrickb at umich
May 28, 2003, 5:38 AM
Post #18 of 19
(7161 views)
Permalink
|
On Friday 23 May 2003 5:55 pm, you wrote: > I didn't make that many changes to that file so it should be > easy to manually apply the patch. Just take a look at what the .rej > file says. Done. That part was easier that I thought! > p> main.cpp: In function `int main(int, char**)': > p> main.cpp:16: no matching function for call to > `MythContext::MythContext()' > > I think this may be a problem with loss of history after the > CVS repository was restored. Try changing that line to: > > gContext = new MythContext(MYTH_BINARY_VERSION); After making that change in mythtv/main.cpp, it compiled on and gave me the same error for mythepg/main.cpp, so I made the same change to that file. That brings me to the latest error: -------snip-------- [spumco[at]mypowerbook mythtv]$ make cd libs && make -f Makefile make[1]: Entering directory `/home/spumco/myth/mythtv/libs' cd libavcodec && make -f Makefile make[2]: Entering directory `/home/spumco/myth/mythtv/libs/libavcodec' make[2]: Nothing to be done for `first'. make[2]: Leaving directory `/home/spumco/myth/mythtv/libs/libavcodec' cd libavformat && make -f Makefile make[2]: Entering directory `/home/spumco/myth/mythtv/libs/libavformat' make[2]: Nothing to be done for `first'. make[2]: Leaving directory `/home/spumco/myth/mythtv/libs/libavformat' cd libmyth && make -f Makefile make[2]: Entering directory `/home/spumco/myth/mythtv/libs/libmyth' make[2]: Nothing to be done for `first'. make[2]: Leaving directory `/home/spumco/myth/mythtv/libs/libmyth' cd libvbitext && make -f Makefile make[2]: Entering directory `/home/spumco/myth/mythtv/libs/libvbitext' make[2]: Nothing to be done for `first'. make[2]: Leaving directory `/home/spumco/myth/mythtv/libs/libvbitext' cd libmythtv && make -f Makefile make[2]: Entering directory `/home/spumco/myth/mythtv/libs/libmythtv' make[2]: Nothing to be done for `first'. make[2]: Leaving directory `/home/spumco/myth/mythtv/libs/libmythtv' make[1]: Leaving directory `/home/spumco/myth/mythtv/libs' cd filters && make -f Makefile make[1]: Entering directory `/home/spumco/myth/mythtv/filters' cd invert && make -f Makefile make[2]: Entering directory `/home/spumco/myth/mythtv/filters/invert' make[2]: Nothing to be done for `first'. make[2]: Leaving directory `/home/spumco/myth/mythtv/filters/invert' cd linearblend && make -f Makefile make[2]: Entering directory `/home/spumco/myth/mythtv/filters/linearblend' make[2]: Nothing to be done for `first'. make[2]: Leaving directory `/home/spumco/myth/mythtv/filters/linearblend' make[1]: Leaving directory `/home/spumco/myth/mythtv/filters' cd programs && make -f Makefile make[1]: Entering directory `/home/spumco/myth/mythtv/programs' cd mythepg && make -f Makefile make[2]: Entering directory `/home/spumco/myth/mythtv/programs/mythepg' g++ -c -pipe -Wall -W -O6 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -mcpu=7400 -D_REENTRANT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I/usr/local/include -I../../libs -I../../libs/libmyth -I/usr/lib/qt3/include -o main.o main.cpp g++ -o mythepg main.o -L/usr/lib/qt3/lib -L/usr/X11R6/lib -L../../libs/libmyth -L../../libs/libmythtv -L../../libs/libavcodec -L../../libs/libvbitext -lmythtv -lavcodec -lvbitext -lmyth-0.9 -lXv -lXinerama -lmp3lame -lqt-mt -lXext -lX11 -lm -lpthread ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0x164): In function `AvFormatDecoder::~AvFormatDecoder [not-in-charge]()': : undefined reference to `av_close_input_file' ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0x164): In function `AvFormatDecoder::~AvFormatDecoder [not-in-charge]()': : relocation truncated to fit: R_PPC_REL24 av_close_input_file ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0x1c4): In function `AvFormatDecoder::~AvFormatDecoder [in-charge]()': : undefined reference to `av_close_input_file' ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0x1c4): In function `AvFormatDecoder::~AvFormatDecoder [in-charge]()': : relocation truncated to fit: R_PPC_REL24 av_close_input_file ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0x228): In function `AvFormatDecoder::~AvFormatDecoder [in-charge deleting]()': : undefined reference to `av_close_input_file' ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0x228): In function `AvFormatDecoder::~AvFormatDecoder [in-charge deleting]()': : relocation truncated to fit: R_PPC_REL24 av_close_input_file ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0x34c): In function `AvFormatDecoder::CanHandle(char*, QString const&)': : undefined reference to `av_register_all' ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0x34c): In function `AvFormatDecoder::CanHandle(char*, QString const&)': : relocation truncated to fit: R_PPC_REL24 av_register_all ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0x374): In function `AvFormatDecoder::CanHandle(char*, QString const&)': : undefined reference to `av_probe_input_format' ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0x374): In function `AvFormatDecoder::CanHandle(char*, QString const&)': : relocation truncated to fit: R_PPC_REL24 av_probe_input_format ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0x5a8): In function `AvFormatDecoder::OpenFile(RingBuffer*, bool, char*)': : undefined reference to `av_probe_input_format' ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0x5a8): In function `AvFormatDecoder::OpenFile(RingBuffer*, bool, char*)': : relocation truncated to fit: R_PPC_REL24 av_probe_input_format ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0x708): In function `AvFormatDecoder::OpenFile(RingBuffer*, bool, char*)': : undefined reference to `av_open_input_file' ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0x708): In function `AvFormatDecoder::OpenFile(RingBuffer*, bool, char*)': : relocation truncated to fit: R_PPC_REL24 av_open_input_file ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0x71c): In function `AvFormatDecoder::OpenFile(RingBuffer*, bool, char*)': : undefined reference to `av_find_stream_info' ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0x71c): In function `AvFormatDecoder::OpenFile(RingBuffer*, bool, char*)': : relocation truncated to fit: R_PPC_REL24 av_find_stream_info ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0x820): In function `AvFormatDecoder::OpenFile(RingBuffer*, bool, char*)': : undefined reference to `dump_format' ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0x820): In function `AvFormatDecoder::OpenFile(RingBuffer*, bool, char*)': : relocation truncated to fit: R_PPC_REL24 dump_format ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0xba8): In function `AvFormatDecoder::GetFrame(int)': : undefined reference to `av_read_packet' ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0xba8): In function `AvFormatDecoder::GetFrame(int)': : relocation truncated to fit: R_PPC_REL24 av_read_packet ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0x1080): In function `avf_write_packet(void*, unsigned char*, int)': : undefined reference to `url_write' ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0x1080): In function `avf_write_packet(void*, unsigned char*, int)': : relocation truncated to fit: R_PPC_REL24 url_write ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0x10a0): In function `avf_read_packet(void*, unsigned char*, int)': : undefined reference to `url_read' ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0x10a0): In function `avf_read_packet(void*, unsigned char*, int)': : relocation truncated to fit: R_PPC_REL24 url_read ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0x10c0): In function `avf_seek_packet(void*, long long, int)': : undefined reference to `url_seek' ../../libs/libmythtv/libmythtv.a(avformatdecoder.o)(.text+0x10c0): In function `avf_seek_packet(void*, long long, int)': : relocation truncated to fit: R_PPC_REL24 url_seek collect2: ld returned 1 exit status make[2]: *** [mythepg] Error 1 make[2]: Leaving directory `/home/spumco/myth/mythtv/programs/mythepg' make[1]: *** [sub-mythepg] Error 2 make[1]: Leaving directory `/home/spumco/myth/mythtv/programs' make: *** [sub-programs] Error 2 [spumco[at]mypowerbook mythtv]$ -------snip-------- At this point, would it be easier to have you generate a patch for a version of MythTV after the CVS change? I would be very interested in that if you think continuing with this current patch is too much of a hassle. Thank you very much for your help and time. It is much appreciated!!! I'm very excited about getting MythTV to work on my Powerbook via 802.11b. Once I get it compiled, I'll let you know if the video preview works correctly. Thanks again, Patrick
|