Actions
Bug #3089
closedFedora rawhide af-packet compilation err
Affected Versions:
Effort:
Difficulty:
Label:
Needs backport
Description
using latest git ( 7ccf14bc60e9d35032c8347a9f337ba5406ca593 ) I only see this warning on Fedora Rawhide
git clone https://github.com/OISF/suricata.git && cd suricata && git clone https://github.com/OISF/libhtp.git -b 0.5.x && \ ./autogen.sh && \ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ CC=clang CFLAGS="-ggdb3 -Werror -Wchar-subscripts -fno-strict-aliasing -fstack-protector-all -fsanitize=address -fno-omit-frame-pointer -Wno-unused-parameter -Wno-unused-function" ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes \ --enable-unittests --enable-debug --enable-profiling \ --enable-nfqueue --enable-nflog \ --enable-lua --disable-gccmarch-native --enable-hiredis \ && make .. .. CC runmode-unittests.o CC runmode-unix-socket.o CC runmode-windivert.o CC runmodes.o CC source-af-packet.o source-af-packet.c: In function ‘AFPRead’: source-af-packet.c:650:28: error: ‘SIOCGSTAMP’ undeclared (first use in this function); did you mean ‘SIOCGARP’? 650 | if (ioctl(ptv->socket, SIOCGSTAMP, &p->ts) == -1) { | ^~~~~~~~~~ | SIOCGARP source-af-packet.c:650:28: note: each undeclared identifier is reported only once for each function it appears in source-af-packet.c: In function ‘AFPReadAndDiscard’: source-af-packet.c:1316:28: error: ‘SIOCGSTAMP’ undeclared (first use in this function); did you mean ‘SIOCGARP’? 1316 | if (ioctl(ptv->socket, SIOCGSTAMP, &ts) == -1) { | ^~~~~~~~~~ | SIOCGARP make[2]: *** [Makefile:2110: source-af-packet.o] Error 1 make[2]: Leaving directory '/opt/QA/suricata/src' make[1]: *** [Makefile:497: all-recursive] Error 1 make[1]: Leaving directory '/opt/QA/suricata' make: *** [Makefile:423: all] Error 2
Updated by Peter Manev over 5 years ago
I also now see this in the Ubuntu PPA pkging for Eoan too -
https://launchpadlibrarian.net/433422823/buildlog_ubuntu-eoan-amd64.suricata_201907170702+2d217e6~ubuntu19.10.1_BUILDING.txt.gz
Updated by Victor Julien over 5 years ago
- Status changed from New to Assigned
- Assignee set to Eric Leblond
Updated by Eric Leblond over 5 years ago
It seems we are suffering from that: https://github.com/linux-can/can-utils/pull/147
Updated by Victor Julien over 5 years ago
- Copied to Bug #3094: Fedora rawhide af-packet compilation err (4.1.x) added
Updated by Victor Julien over 5 years ago
- Status changed from Assigned to Closed
- Target version changed from TBD to 5.0rc1
Actions