[mythtv] Error compiling latest mythplugins

Allan Wilson allanwilson at gmail.com
Thu Jun 29 19:15:36 UTC 2006


I updated my system to the latest svn and finally got mythtv and myththemes
to compile, install, and run correctly but now when I try to make
mythplugins I get the following error:

make[2]: Entering directory `/home/mythtv/mythplugins/mythdvd/mythdvd'
g++ -c -pipe -march=pentiumpro -I/usr/include/kde/artsc -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -W -O3 -Wall
-Wno-switch -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC  -D_GNU_SOURCE
-DPREFIX=\"/usr\" -DMMX -Di386 -DUSING_FREEBOX -D_FILE_OFFSET_BITSd
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED
-DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include
-I/usr/kde/3.3/include -I/usr/include -I/usr/X11R6/include
-I/usr/include/qt3 -o main.o main.cpp
main.cpp:277:67: error: macro "REG_MEDIA_HANDLER" passed 6 arguments, but
takes just 5
main.cpp:281:67: error: macro "REG_MEDIA_HANDLER" passed 6 arguments, but
takes just 5
main.cpp: In function 'void initKeys()':
main.cpp:276: error: 'REG_MEDIA_HANDLER' was not declared in this scope
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/mythtv/mythplugins/mythdvd/mythdvd'
make[1]: *** [sub-mythdvd] Error 2
make[1]: Leaving directory `/home/mythtv/mythplugins/mythdvd'
make: *** [sub-mythdvd] Error 2

When I run .configure everything looks fine and it says it is going to
install everything. I see where there is a tracking ticket on this but I am
not sure how to fix it. Tracking ticket:
http://cvs.mythtv.org/trac/changeset/10095

An extra argument has been added to REG_MEDIA_HANDLER. The following
note is likely the reason for your failed build - "NOTE: This changes
the MYTH_BINARY_VERSION, so plugins must be recompiled and installed
after you've installed the updated mythtv libs."

When it says plugins must be recompiled after install mythtv libs I am not
sure what it means exactly. I have installed the latest SVN of mythtv and it
compiled and installed correctly. Doesn't it install the latest mythtv libs?
If not how do I get the latest of those? Thanks for any help with this. I'm
sure this is easy and I am overlooking the obvious.

Allan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20060629/ccee1986/attachment.htm 


More information about the mythtv-dev mailing list