Есть необходимость собрать драйвер из исходников. При сборке вываливается с ошибкой, причину ошибки нагуглить не удается. Подскажите пожалуйста куда копать.
Инструкция к драйверу http://www.intel.com/support/network/ad … 032498.htm.
uname -r
2.6.32-358.0.1.el6.x86_64ls
igb-4.1.2
cd igb-4.1.2/src/
make install
make -C /lib/modules/2.6.32-358.0.1.el6.x86_64/build SUBDIRS=/root/igb-4.1.2/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-358.0.1.el6.x86_64'
CC [M] /root/igb-4.1.2/src/igb_main.o
In file included from /root/igb-4.1.2/src/igb.h:56,
from /root/igb-4.1.2/src/igb_main.c:53:
/root/igb-4.1.2/src/kcompat.h: In function ‘mmd_eee_cap_to_ethtool_sup_t’:
/root/igb-4.1.2/src/kcompat.h:3225: error: ‘MDIO_EEE_100TX’ undeclared (first use in this function)
/root/igb-4.1.2/src/kcompat.h:3225: error: (Each undeclared identifier is reported only once
/root/igb-4.1.2/src/kcompat.h:3225: error: for each function it appears in.)
/root/igb-4.1.2/src/kcompat.h:3227: error: ‘MDIO_EEE_1000T’ undeclared (first use in this function)
/root/igb-4.1.2/src/kcompat.h:3229: error: ‘MDIO_EEE_10GT’ undeclared (first use in this function)
/root/igb-4.1.2/src/kcompat.h:3231: error: ‘MDIO_EEE_1000KX’ undeclared (first use in this function)
/root/igb-4.1.2/src/kcompat.h:3233: error: ‘MDIO_EEE_10GKX4’ undeclared (first use in this function)
/root/igb-4.1.2/src/kcompat.h:3235: error: ‘MDIO_EEE_10GKR’ undeclared (first use in this function)
/root/igb-4.1.2/src/kcompat.h: In function ‘mmd_eee_adv_to_ethtool_adv_t’:
/root/igb-4.1.2/src/kcompat.h:3253: error: ‘MDIO_EEE_100TX’ undeclared (first use in this function)
/root/igb-4.1.2/src/kcompat.h:3255: error: ‘MDIO_EEE_1000T’ undeclared (first use in this function)
/root/igb-4.1.2/src/kcompat.h:3257: error: ‘MDIO_EEE_10GT’ undeclared (first use in this function)
/root/igb-4.1.2/src/kcompat.h:3259: error: ‘MDIO_EEE_1000KX’ undeclared (first use in this function)
/root/igb-4.1.2/src/kcompat.h:3261: error: ‘MDIO_EEE_10GKX4’ undeclared (first use in this function)
/root/igb-4.1.2/src/kcompat.h:3263: error: ‘MDIO_EEE_10GKR’ undeclared (first use in this function)
make[2]: *** [/root/igb-4.1.2/src/igb_main.o] Error 1
make[1]: *** [_module_/root/igb-4.1.2/src] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-358.0.1.el6.x86_64'
make: *** [default] Error 2