On 01/15/2010 06:18 PM, Daniel Pocock wrote:
>
>> Here the output against config.status in the Ganglia root directory:
>> s,@STATIC_BUILD_TRUE@,|#_!!_#|#,g
>> s,@STATIC_BUILD_FALSE@,|#_!!_#|,g
>> s,@STATIC_USER_MODULES@,|#_!!_#|,g
>> s,@EXPORT_SYMBOLS_DYNAMIC@,|#_!!_#|-Wl\,-bexpfull,g
>>
>> The output against libmetrics/config.status is empty.
>
> I haven't implemented it for libmetrics/configure.in (yet) - it is 
> needed there too?
>
> My current implementation of that is only used in gmond/Makefile.am, 
> but I can duplicate it to libmetrics if it is needed there
Yes please, this seems to be vital. Here is the difference in the output 
of "gmond -m" for

gmond linked with libmetrics (linked without "-Wl,-bexpfull"):
# ./gmond -m
Cannot locate internal module structure 'core_metrics' in file : The 
system call does not exist on this system. (core_metrics)
Possibly an incorrect module language designation [].

load_one        One minute load average (module load_module)
os_release      Operating system release date (module sys_module)
mem_total       Total amount of memory displayed in KBs (module mem_module)
cpu_intr        cpu_intr (module cpu_module)
......

gmond linked with libmetrics (linked WITH "-Wl,-bexpfull"):
# ./gmond -m
load_one        One minute load average (module load_module)
os_release      Operating system release date (module sys_module)
mem_total       Total amount of memory displayed in KBs (module mem_module)
cpu_intr        cpu_intr (module cpu_module)
........

>>
>>>> I also had to apply the following patch to libmetrics/aclocal.m4 
>>>> (essentially removing any "-berok" occurrences):
>>> I want to avoid patching aclocal.m4 and try to find the right way to 
>>> make this work
>>>
>>> Looking at the comments in the code, do you know about the -brtl 
>>> suggestion?  Can you try that flag in your LDFLAGS?
>> I will comment this separately, this takes longer :-)
>>
>>> Could you also post this particular issue on the list 
>>> [email protected]?  Someone else may already know the solution 
>>> straight away.
>> Ok, good tip.
>>
Maybe doing the step (libmetrics with "-Wl,-bexpfull") might be 
sufficient and not require the steps above anymore...

Regards,
Michael

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Ganglia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to