On Wed, 25 Feb 2009, stephane eranian wrote:

> Try poulling both libpfm and pfmon and let me know if you
> still get compilation errors.

One last error with pfmon:

pfmon_util_mips64.c: In function pfmon_get_dlopen_hook:
pfmon_util_mips64.c:537: error: passing argument 5 of find_sym_addr from 
incompatible pointer type

This is because on my system it is compiling a 32-bit pfmon binary so 
"long start" is 32-bits where find_sym_addr is expecting a pointer to a 
64-bit value.  If I change it to "long long" it fixes it for me.  Though 
maybe it should be using the proper c99 64-bit type.

With that one change, everything works for me.

Thanks!

Vince

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to