Not able to install Intel PTU driver

Not able to install Intel PTU driver

Hi,

My system is : Ubuntu 10.04 64 bits. If I build the PTU's vdk driver, it complains:

yuantang@Octave:~/tool_src/Intel_PTU/ptu32_001_lin_intel64/vdk/src$ sudo ./build-driver
[sudo] password for yuantang:

Options in brackets "[ ... ]" indicate default values
that will be used when only the ENTER key is pressed.

C compiler to use: [ /usr/bin/gcc ]

Make command to use: [ /usr/bin/make ]

Kernel source directory: [ /lib/modules/2.6.322.6.32-24-generic-beta/source ]

checking for template makefile ... Makefile.in
checking for kernel headers ... /lib/modules/2.6.322.6.32-24-generic-beta/source/include
checking if C compiler is working ... yes
checking if C compiler supports anonymous structs and unions ... yes
checking architecture ... x86_64
checking kernel version ... 2.6.322.6.32-24-generic-beta
checking whether kernel modules can be built ... no
**
** ERROR: unable to build kernel module
**
** The kernel headers in /lib/modules/2.6.322.6.32-24-generic-beta/source
** are either inaccessible or not (properly) configured.
**
** The kernel headers must be accessible and configured prior
** to building the sampling driver (or any kernel module).
**
** Please see VDK doc/HOWTO-BUILD-VTUNE-DRIVER for help in
** preparing a kernel environment suitable for building the
** sampling driver.
**
** For details on the specific failure, please see configure log file,
** /home/yuantang/tool_src/Intel_PTU/ptu32_001_lin_intel64/vdk/src/build_driver_log.txt .
**

Also, I checked the build_driver_log.txt under vdk/src directory, it records something like following:
#====================== COMPILE ERRORS ===========================

In file included from /lib/modules/2.6.322.6.32-24-generic-beta/source/include/linux/list.h:6,
from /lib/modules/2.6.322.6.32-24-generic-beta/source/include/linux/module.h:9,
from cfgtemptest.c:2:
/lib/modules/2.6.322.6.32-24-generic-beta/source/include/linux/prefetch.h:14:27: error: asm/processor.h: No such file or directory
/lib/modules/2.6.322.6.32-24-generic-beta/source/include/linux/prefetch.h:15:23: error: asm/cache.h: No such file or directory
In file included from /lib/modules/2.6.322.6.32-24-generic-beta/source/include/linux/module.h:9,
from cfgtemptest.c:2:
/lib/modules/2.6.322.6.32-24-generic-beta/source/include/linux/list.h:7:24: error: asm/system.h: No such file or directory
.......
I do have installed the linux-header and linux-image, I have also re-compiled the kernel couple of times on my desktop. If I checked the exact location of 'asm/processor.h' it complains. I found the file

/lib/modules/2.6.322.6.32-24-generic-beta/build/arch/x86/include/asm/processor.h

but NO /lib/modules/2.6.322.6.32-24-generic-beta/build/include/asm/processor.h,

So, what shall I do to fix the problem?

Thanks!

-Yuan

4 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione

We are going to release soon (hope in a month or even sooner) PTU 4.0 U3 that should be able to build driver on this OS.
PTU 3.2 U1 is too old to support it.

You can try to use the latest VDK included in VTune 9.1 U8 whichsupports Linux kernels up to 2.6.35, and should be compatible with PTU 3.x.

new version is available! see dedicated post on this forum or just go to downloads page.

Lascia un commento

Eseguire l'accesso per aggiungere un commento. Non siete membri? Iscriviti oggi