Hi Axel, On Thu, Feb 09, 2017 at 12:57:02 +0100, Axel Beckert wrote: > It seems to be this error: > > gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra > -Wno-sign-compare -DIPV6 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat > -Werror=format-security -c -o fping-fping.o `test -f 'fping.c' || echo > './'`fping.c > fping.c: In function 'main': > fping.c:612:60: error: 'IPV6_TCLASS' undeclared (first use in this function) > if ( setsockopt(socket6, IPPROTO_IPV6, IPV6_TCLASS, > &tos, sizeof(tos))) { > ^~~~~~~~~~~ > fping.c:612:60: note: each undeclared identifier is reported only once for > each function it appears in
This should be fixed by this commit: https://github.com/schweikert/fping/commit/b079eaf8d448585f2fc5e971e1207a9f5c85d4bf > Additionally there was this warning (not fatal, but IMHO noteworthy): > > fping.c: In function 'receive_packet': > fping.c:1733:21: warning: unused variable 'cmsg' [-Wunused-variable] > struct cmsghdr *cmsg; > ^~~~ Should be fixed by this commit: https://github.com/schweikert/fping/commit/08e5cabe451b202800c1749f61a6bc62eaba6886 Thanks! Cheers David -- You received this message because you are subscribed to the Google Groups "fping-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to fping-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.