[mythtv-users] Error compiling svn mythplugins

Nick knowledgejunkie at gmail.com
Tue Jun 27 06:22:53 UTC 2006

On 27/06/06, Allan Wilson <allanwilson at gmail.com> wrote:
> 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
> -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. Does anyone have any idea what this error means or seen
> it before? Thanks for any help

See http://cvs.mythtv.org/trac/changeset/10095 for more detailed info.

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."

Which SVN version have you got downloaded?


MythTV Official wiki:
MythTV users list archive:

More information about the mythtv-users mailing list