<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 3/29/2010 12:56 PM, Chris Thauberger wrote:
<blockquote cite="mid:4BB0875F.AAEE.006A.0@allstartech.com" type="cite">
  <meta http-equiv="Content-Type"
 content="text/html; charset=ISO-8859-1">
  <meta content="MSHTML 6.00.6000.16981" name="GENERATOR">
  <pre>&gt;&gt;<i> I have been having a strange issue with anything newer than r23736 (0.23)
</i>&gt;&gt;<i> Here's the details.
</i>&gt;&gt;<i> I have a dedicated backend, and two virtually identical dedicated 
</i>&gt;&gt;<i> frontends.
</i>&gt;&gt;<i> Running since release 0-21-fixes, then 22-fixes once released, and for 
</i>&gt;&gt;<i> the last few moths, 0.23 trunk.
</i>&gt;&gt;<i> Everything was working fine throughout, up until r23736 (last fully 
</i>&gt;&gt;<i> succesful rev.)
</i>&gt;&gt;<i> Now, since that revision, the backend is still fine, and one of the 
</i>&gt;&gt;<i> two frontends is fine.
</i>&gt;&gt;<i> My problem is on the second frontend.
</i>&gt;&gt;<i> I get the following error on building of mythtv (mythplugins builds fine)
</i>&gt;&gt;<i> main.o: In function `reloadTheme()':
</i>&gt;&gt;<i> /usr/src/mythtv-0.23/mythtv/programs/mythfrontend/main.cpp:884: 
</i>&gt;&gt;<i> undefined reference to `MythMainWindow::SetEffcetsEnabled(bool)'
</i>&gt;&gt;<i> /usr/src/mythtv-0.23/mythtv/programs/mythfrontend/main.cpp:895: 
</i>&gt;&gt;<i> undefined reference to `MythMainWindow::SetEffcetsEnabled(bool)'
</i>&gt;&gt;<i> collect2: ld returned 1 exit status
</i>&gt;&gt;<i> make[2]: *** [mythfrontend] Error 1
</i>&gt;&gt;<i> make[2]: Leaving directory 
</i>&gt;&gt;<i> `/usr/src/mythtv-0.23/mythtv/programs/mythfrontend'
</i>&gt;&gt;<i> make[1]: *** [sub-mythfrontend-make_default] Error 2
</i>&gt;&gt;<i> make[1]: Leaving directory `/usr/src/mythtv-0.23/mythtv/programs'
</i>&gt;&gt;<i> make: *** [sub-programs-make_default-ordered] Error 2
</i>&gt;&gt;<i> My 'configure' command is as follows
</i>&gt;&gt;<i> ./configure --compile-type=release --enable-proc-opt --enable-lirc 
</i>&gt;&gt;<i> --disable-joystick-menu --disable-firewire --disable-iptv 
</i>&gt;&gt;<i> --disable-hdhomerun --disable-v4l --disable-ivtv --disable-hdpvr 
</i>&gt;&gt;<i> --disable-dvb --enable-vdpau --disable-directfb --enable-opengl-video 
</i>&gt;&gt;<i> --enable-opengl-vsync
</i>&gt;&gt;<i> The results of the 'configure' is:
</i>&gt;&gt;<i> # Basic Settings
</i>&gt;&gt;<i> Compile type              release
</i>&gt;&gt;<i> Compiler cache            yes
</i>&gt;&gt;<i> DistCC                    no
</i>&gt;&gt;<i> qmake                     /usr/bin/qmake
</i>&gt;&gt;<i> install prefix            /usr/local
</i>&gt;&gt;<i> runtime prefix            /usr/local
</i>&gt;&gt;<i> CPU                       x86 x86_64 (model name : AMD Athlon(tm) 64 
</i>&gt;&gt;<i> X2 Dual Core Processor 4800+)
</i>&gt;&gt;<i> big-endian                no
</i>&gt;&gt;<i> runtime cpu detection     no
</i>&gt;&gt;<i> yasm                      yes
</i>&gt;&gt;<i> MMX enabled               yes
</i>&gt;&gt;<i> MMX2 enabled              yes
</i>&gt;&gt;<i> 3DNow! enabled            yes
</i>&gt;&gt;<i> 3DNow! extended enabled   yes
</i>&gt;&gt;<i> SSE enabled               yes
</i>&gt;&gt;<i> SSSE3 enabled             yes
</i>&gt;&gt;<i> CMOV enabled              yes
</i>&gt;&gt;<i> # Input Support
</i>&gt;&gt;<i> Joystick menu             no
</i>&gt;&gt;<i> lirc support              yes
</i>&gt;&gt;<i> Video4Linux sup.          no
</i>&gt;&gt;<i> ivtv support              no
</i>&gt;&gt;<i> HD-PVR support            no
</i>&gt;&gt;<i> FireWire support          no
</i>&gt;&gt;<i> DVB support               no [/usr/include]
</i>&gt;&gt;<i> DVB-S2 support            no
</i>&gt;&gt;<i> HDHomeRun support         no
</i>&gt;&gt;<i> IPTV support              no
</i>&gt;&gt;<i> # Sound Output Support
</i>&gt;&gt;<i> PulseAudio support        yes
</i>&gt;&gt;<i> OSS support               yes
</i>&gt;&gt;<i> ALSA support              yes
</i>&gt;&gt;<i> JACK support              yes
</i>&gt;&gt;<i> libfftw3 support          no
</i>&gt;&gt;<i> # Video Output Support
</i>&gt;&gt;<i> x11 support               yes
</i>&gt;&gt;<i> xrandr support            yes
</i>&gt;&gt;<i> xv support                yes
</i>&gt;&gt;<i> XvMC support              yes
</i>&gt;&gt;<i> XvMC VLD support          yes
</i>&gt;&gt;<i> XvMC pro support          no
</i>&gt;&gt;<i> XvMC libs                 -lXvMCW -ldl
</i>&gt;&gt;<i> VDPAU support             yes
</i>&gt;&gt;<i> OpenGL video              yes
</i>&gt;&gt;<i> OpenGL vsync              yes
</i>&gt;&gt;<i> DirectFB                  no
</i>&gt;&gt;<i> Fribidi formatting        no
</i>&gt;&gt;<i> MHEG support              yes
</i>&gt;&gt;<i> # Misc Features
</i>&gt;&gt;<i> multi threaded libavcodec yes
</i>&gt;&gt;<i> Frontend                  yes
</i>&gt;&gt;<i> Backend                   yes
</i>&gt;&gt;<i> # Bindings
</i>&gt;&gt;<i> bindings_perl             yes
</i>&gt;&gt;<i> bindings_python           yes
</i>&gt;&gt;<i> Creating libs/libmythdb/mythconfig.h and libs/libmythdb/mythconfig.mak
</i>&gt;&gt;<i> I have made sure any pre-requisites are there by 
</i>&gt;&gt;<i> reverifying/downloading/installing required packages using the apt-get 
</i>&gt;&gt;<i> command listed at
</i>&gt;&gt;<i> <a moz-do-not-send="true"
 href="http://www.mythtv.org/wiki/User_Manual:Initial_Installation#Prerequisites">http://www.mythtv.org/wiki/User_Manual:Initial_Installation#Prerequisites</a>
</i>&gt;&gt;<i> I have completely cleared my source tree and redownloaded a fresh copy 
</i>&gt;&gt;<i> (most recently just this morning, with the RC1 release-023-fixes r23847)
</i>&gt;&gt;<i> I am at a complete loss as to why this is happening on this one frontend.
</i>&gt;&gt;<i> The other frontend is fine.  Both computers are identical hardware, 
</i>&gt;&gt;<i> installed at the same time, same updates applied at the same time, and 
</i>&gt;&gt;<i> I just can't find any differences, but there obviously is something.  
</i>&gt;&gt;<i> I assume I am missing a library somewhere or something simple like 
</i>&gt;&gt;<i> that, but just can't find it.
</i>&gt;&gt;<i> Any help would be greatly appreciated.
</i>&gt;&gt;<i> Chris
</i>&gt;&gt;<i>
</i>&gt;&gt;<i>
</i>&gt;&gt;<i> _______________________________________________
</i>&gt;&gt;<i> mythtv-users mailing list
</i>&gt;&gt;<i> <a moz-do-not-send="true"
 href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">mythtv-users at mythtv.org</a>
</i>&gt;&gt;<i> <a moz-do-not-send="true"
 href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>
</i>&gt;&gt;<i>    
</i>&gt; Just a guess but is the function mispelled? 
&gt; MythMainWindow::Set*Effcets*Enabled(bool) -&gt; 
&gt; MythMainWindow::Set*Effects*Enabled(bool)?
&gt; Id do a grep on the function name to determine where it is defined, and 
&gt; try and figure out why the object is being left our of the linking.

  </pre>
  <pre>That was just a typo on my part (copying by hand across computers).&nbsp; It actually is MythMainWindow::SetEffectsEnabled(bool)'</pre>
  <pre>Anyway, doing
grep -R MythMainWindow::SetEffectsEnabled mythtv/*</pre>
  <pre>I get the following</pre>
  <pre>Binary file mythtv/libs/libmythui/mythmainwindow.o matches
Binary file mythtv/libs/libmythui/libmythui-0.23.so matches
mythtv/libs/libmythui/mythmainwindow.cpp:void MythMainWindow::SetEffectsEnabled(bool enable)
Binary file mythtv/libs/libmythui/libmythui-0.23.so.0 matches
Binary file mythtv/libs/libmythui/libmythui-0.23.so.0.23 matches
mythtv/libs/libmythui/.svn/text-base/mythmainwindow.cpp.svn-base:void MythMainWindow::SetEffectsEnabled(bool enable)
Binary file mythtv/libs/libmythui/libmythui-0.23.so.0.23.0 matches</pre>
  <pre>Not sure what to do with that information though...</pre>
  <pre>Thanks
  </pre>
<!--endarticle-->
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>
  </pre>
</blockquote>
Well it shows libythui-0.23.so contains the function you need to link
to, i would expect building the frontend it would attempt to link this
lib using -lmythui-0.23<br>
</body>
</html>