<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>137082</bug_id>
          
          <creation_ts>2006-06-17 07:14 0000</creation_ts>
          <short_desc>Gkrellm fails to detect a running mbmon daemon on amd64</short_desc>
          <delta_ts>2006-06-18 07:33:29 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>alexer@mbnet.fi</reporter>
          <assigned_to>amd64@gentoo.org</assigned_to>
          <cc>mholzer@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>alexer@mbnet.fi</who>
            <bug_when>2006-06-17 07:14:29 0000</bug_when>
            <thetext>Gkrellm fails to detect a running mbmon daemon on amd64.

There is a &quot;#if defined(__i386__)&quot;-block at lines 198-237 in src/sysdeps/sensors-common.c, which prevents the code for detecting mbmon-daemon from being compiled in gkrellm at least in amd64. (Actually, i don&apos;t see why the mbmon-detection is restricted to i386)

As i&apos;m using amd64 only, i just stripped the #ifdef away, as i don&apos;t know what symbol amd64-platforms define for the purpose (Googled, could it be __x86_64__?), but the solution would be to append the correct &quot;|| defined()&quot; to the end of line 198. (Or to remove the whole #ifdef, if it isn&apos;t needed)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>malc@gentoo.org</who>
            <bug_when>2006-06-18 07:33:29 0000</bug_when>
            <thetext>Fixed in CVS, mbmon support works fine on amd64 - suggested the same change to upstream in addition. Thanks Aleksi.

</thetext>
          </long_desc>
      
    </bug>

</bugzilla>