Z
Z
zeleniy872014-11-04 20:45:46
linux
zeleniy87, 2014-11-04 20:45:46

Why are ixgbe not being built on Ubuntu 14.04?

Hello, help me understand why the driver for the Intel XDA 520 DA2 network card is not compiled on ubuntu 14.04 amd64. On ubuntu 12.04 everything is built from the same archive without problems. headers are installed. When compiling, it gives an error:
[email protected]:~/ixgbe-3.22.3/src# make install
make -C /lib/modules/3.13.0-39-generic/build SUBDIRS=/home/zeleniy/ixgbe-3.22.3 /src modules
make[1]: Enter directory `/usr/src/linux-headers-3.13.0-39-generic'
CC [M] /home/zeleniy/ixgbe-3.22.3/src/ixgbe_main.o
/ home/zeleniy/ixgbe-3.22.3/src/ixgbe_main.c: In function 'ixgbe_get_stats64':
/home/zeleniy/ixgbe-3.22.3/src/ixgbe_main.c:6815:5: error: implicit declaration of function ' u64_stats_fetch_begin_bh' [-Werror=implicit-function-declaration]
start = u64_stats_fetch_begin_irq(&ring->syncp);
^
/home/zeleniy/ixgbe-3.22.3/src/ixgbe_main.c:6818:4: error: implicit declaration of function 'u64_stats_fetch_retry_bh' [-Werror=implicit-function-declaration]
} while (u64_stats_fetch_retry_irq(&ring->syncp , start));
^
/home/zeleniy/ixgbe-3.22.3/src/ixgbe_main.c: In function 'ixgbe_select_queue':
/home/zeleniy/ixgbe-3.22.3/src/ixgbe_main.c:8313:3: error: implicit declaration of function '__netdev_pick_tx' [-Werror=implicit-function-declaration]
return __netdev_pick_tx(dev, skb);
^
/home/zeleniy/ixgbe-3.22.3/src/ixgbe_main.c: At top level:
/home/zeleniy/ixgbe-3.22.3/src/ixgbe_main.c:9046:2: warning: initialization from incompatible pointer type [enabled by default]
.ndo_select_queue = ixgbe_select_queue,
^
/home/zeleniy/ixgbe-3.22.3/ src/ixgbe_main.c:9046:2: warning: (near initialization for 'ixgbe_netdev_ops.ndo_select_queue') [enabled by default]
cc1: some warnings being treated as errors
make[2]: *** [/home/zeleniy/ixgbe -3.22.3/src/ixgbe_main.o] Error 1
make[1]: *** [_module_/home/zeleniy/ixgbe-3.22.3/src] Error 2
make[1]: Leaving directory `/usr/ src/linux-headers-3.13.0-39-generic'
make: *** [default] Error 2

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question