[vdr] Compile problem undefined reference to H264

spe at sdmonv.com spe at sdmonv.com
Sun Jan 27 00:03:54 CET 2008


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 at 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





More information about the vdr mailing list