Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137082 - Gkrellm fails to detect a running mbmon daemon on amd64
Summary: Gkrellm fails to detect a running mbmon daemon on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-17 07:14 UTC by Aleksi Torhamo
Modified: 2006-06-18 07:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksi Torhamo 2006-06-17 07:14:29 UTC
Gkrellm fails to detect a running mbmon daemon on amd64.

There is a "#if defined(__i386__)"-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't see why the mbmon-detection is restricted to i386)

As i'm using amd64 only, i just stripped the #ifdef away, as i don'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 "|| defined()" to the end of line 198. (Or to remove the whole #ifdef, if it isn't needed)
Comment 1 Malcolm Lashley (RETIRED) gentoo-dev 2006-06-18 07:33:29 UTC
Fixed in CVS, mbmon support works fine on amd64 - suggested the same change to upstream in addition. Thanks Aleksi.