- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Has anyone managed to build a version of the VDK which runs on this kernel? Building modules has changed in 2.6, and I'm having trouble getting the VDK to build - it hits compilation errors during configure which fools it into setting up the wrong values.
Lien copié
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Has anyone managed to build a version of the VDK which runs on this kernel? Building modules has changed in 2.6, and I'm having trouble getting the VDK to build - it hits compilation errors during configure which fools it into setting up the wrong values.
The PTU which was to have releasedabout now includes prebuilt driver for 2.6.18-92.el5 (works for me). I assume it was built with the gcc 4.1.2 which comes along with that kernel. I wouldn't be surprised if you had difficulty with an older vdk or a newer gcc.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
1) install kernel-source-*.rpm for kernel 2.6.xyz
2) cd /usr/src/linux-2.6.xyz
3) make mrproper
4) make cloneconfig
5) make prepare
Then run VDK ./build-driver script to build the sampling driver.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Can you please post the actual compile errors you get when you attempt to build the driver? Also, which version of Intel Vtune Analyzer are you using?
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
The PTU which was to have releasedabout now includes prebuilt driver for 2.6.18-92.el5 (works for me). I assume it was built with the gcc 4.1.2 which comes along with that kernel. I wouldn't be surprised if you had difficulty with an older vdk or a newer gcc.
Where can I get hold of this PTU?
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Can you please post the actual compile errors you get when you attempt to build the driver? Also, which version of Intel Vtune Analyzer are you using?
Here's one of the errors that one of the simple test programs created during the configure stage gets:
In file included from /usr/src/linux/include/asm/thread_info.h:16,
from /usr/src/linux/include/linux/thread_info.h:21,
from /usr/src/linux/include/linux/preempt.h:9,
from /usr/src/linux/include/linux/spinlock.h:49,
from /usr/src/linux/include/linux/capability.h:45,
from /usr/src/linux/include/linux/sched.h:44,
from /usr/src/linux/include/linux/mm.h:4,
from vtunetemptest.c:4:
/usr/src/linux/include/asm/processor.h:80: error: CONFIG_X86_L1_CACHE_SHIFT undeclared here (not in a function)
I've played around with this a bit and got further, on to other errors, but there's no obvious end in sight.
This is after installing the kernel source rpm and doing the make steps in the README (e.g. mrproper). It's using the latest evaluation download, which I think is 9.1.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
1) install kernel-source-*.rpm for kernel 2.6.xyz
2) cd /usr/src/linux-2.6.xyz
3) make mrproper
4) make cloneconfig
5) make prepare
Then run VDK ./build-driver script to build the sampling driver.
There's no make target for cloneconfig. If you mean oldconfig, I've tried that.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Where can I get hold of this PTU?
http://software.intel.com/sites/code-downloads/
http://software.intel.com/en-us/articles/intel-performance-tuning-utility-31-update-3
indicates that the PTU update did occur over a week ago.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Using the PTU worked. Thanks.

- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable