Actions
Bug #2045
closedgeoip: compile warning on CentOS 7
Affected Versions:
Effort:
Difficulty:
Label:
Description
Using Suricata 4.0dev (rev 89ba581) on CentOS 7
./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" \ --enable-unittests --enable-debug --enable-profiling \ --enable-nfqueue --enable-nflog --enable-pfring --enable-netmap \ --enable-lua --disable-gccmarch-native --enable-hiredis --enable-geoip \ --with-netmap-includes=/tmp/sqard/netmap/sys/ \ --with-libpfring-includes=/usr/local/pfring/include/ \ --with-libpfring-libraries=/usr/local/pfring/lib/
make clean && make -> ERRs with
CC detect-fragoffset.o CC detect-ftpbounce.o CC detect-geoip.o detect-geoip.c:78:40: error: incompatible pointer types assigning to 'int (*)(ThreadVars *, DetectEngineThreadCtx *, Packet *, const Signature *, const SigMatchCtx *)' from 'int (ThreadVars *, DetectEngineThreadCtx *, Packet *, Signature *, const SigMatchCtx *)' [-Werror,-Wincompatible-pointer-types] sigmatch_table[DETECT_GEOIP].Match = DetectGeoipMatch; ^ ~~~~~~~~~~~~~~~~ 1 error generated.
Updated by Victor Julien almost 8 years ago
- Subject changed from Incompatible pointer types err during compile on CentOS 7 to geoip: compile warning on CentOS 7
- Target version set to 70
Updated by Victor Julien over 7 years ago
- Status changed from New to Assigned
- Assignee set to Victor Julien
Updated by Victor Julien over 7 years ago
- Status changed from Assigned to Closed
- Target version changed from 70 to 4.0beta1
Actions