[mythtv] Help needed compiling from CVS (RunProgramGuid signature)

Wouter Lagerweij wouter at lagerweij.com
Fri Jan 24 16:23:32 EST 2003


Hi,

I've been trying to compile the cvs version (since I want myth to work
with my matrox g200), but I'm having a problem compiling mythepg.

[wouter at om mythepg]$ make
g++  -o mythepg main.o   -L/usr/lib/qt3/lib -L/usr/X11R6/lib
-L../../libs/libmyth -L../../libs/libmythtv -L../../libs/libavcodec
-lmythtv -lavcodec -lmyth-0.8 -lXv -lXinerama -lmp3lame -lqt-mt -lXext
-lX11 -lm -lpthread
main.o(.text+0x257): In function `main':
: undefined reference to `RunProgramGuide(MythContext*, QString, bool,
void (*)(void*, unsigned long, int, int, int, int), void*)'
collect2: ld returned 1 exit status
make: *** [mythepg] Error 1

And indeed, the call in mythepg/main.cpp is: 

QString chanstr = RunProgramGuide(context, startchannel);

missing the needed boolean and pointer in the signature of the method.

Anything I can do about this? Or should I just stick to 0.7 for now? (I
haven't tried comiling that version yet...)

thanks,

Wouter
-- 
"I don't see why it matters what is written. Not when it's about people. 
 It can always be crossed out." 
 -- (Terry Pratchett & Neil Gaiman, Good Omens)




More information about the mythtv-dev mailing list