Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
5255 Discussions

can't build driver for fedora core 6

andrew_nuss
Beginner
564 Views
Hi,

I'm trying to build the sampling driver for VTune, on fedora core 6.
It get the following make error:

/opt/intel/vtune/vdk/src/vtune.c: In function get_cpu_tsc:
/opt/intel/vtune/vdk/src/vtune.c:1003: error: implicit declaration of function rdtsc
make[2]: *** [/opt/intel/vtune/vdk/src/vtune.o] Error 1
make[1]: *** [_module_/opt/intel/vtune/vdk/src] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.22.2-42.fc6-i586'
make: *** [default] Error 2

What do I do?
Andy
0 Kudos
1 Reply
TimP
Honored Contributor III
564 Views
It looks as if you have a gcc with more error checking than the one which was supported by the version of vtune you are using. You might get past it by putting an appropriate definition of rdtsc() in the source code, or by using a newer version of VTune, if that applies. If a current VTune still gives trouble, file a problem report in premier.intel.com.
0 Kudos
Reply