On Sunday I downloaded mythtv, mythplugins, and myththemes from the svn and then compiled and installed all three. I ran in to problems with mythtv and mythplugins compliling. I fixed the mythtv problem by deleting the libraries in /usr/local/lib, on Ubuntu I should be using /usr/lib, and compiling it with ./configure --prefix=/usr. Everything is good with mythtv. Now when I try to compile mythplugins with ./configure --prefix=/usr I get the compiler errors listed above.
<br><br>Allan<br><br><div><span class="gmail_quote">On 6/27/06, <b class="gmail_sendername">Michael T. Dean</b> <<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 06/26/2006 10:36 PM, Allan Wilson wrote:<br>> I updated my system to the latest svn and finally got mythtv and<br>> myththemes to compile, install, and run correctly but now when I try<br>> to make mythplugins I get the following error:
<br>><br>> make[2]: Entering directory `/home/mythtv/mythplugins/mythdvd/mythdvd'<br>> g++ -c -pipe -march=pentiumpro -I/usr/include/kde/artsc -pthread<br>> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -W -O3 -Wall
<br>> -Wno-switch -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC<br>> -D_GNU_SOURCE -DPREFIX=\"/usr\" -DMMX -Di386 -DUSING_FREEBOX<br>> -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN
<br>> -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I.<br>> -I/usr/include -I/usr/kde/3.3/include -I/usr/include<br>> -I/usr/X11R6/include -I/usr/include/qt3 -o main.o main.cpp<br>> main.cpp
:277:67: error: macro "REG_MEDIA_HANDLER" passed 6 arguments,<br>> but takes just 5<br>> main.cpp:281:67: error: macro "REG_MEDIA_HANDLER" passed 6 arguments,<br>> but takes just 5<br>> main.cpp
: In function 'void initKeys()':<br>> main.cpp:276: error: 'REG_MEDIA_HANDLER' was not declared in this scope<br>> make[2]: *** [main.o] Error 1<br>> make[2]: Leaving directory `/home/mythtv/mythplugins/mythdvd/mythdvd'
<br>> make[1]: *** [sub-mythdvd] Error 2<br>> make[1]: Leaving directory `/home/mythtv/mythplugins/mythdvd'<br>> make: *** [sub-mythdvd] Error 2<br>><br>> When I run .configure everything looks fine and it says it is going to
<br>> install everything. Does anyone have any idea what this error means or<br>> seen it before? Thanks for any help<br><br>Install mythtv before compiling mythplugins.<br><br>Mike<br>_______________________________________________
<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
</a><br></blockquote></div><br>