Hello,
I try to compile a new vdr-1.5.13. I patched it with vdr-1.5.13-dvbs2-h264-syncearly-framespersec-audioindexer-fielddetection-speedup.diff I also changed the Makefile as advised When I compile, I get :
root@pccave:/usr/local/src/vdr-1.5.13# make g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -rdynamic audio.o channels.o ci.o config.o cutter.o device.o diseqc.o dvbdevice.o dvbci.o dvbosd.o dvbplayer.o dvbspu.o dvbsubtitle.o eit.o eitscan.o epg.o filter.o font.o i18n.o interface.o keys.o lirc.o menu.o menuitems.o nit.o osdbase.o osd.o pat.o player.o plugin.o rcu.o receiver.o recorder.o recording.o remote.o remux.o ringbuffer.o sdt.o sections.o shutdown.o skinclassic.o skins.o skinsttng.o sources.o spu.o status.o svdrp.o themes.o thread.o timers.o tools.o transfer.o vdr.o videodir.o -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig ./libsi/libsi.a -o vdr remux.o: In function `cVideoRepacker::DetermineFramePicture()': /usr/local/src/VDR/remux.c:689: undefined reference to `H264::cSimpleBuffer::Get(int&)' remux.o: In function `cVideoRepacker::BeginCollectingPictureExtension()': /usr/local/src/VDR/remux.c:676: undefined reference to `H264::cSimpleBuffer::Clear()' remux.o: In function `~cParser': /usr/local/src/VDR/h264parser.h:371: undefined reference to `H264::cSimpleBuffer::~cSimpleBuffer()' remux.o: In function `~cAudGenerator': /usr/local/src/VDR/remux.c:251: undefined reference to `H264::cSimpleBuffer::~cSimpleBuffer()' remux.o: In function `cAudGenerator::CollectData(unsigned char const*, int)': /usr/local/src/VDR/remux.c:275: undefined reference to `H264::cSimpleBuffer::Put(unsigned char const*, int)' remux.o: In function `cVideoRepacker::Reset()': /usr/local/src/VDR/remux.c:454: undefined reference to `H264::cParser::Reset()' /usr/local/src/VDR/remux.c:460: undefined reference to `H264::cSimpleBuffer::Clear()' remux.o: In function `~cAudGenerator': /usr/local/src/VDR/remux.c:251: undefined reference to `H264::cSimpleBuffer::~cSimpleBuffer()' remux.o: In function `cAudGenerator': /usr/local/src/VDR/remux.c:265: undefined reference to `H264::cSimpleBuffer::cSimpleBuffer(int)' /usr/local/src/VDR/remux.c:265: undefined reference to `H264::cSimpleBuffer::cSimpleBuffer(int)' remux.o: In function `cAudGenerator::Generate(cRingBufferLinear*)': /usr/local/src/VDR/remux.c:370: undefined reference to `H264::cSimpleBuffer::Clear()' /usr/local/src/VDR/remux.c:356: undefined reference to `H264::cSimpleBuffer::Get(int&)' remux.o: In function `~cAudGenerator': /usr/local/src/VDR/remux.c:251: undefined reference to `H264::cSimpleBuffer::~cSimpleBuffer()' remux.o: In function `cVideoRepacker::HandleNalUnit(unsigned char const*, cRingBufferLinear*, unsigned char const*&, unsigned char, ePesHeader, unsigned char const*&)': /usr/local/src/VDR/remux.c:521: undefined reference to `H264::cParser::Process()' remux.o: In function `cVideoRepacker': /usr/local/src/VDR/remux.c:435: undefined reference to `H264::cSimpleBuffer::cSimpleBuffer(int)' /usr/local/src/VDR/remux.c:439: undefined reference to `H264::cParser::cParser(bool)' /usr/local/src/VDR/remux.c:442: undefined reference to `H264::cSimpleBuffer::~cSimpleBuffer()' /usr/local/src/VDR/remux.c:435: undefined reference to `H264::cSimpleBuffer::cSimpleBuffer(int)' /usr/local/src/VDR/remux.c:439: undefined reference to `H264::cParser::cParser(bool)' /usr/local/src/VDR/remux.c:442: undefined reference to `H264::cSimpleBuffer::~cSimpleBuffer()' remux.o: In function `~cParser': /usr/local/src/VDR/h264parser.h:371: undefined reference to `H264::cSimpleBuffer::~cSimpleBuffer()' remux.o: In function `~cAudGenerator': /usr/local/src/VDR/remux.c:251: undefined reference to `H264::cSimpleBuffer::~cSimpleBuffer()' remux.o: In function `~cVideoRepacker': /usr/local/src/VDR/remux.c:448: undefined reference to `H264::cSimpleBuffer::~cSimpleBuffer()' /usr/local/src/VDR/remux.c:448: undefined reference to `H264::cSimpleBuffer::~cSimpleBuffer()' remux.o:/usr/local/src/VDR/h264parser.h:371: more undefined references to `H264::cSimpleBuffer::~cSimpleBuffer()' follow remux.o: In function `cVideoRepacker::CollectData(unsigned char const*, int)': /usr/local/src/VDR/remux.c:492: undefined reference to `H264::cParser::PutNalUnitData(unsigned char const*, int)' /usr/local/src/VDR/remux.c:494: undefined reference to `H264::cSimpleBuffer::Put(unsigned char const*, int)' tools.o: In function `cUnbufferedFile::GetFramesPerSec()': /usr/local/src/VDR/tools.c:1664: undefined reference to `H264::cParser::cParser(bool)' /usr/local/src/VDR/tools.c:1671: undefined reference to `H264::cParser::PutNalUnitData(unsigned char const*, int)' /usr/local/src/VDR/tools.c:1673: undefined reference to `H264::cParser::Process()' /usr/local/src/VDR/tools.c:1674: undefined reference to `H264::cContext::GetFramesPerSec() const' tools.o: In function `~cParser': /usr/local/src/VDR/h264parser.h:371: undefined reference to `H264::cSimpleBuffer::~cSimpleBuffer()' tools.o: In function `~cParser': /usr/local/src/VDR/tools.c:1622: undefined reference to `H264::cSimpleBuffer::~cSimpleBuffer()' collect2: ld a retourné 1 code d'état d'exécution make: *** [vdr] Erreur 1
thanks for your help
serge
Hi,
spe@sdmonv.com schrieb:
I try to compile a new vdr-1.5.13. I patched it with vdr-1.5.13-dvbs2-h264-syncearly-framespersec-audioindexer-fielddetection-speedup.diff I also changed the Makefile as advised When I compile, I get :
root@pccave:/usr/local/src/vdr-1.5.13# make g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -rdynamic audio.o channels.o ci.o config.o cutter.o device.o diseqc.o dvbdevice.o dvbci.o dvbosd.o dvbplayer.o dvbspu.o dvbsubtitle.o eit.o eitscan.o epg.o filter.o font.o i18n.o interface.o keys.o lirc.o menu.o menuitems.o nit.o osdbase.o osd.o pat.o player.o plugin.o rcu.o receiver.o recorder.o recording.o remote.o remux.o ringbuffer.o sdt.o sections.o shutdown.o skinclassic.o skins.o skinsttng.o sources.o spu.o status.o svdrp.o themes.o thread.o timers.o tools.o transfer.o vdr.o videodir.o -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig ./libsi/libsi.a -o vdr
Seems like your Makefile didn't get this hunk of the patch applied:
diff -Nurp ../vdr-1.5.13-orig/Makefile ./Makefile --- ../vdr-1.5.13-orig/Makefile 2008-01-13 13:53:17.000000000 +0100 +++ ./Makefile 2008-01-19 23:43:30.000000000 +0100 @@ -41,7 +41,7 @@ OBJS = audio.o channels.o ci.o config.o lirc.o menu.o menuitems.o nit.o osdbase.o osd.o pat.o player.o plugin.o rcu.o\ receiver.o recorder.o recording.o remote.o remux.o ringbuffer.o sdt.o sections.o shutdown.o\ skinclassic.o skins.o skinsttng.o sources.o spu.o status.o svdrp.o themes.o thread.o\
timers.o tools.o transfer.o vdr.o videodir.o
timers.o tools.o transfer.o vdr.o videodir.o h264parser.o
ifndef NO_KBD DEFINES += -DREMOTE_KBD
Bye.