I am currently using the SGI Altix 4700 system running on Itanium 2 and the OS is SLES11. The proble m is that vtune does not support the SLES11 kernel hence I need to build the driver for this platform. I followed the HO WTO-BUILD-VTUNE-DRIVER manual and executed the following:
and the following is the error message:
checking for template makefile ... Makefile.in
checking for kernel h eaders ... /lib/modules/18.104.22.168-5-default/source/include
checking if C compiler is working ... yes
checking if C compiler supports anonymous structs and unions ... yes
checking architecture ... ia64
checking kernel ver sion ... 22.214.171.124-5-default
checking whether kernel modules can be built ... yes
checking if UP or SMP ... SM P
checking whether to use PERFMON ... no
** ERROR: Unable to detect legacy Perfmon2 kernel interface**
** The kernel headers in /lib/modules/126.96.36.199-5-default/source
** do not contain required configura tion to support sampling.
** Please see VDK doc/HOWTO-BUILD-VTUNE-DRIVER for help in
** preparing a k ernel environment suitable for building the
** sampling driver.
** For details on the specific failur e, please see configure log file,
** /opt/intel/vtune/vdk/src/build_driver_log.txt .
I found that perfmon2 is installed in the system, so could someone hint me what could be the culprit here.