Ethernet Products
Determine ramifications of Intel® Ethernet products and technologies
4866 Discussions

ixgbe 4.3.15 ubuntu 14.04 driver compilation error

idata
Employee
2,531 Views

Hello,

we are trying to install ixgbe-4.3.15.tar.gz driver on ubuntu 14.04 3.13.0-24-generic but we are receiving following error:

Any suggestion to solve the problem?

Thanks and br/

Cristina

/home/master/ixgbe/ixgbe-4.3.15/src# make CFLAGS_EXTRA=-DIXGBE_NO_LRO install

make[1]: Entering directory `/usr/src/linux-headers-3.13.0-24-generic'

CC [M] /home/master/ixgbe/ixgbe-4.3.15/src/ixgbe_main.o

/home/master/ixgbe/ixgbe-4.3.15/src/ixgbe_main.c: In function \u2018ixgbe_select_queue\u2019:

/home/master/ixgbe/ixgbe-4.3.15/src/ixgbe_main.c:8701:3: error: implicit declaration of function \u2018__netdev_pick_tx\u2019 [-Werror=implicit-function-declaration]

return __netdev_pick_tx(dev, skb);

^

/home/master/ixgbe/ixgbe-4.3.15/src/ixgbe_main.c: At top level:

/home/master/ixgbe/ixgbe-4.3.15/src/ixgbe_main.c:9589:2: warning: initialization from incompatible pointer type [enabled by default]

.ndo_select_queue = ixgbe_select_queue,

^

/home/master/ixgbe/ixgbe-4.3.15/src/ixgbe_main.c:9589:2: warning: (near initialization for \u2018ixgbe_netdev_ops.ndo_select_queue\u2019) [enabled by default]

cc1: some warnings being treated as errors

make[3]: *** [/home/master/ixgbe/ixgbe-4.3.15/src/ixgbe_main.o] Error 1

make[2]: *** [_module_/home/master/ixgbe/ixgbe-4.3.15/src] Error 2

make[1]: *** [sub-make] Error 2

make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-24-generic'

make: *** [default] Error 2

0 Kudos
3 Replies
idata
Employee
841 Views
Hi cpalomo, Thank you for the post . What is the exact network adapter model you tried to installed? You may refer to the following note regarding installation in Ubuntu, as stated in the README at https://downloadmirror.intel.com/14687/eng/README.txt NOTE: For certain distributions like (but not limited to) RedHat Enterprise Linux 7 and Ubuntu, once the driver is installed the initrd/initramfs file may need to be updated to prevent the OS loading old versions of the ixgbe driver. The dracut utility may be used on RedHat distributions: # dracut --force For Ubuntu: # update-initramfs -u Please update me if this information help, so that we can further check. rgds, wb
0 Kudos
idata
Employee
841 Views

Hi,

thanks for your answer. Finally yesterday i did the following:

apt-get install linux-generic-lts-utopic

reboot

uname -a

Linux myhost 3.16.0-77-generic # 99~14.04.1-Ubuntu SMP Tue Jun 28 19:17:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

After this the compilation was successful.

I didn't try yet to update initramfs.

0 Kudos
idata
Employee
841 Views

Hi Cpalomo,

 

 

Thank you for the update and sharing the information, glad you were able to complied successfully.

 

 

rgds

 

wb

 

0 Kudos
Reply