Bojan Smojver via devel wrote on Sun, Jan 26, 2025 at 08:37:11AM +1100:
> Opened https://github.com/appneta/tcpreplay/issues/910 upstream, in
> case anyone there knows what's going on here.

From build log:
```
In file included from ../../src/common/txring.h:47,
```

So this check is apparently false:
```
#if __GLIBC__ >= 2 && __GLIBC_MINOR >= 1
#include <net/ethernet.h> /* the L2 protocols */
#include <netpacket/packet.h>
#else
#include <asm/types.h>
#include <linux/if_ether.h> /* The L2 protocols */
#include <linux/if_packet.h> // <- this is line 47
#endif
```

I just checked and the defines are properly 2 / 40 in
/usr/include/features.h on rawhide so I'm not sure why it fails, I
couldn't reproduce building manually in a rawhide VM... But if you can
reproduce I'd start by checking these macros or possibly include
features.h explicitly?

-- 
Dominique Martinet | Asmadeus
-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to