[mythtv] Undefined reference in mfd compile

Rob Rosenfeld mythtv.org at rosenfeld.to
Tue May 10 21:28:50 UTC 2005


thor wrote:

>On Tuesday 10 May 2005 03:46 pm, Rob Rosenfeld wrote:
>  
>
>>Sync'd to CVS today and tried to compile.
>>
>>g++  -o mfd main.o mfd.o pluginmanager.o serversocket.o logging.o
>>mdserver.o dbcheck.o mdcaprequest.o mdcapsession.o signalthread.o
>>servicelister.o moc_mfd.o moc_pluginmanager.o moc_serversocket.o
>>moc_logging.o   -L/usr/qt/3/lib -L/usr/X11R6/lib -Wl,--export-dynamic
>>-L../mfdlib/ -lmfdlib -L../mdcaplib/ -lmdcap -L/usr/lib -lmyth-0.18
>>-lmythavformat-0.18 -lmythavcodec-0.18 -Wl,-rpath,/usr/lib -lqt-mt
>>-lXext -lX11 -lm -lpthread
>>mdserver.o(.text+0x29e7): In function
>>`MetadataServer::doAtomicDataDelta(MetadataContainer*,
>>QIntDict<Metadata>*, QValueList<int>, QValueList<int>,
>>QIntDict<Playlist>*, QValueList<int>, QValueList<int>, bool, bool, bool)':
>>/root/download/mythtv/mfd/mfd/mdserver.cpp:864: undefined reference to
>>`MetadataContainer::dataDelta(QIntDict<Metadata>*, QValueList<int>,
>>QValueList<int>, QIntDict<Playlist>*, QValueList<int>, QValueList<int>,
>>bool, bool, bool)'
>>collect2: ld returned 1 exit status
>>
>>    
>>
>
> Very odd. If I had to guess, I'd say you've got old libmfd header files 
>installed somewhere?
>
> Try cd'ing into /mfd/mfdlib, and doing a make; make install. Then go back up 
>to ./mfd and try to build again?
>
>- thor
>
>
> 
>  
>

Yep, that did it.  Start a make in mfd (make won't work in mfd/mfdlib 
after a make distclean), let the error occur.  Then cd down into mfdlib 
and do as you suggested.  `


More information about the mythtv-dev mailing list