Trouble building PAPI on Centos 6
2012-11-09 03:02:34 GMT
Hi,
I am trying to build PAPI 3.7.2 on a Centos 6 distribution having linux 2.6.32 kernel. While building, i am getting the following error. Is it mandatory to have curses library installed to work with PAPI performance counters?
gcc -O2 -g -Wall -Werror -I/home/archana/PAPI/papi-3.7.2/src/libpfm-3.y/examples_v2.x/../include -I. -D_GNU_SOURCE -pthread -c rtop.c
rtop.c:36:20: error: curses.h: No such file or directory
cc1: warnings being treated as errors
rtop.c: In function ‘setup_screen’:
rtop.c:393: error: implicit declaration of function ‘initscr’
rtop.c:394: error: implicit declaration of function ‘nocbreak’
rtop.c:395: error: implicit declaration of function ‘resizeterm’
rtop.c: In function ‘close_screen’:
rtop.c:403: error: implicit declaration of function ‘endwin’
rtop.c: In function ‘handler_set0’:
rtop.c:525: error: implicit declaration of function ‘printw’
rtop.c: In function ‘do_measure_one_cpu’:
rtop.c:707: error: implicit declaration of function ‘move’
rtop.c: In function ‘mainloop’:
rtop.c:780: error: implicit declaration of function ‘refresh’
make[2]: *** [rtop.o] Error 1
make[2]: Leaving directory `/home/archana/PAPI/papi-3.7.2/src/libpfm-3.y/examples_v2.x'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/archana/PAPI/papi-3.7.2/src/libpfm-3.y'
make: *** [/home/archana/PAPI/papi-3.7.2/src/libpfm-3.y/lib/libpfm.a] Error 2
--
Regards,
Archana
<div><p>Hi, <br>I am trying to build PAPI 3.7.2 on a Centos 6 distribution having linux 2.6.32 kernel. While building, i am getting the following error. Is it mandatory to have curses library installed to work with PAPI performance counters? <br clear="all"><br>gcc -O2 -g -Wall -Werror -I/home/archana/PAPI/papi-3.7.2/src/libpfm-3.y/examples_v2.x/../include -I. -D_GNU_SOURCE -pthread -c rtop.c<br>rtop.c:36:20: error: curses.h: No such file or directory<br>cc1: warnings being treated as errors<br> rtop.c: In function ‘setup_screen’:<br>rtop.c:393: error: implicit declaration of function ‘initscr’<br>rtop.c:394: error: implicit declaration of function ‘nocbreak’<br>rtop.c:395: error: implicit declaration of function ‘resizeterm’<br> rtop.c: In function ‘close_screen’:<br>rtop.c:403: error: implicit declaration of function ‘endwin’<br>rtop.c: In function ‘handler_set0’:<br>rtop.c:525: error: implicit declaration of function ‘printw’<br> rtop.c: In function ‘do_measure_one_cpu’:<br>rtop.c:707: error: implicit declaration of function ‘move’<br>rtop.c: In function ‘mainloop’:<br>rtop.c:780: error: implicit declaration of function ‘refresh’<br> make[2]: *** [rtop.o] Error 1<br>make[2]: Leaving directory `/home/archana/PAPI/papi-3.7.2/src/libpfm-3.y/examples_v2.x'<br>make[1]: *** [all] Error 2<br>make[1]: Leaving directory `/home/archana/PAPI/papi-3.7.2/src/libpfm-3.y'<br> make: *** [/home/archana/PAPI/papi-3.7.2/src/libpfm-3.y/lib/libpfm.a] Error 2<br><br><br>-- <br>Regards,<br>Archana<br></p></div>
RSS Feed