Hello, Everyone! I'm a new user of perfmon2. I installed libpfmn4 on my intel core2 quad processor. The OS is linux. the kernel is 2.6.25. FC9. I installed the libpfmn4 sucessfully ( there was not error during compilation). But when I compile the python. There are some errors like this: ./setup.py build running build running build_py copying src/perfmon_int.py -> build/lib.linux-i686-2.5/perfmon running build_ext building 'perfmon._perfmon_int' extension swigging src/perfmon_int.i to src/perfmon_int_wrap.c swig -python -I../include -o src/perfmon_int_wrap.c src/perfmon_int.i ../include/perfmon/pfmlib.h:149: Warning(312): Nested struct not currently supported (ignored). ../include/perfmon/pfmlib.h:176: Warning(312): Nested struct not currently supported (ignored). ../include/perfmon/pfmlib.h:182: Warning(312): Nested union not currently supported (ignored). ../include/perfmon/pfmlib.h:141: Warning(451): Setting a const char * variable may leak memory. ../include/perfmon/pfmlib.h:142: Warning(451): Setting a const char * variable may leak memory. ../include/perfmon/pfmlib.h:154: Warning(451): Setting a const char * variable may leak memory. ../include/perfmon/pfmlib.h:155: Warning(451): Setting a const char * variable may leak memory. ../include/perfmon/pfmlib.h:156: Warning(451): Setting a const char * variable may leak memory. ../include/perfmon/pfmlib.h:166: Warning(451): Setting a const char * variable may leak memory. ../include/perfmon/pfmlib.h:167: Warning(451): Setting a const char * variable may leak memory. ../include/perfmon/pfmlib.h:168: Warning(451): Setting a const char * variable may leak memory. gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -I../include -I/usr/include/python2.5 -c src/perfmon_int_wrap.c -o build/temp.linux-i686-2.5/src/perfmon_int_wrap.o src/perfmon_int_wrap.c: In function ¡®_wrap_pfm_pmu_info_t_reserved_set¡¯: src/perfmon_int_wrap.c:3233: error: subscripted value is neither array nor pointer src/perfmon_int_wrap.c: In function ¡®_wrap_pfm_pmu_info_t_reserved_get¡¯: src/perfmon_int_wrap.c:3259: warning: cast to pointer from integer of different size src/perfmon_int_wrap.c: In function ¡®_wrap_pfm_event_attr_info_t_reserved_set¡¯: src/perfmon_int_wrap.c:4272: error: subscripted value is neither array nor pointer src/perfmon_int_wrap.c: In function ¡®_wrap_pfm_event_attr_info_t_reserved_get¡¯: src/perfmon_int_wrap.c:4298: warning: cast to pointer from integer of different size error: command 'gcc' failed with exit status 1 make: *** [all] Error 1 I want to know whether the libpfmn4 can be installed on FC9 2.6.25 kernel. How can I make perfmon2 work? thanks in advance. Jason 2010/1/7
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel