Nieuws:

We zijn er weer.

Na lange tijd van afwezigheid zijn we er weer  :laugh:
We hebben alle wachtwoorden gereset, je oude wachtwoord werkt niet meer.Je moet via het "wachtwoord vergeten"-linkje je wachtwoord resetten. Je krijgt hiervoor een mailtje op het adres dat je bij ons geregistreerd hebt.

De komende tijd zijn we nog druk bezig om de rest van de site op te bouwen, dus het kan zijn dat sommige onderdelen (tijdelijk) niet werken.

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Error bij compilen Intel network driver  (gelezen 439 keer)

Offline RumaNoV

  • Lid
Error bij compilen Intel network driver
« Gepost op: 2014/07/06, 23:04:17 »
Ik ondervind een aantal problemen met mijn Intel netwerkkaart en dacht even de drivers op mijn Ubuntu Server 14.04 te updaten.

De laatste versie van de drivers (3.0.4) heb ik gedownload via de Intel site. Wanneer ik deze tracht te compilen stoot ik op onderstaande errors:

andy@DeepcoreII:~/drivers/e1000e-3.0.4/src$ sudo make install
[sudo] password for andy:
make -C /lib/modules/3.13.0-30-generic/build SUBDIRS=/home/andy/drivers/e1000e-3.0.4/src modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-30-generic'
  CC [M]  /home/andy/drivers/e1000e-3.0.4/src/netdev.o
In file included from /home/andy/drivers/e1000e-3.0.4/src/e1000.h:37:0,
                 from /home/andy/drivers/e1000e-3.0.4/src/netdev.c:53:
/home/andy/drivers/e1000e-3.0.4/src/kcompat.h:3989:6: error: nested redefinition of âenum pkt_hash_typesâ
 enum pkt_hash_types {
      ^
/home/andy/drivers/e1000e-3.0.4/src/kcompat.h:3989:6: error: redeclaration of âenum pkt_hash_typesâ
In file included from include/linux/if_ether.h:23:0,
                 from include/uapi/linux/ethtool.h:17,
                 from include/linux/ethtool.h:16,
                 from include/linux/netdevice.h:42,
                 from /home/andy/drivers/e1000e-3.0.4/src/netdev.c:36:
include/linux/skbuff.h:732:6: note: originally defined here
 enum pkt_hash_types {
      ^
In file included from /home/andy/drivers/e1000e-3.0.4/src/e1000.h:37:0,
                 from /home/andy/drivers/e1000e-3.0.4/src/netdev.c:53:
/home/andy/drivers/e1000e-3.0.4/src/kcompat.h:3990:2: error: redeclaration of enumerator âPKT_HASH_TYPE_NONEâ
  PKT_HASH_TYPE_NONE,
  ^
In file included from include/linux/if_ether.h:23:0,
                 from include/uapi/linux/ethtool.h:17,
                 from include/linux/ethtool.h:16,
                 from include/linux/netdevice.h:42,
                 from /home/andy/drivers/e1000e-3.0.4/src/netdev.c:36:
include/linux/skbuff.h:733:2: note: previous definition of âPKT_HASH_TYPE_NONEâ was here
  PKT_HASH_TYPE_NONE, /* Undefined type */
  ^
In file included from /home/andy/drivers/e1000e-3.0.4/src/e1000.h:37:0,
                 from /home/andy/drivers/e1000e-3.0.4/src/netdev.c:53:
/home/andy/drivers/e1000e-3.0.4/src/kcompat.h:3991:2: error: redeclaration of enumerator âPKT_HASH_TYPE_L2â
  PKT_HASH_TYPE_L2,
  ^
In file included from include/linux/if_ether.h:23:0,
                 from include/uapi/linux/ethtool.h:17,
                 from include/linux/ethtool.h:16,
                 from include/linux/netdevice.h:42,
                 from /home/andy/drivers/e1000e-3.0.4/src/netdev.c:36:
include/linux/skbuff.h:734:2: note: previous definition of âPKT_HASH_TYPE_L2â was here
  PKT_HASH_TYPE_L2, /* Input: src_MAC, dest_MAC */
  ^
In file included from /home/andy/drivers/e1000e-3.0.4/src/e1000.h:37:0,
                 from /home/andy/drivers/e1000e-3.0.4/src/netdev.c:53:
/home/andy/drivers/e1000e-3.0.4/src/kcompat.h:3992:2: error: redeclaration of enumerator âPKT_HASH_TYPE_L3â
  PKT_HASH_TYPE_L3,
  ^
In file included from include/linux/if_ether.h:23:0,
                 from include/uapi/linux/ethtool.h:17,
                 from include/linux/ethtool.h:16,
                 from include/linux/netdevice.h:42,
                 from /home/andy/drivers/e1000e-3.0.4/src/netdev.c:36:
include/linux/skbuff.h:735:2: note: previous definition of âPKT_HASH_TYPE_L3â wa
  PKT_HASH_TYPE_L3, /* Input: src_IP, dst_IP */
  ^
In file included from /home/andy/drivers/e1000e-3.0.4/src/e1000.h:37:0,
                 from /home/andy/drivers/e1000e-3.0.4/src/netdev.c:53:
/home/andy/drivers/e1000e-3.0.4/src/kcompat.h:3993:2: error: redeclaration of en
  PKT_HASH_TYPE_L4,
  ^
In file included from include/linux/if_ether.h:23:0,
                 from include/uapi/linux/ethtool.h:17,
                 from include/linux/ethtool.h:16,
                 from include/linux/netdevice.h:42,
                 from /home/andy/drivers/e1000e-3.0.4/src/netdev.c:36:
include/linux/skbuff.h:736:2: note: previous definition of âPKT_HASH_TYPE_L4â wa
  PKT_HASH_TYPE_L4, /* Input: src_IP, dst_IP, src_port, dst_port */
  ^
make[2]: *** [/home/andy/drivers/e1000e-3.0.4/src/netdev.o] Error 1
make[1]: *** [_module_/home/andy/drivers/e1000e-3.0.4/src] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-30-generic'
make: *** [default] Error 2

Iemand enig idee wat er hier misloopt?