- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
$ make
make[1]: Entering directory '/usr/src/kernels/5.0.10-1.el7.elrepo.x86_64'
CC [M] /home/amindomao/intel/i40e-2.7.26/src/i40e_main.o
In file included from /home/amindomao/intel/i40e-2.7.26/src/i40e_main.c:9:0:
/home/amindomao/intel/i40e-2.7.26/src/i40e_helper.h: In function ‘i40e_allocate_dma_mem_d’:
/home/amindomao/intel/i40e-2.7.26/src/i40e_helper.h:24:2: error: implicit declaration of function ‘dma_zalloc_coherent’ [-Werror=implicit-function-declaration]
mem->va = dma_zalloc_coherent(&nf->pdev->dev, mem->size,
^
/home/amindomao/intel/i40e-2.7.26/src/i40e_helper.h:24:10: warning: assignment makes pointer from integer without a cast [enabled by default]
mem->va = dma_zalloc_coherent(&nf->pdev->dev, mem->size,
^
/home/amindomao/intel/i40e-2.7.26/src/i40e_main.c: At top level:
/home/amindomao/intel/i40e-2.7.26/src/i40e_main.c:12783:2: warning: initialization from incompatible pointer type [enabled by default]
.ndo_bridge_setlink = i40e_ndo_bridge_setlink,
^
/home/amindomao/intel/i40e-2.7.26/src/i40e_main.c:12783:2: warning: (near initialization for ‘i40e_netdev_ops.ndo_bridge_setlink’) [enabled by default]
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:277: /home/amindomao/intel/i40e-2.7.26/src/i40e_main.o] Error 1
make[1]: *** [Makefile:1575: _module_/home/amindomao/intel/i40e-2.7.26/src] Error 2
make[1]: Leaving directory '/usr/src/kernels/5.0.10-1.el7.elrepo.x86_64'
make: *** [default] Error 2
I've tried to make the driver from 2.7.29 sources also - result is the same.
With older kernels like 4.4.179 the driver could be compiled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- I have not got any NIC yet. I'm just trying to get recent drivers for the NIC I'm going to buy.
- My OS is Centos with mainline kernel from community approved repository - ELRepo.
- System is Dell R620.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've tried different versions of gcc also, with no success.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
I have Linux OS, CENTOS 7.5 exactly. I'm using a main line linux kernel version 5.0.10 and trying to build intel xl710 driver for my OS. I've tried driver versions 2.7.26 and i40e-2.7.29 - the result is the error during building process, which part is in my first post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Look at the screenshot please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok. Lets try in another way.
I've downloaded the driver I need ( look at the above screenshot ); unpacked it and followed the installation instruction from README file.
The error from my initial post I've got after running the fourth step.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your time. I'll be here :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page