[etherlab-users] Newbie: 'make modules' fails when trying to enable e1000 support
Williams Jr., Ernest L.
ernesto at slac.stanford.edu
Tue Mar 8 02:45:31 CET 2016
Hi,
I am a ethercat newbie
Trying to build ethercat 1.5.2 with e1000e support.
I am using RHEL6 64-bit
kernel version: 2.6.32-573.18.1.el6.x86_64
Please help with the following error:
[ernesto at aird-pc90626 rhel6-linux-x86_64]$ make modules
make -C "/usr/src/kernels/2.6.32-573.18.1.el6.x86_64" M="/afs/slac/g/lcls/package/linuxKernel_Modules/ethercat/rhel6-linux-x86_64" modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-573.18.1.el6.x86_64'
CC [M] /afs/slac/g/lcls/package/linuxKernel_Modules/ethercat/rhel6-linux-x86_64/devices/generic.o
LD [M] /afs/slac/g/lcls/package/linuxKernel_Modules/ethercat/rhel6-linux-x86_64/devices/ec_generic.o
CC [M] /afs/slac/g/lcls/package/linuxKernel_Modules/ethercat/rhel6-linux-x86_64/devices/e1000e/82571-2.6.32-ethercat.o
CC [M] /afs/slac/g/lcls/package/linuxKernel_Modules/ethercat/rhel6-linux-x86_64/devices/e1000e/ethtool-2.6.32-ethercat.o
CC [M] /afs/slac/g/lcls/package/linuxKernel_Modules/ethercat/rhel6-linux-x86_64/devices/e1000e/ich8lan-2.6.32-ethercat.o
CC [M] /afs/slac/g/lcls/package/linuxKernel_Modules/ethercat/rhel6-linux-x86_64/devices/e1000e/netdev-2.6.32-ethercat.o
/afs/slac/g/lcls/package/linuxKernel_Modules/ethercat/rhel6-linux-x86_64/devices/e1000e/netdev-2.6.32-ethercat.c: In function 'e1000_put_txbuf':
/afs/slac/g/lcls/package/linuxKernel_Modules/ethercat/rhel6-linux-x86_64/devices/e1000e/netdev-2.6.32-ethercat.c:593: error: implicit declaration of function 'skb_dma_unmap'
/afs/slac/g/lcls/package/linuxKernel_Modules/ethercat/rhel6-linux-x86_64/devices/e1000e/netdev-2.6.32-ethercat.c: In function 'e1000_tx_map':
/afs/slac/g/lcls/package/linuxKernel_Modules/ethercat/rhel6-linux-x86_64/devices/e1000e/netdev-2.6.32-ethercat.c:4012: error: implicit declaration of function 'skb_dma_map'
/afs/slac/g/lcls/package/linuxKernel_Modules/ethercat/rhel6-linux-x86_64/devices/e1000e/netdev-2.6.32-ethercat.c:4018: error: 'struct skb_shared_info' has no member named 'dma_maps'
/afs/slac/g/lcls/package/linuxKernel_Modules/ethercat/rhel6-linux-x86_64/devices/e1000e/netdev-2.6.32-ethercat.c:4028: error: 'struct skb_shared_info' has no member named 'dma_head'
make[4]: *** [/afs/slac/g/lcls/package/linuxKernel_Modules/ethercat/rhel6-linux-x86_64/devices/e1000e/netdev-2.6.32-ethercat.o] Error 1
make[3]: *** [/afs/slac/g/lcls/package/linuxKernel_Modules/ethercat/rhel6-linux-x86_64/devices/e1000e] Error 2
make[2]: *** [/afs/slac/g/lcls/package/linuxKernel_Modules/ethercat/rhel6-linux-x86_64/devices] Error 2
make[1]: *** [_module_/afs/slac/g/lcls/package/linuxKernel_Modules/ethercat/rhel6-linux-x86_64] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-573.18.1.el6.x86_64'
make: *** [modules] Error 2
Cheers,
Ernest
More information about the Etherlab-users
mailing list