The nemesis project includes these headers (https://github.com/libnet/nemesis/blob/master/src/nemesis-proto_igmp.c#L9) for the ETHER_MAP_IP_MULTICAST macro here: https://github.com/libnet/nemesis/blob/master/src/nemesis-proto_igmp.c#L68 This causes unknown type names errors like this: > /usr/include/net/ethernet.h:61:2: error: unknown type name 'u_char'; did you mean 'char'? > u_char ether_dhost[ETHER_ADDR_LEN]; > ^ I am not sure what's wrong here. Are these headers wrong headers for this macro? It doesn't have a manpage.
(In reply to Yuri Victorovich from comment #0) # man inet tels you that it requires: #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> So perhaps that fixes your problem.
(In reply to Willem Jan Withagen from comment #1) Jan, These headers though don't define the ETHER_MAP_IP_MULTICAST macro. Perhaps the headers from multicast(4) should have helped but they also fail for some other reason, see bug#264635 Yuri