-
Notifications
You must be signed in to change notification settings - Fork 10
Description
multiple redeclaration, an example as followed:
In file included from ./include/net/flow.h:14:0,
from ./include/net/net_namespace.h:15,
from ./include/linux/inet.h:42,
from /usr/src/ofa_kernel/default/include/linux/inet.h:7,
from /home/hermit/remoteswap/client/rswap_client.c:6:
/usr/src/ofa_kernel/default/include/net/flow_dissector.h:66:2: error: redeclaration of enumerator ‘FLOW_DISSECTOR_KEY_ENC_IP’
FLOW_DISSECTOR_KEY_ENC_IP = FLOW_DISSECTOR_KEY_MAX, /* struct flow_dissector_key_ip /
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/src/ofa_kernel/default/include/net/flow_dissector.h:8:0,
from ./include/net/flow.h:14,
from ./include/net/net_namespace.h:15,
from ./include/linux/inet.h:42,
from /usr/src/ofa_kernel/default/include/linux/inet.h:7,
from /home/hermit/remoteswap/client/rswap_client.c:6:
./include/net/flow_dissector.h:278:2: note: previous definition of ‘FLOW_DISSECTOR_KEY_ENC_IP’ was here
FLOW_DISSECTOR_KEY_ENC_IP, / struct flow_dissector_key_ip */