Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 9 Jun 2012 03:04:49 +0800
From: orc <orc@...server.ru>
To: musl@...ts.openwall.com
Subject: linux/if_ether.h: struct ethhdr previously defined in
 netinet/if_ether.h

Getting this when compiling tinc-1.0.18:

In file included from /usr/include/linux/if_tun.h:20,
                 from device.c:24:
/usr/include/linux/if_ether.h:126: error: redefinition of 'struct ethhdr'
make[2]: *** [device.o] Error 1

Commenting struct ethhdr definition in netinet/if_ether.h solves the
problem.

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.