[ARGUS] [ArgusClientBug] Failed to build argus-client on cygwin

Pei Hsuan Hung afcidk at gmail.com
Tue Jan 26 00:51:39 EST 2021


Hello, I was trying to build argus-client on a Windows 10 system and
encountered the following error.

argus_util.c:19999:24: error: 'ICMP6_DST_UNREACH_BEYONDSCOPE' undeclared
(first use in this function); did you mean 'ICMP6_DST_UNREACH_NOPORT'?

Argus client depends on include/cygwin-include/netinet/icmp6.h for
'ICMP6_DST_UNREACH_BEYONDSCOPE'. According to RFC3542,
'ICMP6_DST_UNREACH_NOPORT' was removed and changed to
'ICMP6_DST_UNREACH_BEYONDSCOPE' instead.

Maybe it's a good idea to add the following lines after
#define ICMP6_DST_UNREACH_NOPORT at
include/cygwin-include/netinet/icmp6.h:85

#ifndef ICMP6_DST_UNREACH_BEYONDSCOPE

#define ICMP6_DST_UNREACH_BEYONDSCOPE ICMP6_DST_UNREACH_NOTNEIGHBOR
#endif

System:  CYGWIN_NT-10.0-WOW DESKTOP-M2GVHV1 3.1.7(0.340/5/3) 2020-08-22
19:03 i686 Cygwin
Arch:    i686

Paths:    /usr/local/bin/ra /usr/bin/make /usr/bin/gcc /usr/bin/cc

RA:      Ra Version 3.0.8.2



GCC:     Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/10/lto-wrapper.exe
Target: i686-pc-cygwin
Configured with: /mnt/share/cygpkgs/gcc/gcc.x86/src/gcc-10.2.0/configure
--srcdir=/mnt/share/cygpkgs/gcc/gcc.x86/src/gcc-10.2.0 --prefix=/usr
--exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc
--docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C
--build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-pc-cygwin
--without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib
--with-gcc-major-version-only --enable-shared --enable-shared-libgcc
--enable-static --enable-version-specific-runtime-libs --enable-bootstrap
--enable-__cxa_atexit --with-dwarf2 --with-arch=i686 --with-tune=generic
--disable-sjlj-exceptions --enable-languages=c,c++,fortran,lto,objc,obj-c++
--enable-graphite --enable-threads=posix --enable-libatomic
--enable-libgomp --enable-libquadmath --enable-libquadmath-support
--disable-libssp --enable-libada --disable-symvers --with-gnu-ld
--with-gnu-as --with-cloog-include=/usr/include/cloog-isl
--without-libiconv-prefix --without-libintl-prefix --with-system-zlib
--enable-linker-build-id --with-default-libstdcxx-abi=gcc4-compatible
--enable-libstdcxx-filesystem-ts
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.0 (GCC)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20210126/0445e362/attachment.html>


More information about the argus mailing list