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