Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 2 Nov 2013 13:18:41 +0000
From: Paul Schutte <>
Subject: netinet/if_ether.h and linux/if_ether.h


I am trying to compile openvpn against musl and I get the following:

In file included from /usr/include/linux/if_tun.h:20:0,
                 from syshead.h:222,
                 from base64.c:40:
/usr/include/linux/if_ether.h:127:8: error: redefinition of 'struct ethhdr'
/usr/include/netinet/if_ether.h:93:8: note: originally defined here

Glibc does not have this problem as they include linux/if_ether.h
from netinet/if_ether.h. For musl I realize that would mean a dependency on

Openvpn uses the following:

#include <netinet/if_ether.h>

#include <linux/if_tun.h>                   <--- includes linux/if_ether.h

I can get it to work by just removing the netinet/if_ether.h part, but
maybe it is something worthy of your attention.


Content of type "text/html" skipped

Powered by blists - more mailing lists

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