Community
cancel
Showing results for 
Search instead for 
Did you mean: 
I_G_
Beginner
73 Views

Building drivers failed for Debian Stretch

When building the driver on Debian Stretch I get:

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/4.1.0-1-amd64/build ]
rm -f *.o .*.o.cmd .*.o.d .*.ko.cmd .*.ko.unsigned.cmd *.gcno
rm -f sep3_15.ko sep3_15.ko.unsigned
rm -f sep3_15*x32_64-4.1.0-1-amd64smp.ko
rm -f Module.symvers Modules.symvers *.mod.c modules.order Module.markers
rm -rf .tmp_versions
make[1]: Entering directory '/opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/pax'
rm -f *.o .*.o.cmd .*.o.d .*.ko.cmd .*.ko.unsigned.cmd *.gcno
rm -f pax.ko pax.ko.unsigned pax-x32_64-4.1.0-1-amd64smp.ko
rm -f Module.symvers Modules.symvers *.mod.c modules.order Module.markers
rm -rf .tmp_versions
make[1]: Leaving directory '/opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/pax'
make[1]: Entering directory '/opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/vtsspp'
make[2]: Entering directory '/usr/src/linux-headers-4.1.0-1-amd64'
Makefile:10: *** mixed implicit and normal rules: deprecated syntax
make[2]: Leaving directory '/usr/src/linux-headers-4.1.0-1-amd64'
rm -f /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/vtsspp/vtss_autoconf.h
make[1]: Leaving directory '/opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/vtsspp'
/usr/bin//make -C /lib/modules/4.1.0-1-amd64/build M=/opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src LDDINCDIR=/opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/../include LDDINCDIR1=/opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/inc modules PWD=/opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src
make[1]: Entering directory '/usr/src/linux-headers-4.1.0-1-amd64'
Makefile:10: *** mixed implicit and normal rules: deprecated syntax
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/lwpmudrv.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/control.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/cpumon.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/eventmux.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/linuxos.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/output.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/pmi.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/sys_info.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/utility.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/chap.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/gmch.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/core2.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/perfver4.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/corei7_unc.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/unc_wbox.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/silvermont.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/pci.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/apic.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/pebs.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/unc_gt.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/unc_client_imc.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/unc_ncu.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/unc_pcu.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/unc_ha.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/unc_cbo.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/unc_ubox.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/unc_power.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/unc_common.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/unc_qpi.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/unc_r3qpi.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/unc_imc.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/unc_r2pcie.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/unc_irp.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/unc_edc.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/unc_cha.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/unc_sbox.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/sepdrv_p_state.o
  CC   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/valleyview_sochap.o
  AS   /opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/sys64.o
/opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/sys64.S: Assembler messages:
/opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/sys64.S:117: Error: no such instruction: `save_all'
/opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/sys64.S:143: Error: no such instruction: `restore_all'
/usr/src/linux-headers-4.1.0-1-common/scripts/Makefile.build:299: recipe for target '/opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/sys64.o' failed
make[4]: *** [/opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src/sys64.o] Error 1
/usr/src/linux-headers-4.1.0-1-common/Makefile:1400: recipe for target '_module_/opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src' failed
make[3]: *** [_module_/opt/intel/vtune_amplifier_xe_2016.1.0.424694/sepdk/src] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.1.0-1-amd64'
Makefile:177: recipe for target 'default' failed
make: *** [default] Error 2


 

0 Kudos
2 Replies
David_A_Intel1
Employee
73 Views

This build error is a result of the 4.1 Linux kernel.  If you can downgrade your kernel to 4.0, you will not have this problem.  VTune Amplifier XE 2016 supports 4.0 and older kernels (see Release Notes).

We expect to release an update with support for 4.1 kernels in the near future (but we cannot publish a date, so please don't ask ;).

David_A_Intel1
Employee
73 Views

Just FYI, VTune Amplifier XE 2016 Update 1 is now available and adds support for Linux kernels 4.1, 4.2, and 4.3.  More information about the release is available on the What's New page.

Reply