Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 878733 Details for
Bug 919720
net-analyzer/tcptrack-1.4.2 - [clang] ./Guesser.h: error: no template named unary_function; did you mean
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-analyzer:tcptrack-1.4.2:20231211-090147.log
net-analyzer:tcptrack-1.4.2:20231211-090147.log (text/plain), 27.12 KB, created by
Toralf Förster
on 2023-12-11 18:18:25 UTC
(
hide
)
Description:
net-analyzer:tcptrack-1.4.2:20231211-090147.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-12-11 18:18:25 UTC
Size:
27.12 KB
patch
obsolete
> * Package: net-analyzer/tcptrack-1.4.2:0 > * Repository: gentoo > * Maintainer: netmon@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking tcptrack-1.4.2.tar.gz to /var/tmp/portage/net-analyzer/tcptrack-1.4.2/work >>>> Source unpacked in /var/tmp/portage/net-analyzer/tcptrack-1.4.2/work >>>> Preparing source in /var/tmp/portage/net-analyzer/tcptrack-1.4.2/work/tcptrack-1.4.2 ... > * Applying tcptrack-1.4.2-tinfo.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/net-analyzer/tcptrack-1.4.2/work/tcptrack-1.4.2' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/net-analyzer/tcptrack-1.4.2/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --force-missing' ... > [ ok ] > * Running elibtoolize in: tcptrack-1.4.2/ >>>> Source prepared. > * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! > * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>>> Configuring source in /var/tmp/portage/net-analyzer/tcptrack-1.4.2/work/tcptrack-1.4.2 ... > * econf: updating tcptrack-1.4.2/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating tcptrack-1.4.2/config.sub with /usr/share/gnuconfig/config.sub >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/tcptrack-1.4.2 --htmldir=/usr/share/doc/tcptrack-1.4.2/html --libdir=/usr/lib64 >checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking whether to enable maintainer-specific portions of Makefiles... no >checking whether the C++ compiler works... yes >checking for C++ compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C++... yes >checking whether clang++ accepts -g... yes >checking for clang++ option to enable C++11 features... none needed >checking whether make supports the include directive... yes (GNU style) >checking dependency style of clang++... none >checking for x86_64-pc-linux-gnu-gcc... clang >checking whether the compiler supports GNU C... yes >checking whether clang accepts -g... yes >checking for clang option to enable C11 features... none needed >checking whether clang understands -c and -o together... yes >checking dependency style of clang... none >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking whether byte ordering is bigendian... no >checking for socket in -lsocket... no >checking for gethostbyname in -lsocket... no >checking for gethostbyname in -lnsl... yes >checking for inet_addr in -lnsl... yes >checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config >checking pkg-config is at least version 0.9.0... yes >checking for ncurses... yes >checking for pcap_open_live in -lpcap... yes >checking for pthread_create in -lpthread... yes >checking for nanosleep in -lrt... yes >checking for pcap.h... yes >checking for pcap/pcap.h... yes >checking for pthread.h... yes >checking for curses.h... yes >checking for hash_map... no >checking for ext/hash_map... yes >checking for an ANSI C-conforming const... yes >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking if the __gnu_cxx namespace exists... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating src/Makefile >config.status: creating config.h >config.status: executing depfiles commands >>>> Source configured. >'/var/tmp/portage/net-analyzer/tcptrack-1.4.2/temp/clang16-errors.log' -> '/var/tmp/clang/net-analyzer/tcptrack-1.4.2/clang16-errors.log' >'/var/tmp/portage/net-analyzer/tcptrack-1.4.2/temp/clang16-safe.log' -> '/var/tmp/clang/net-analyzer/tcptrack-1.4.2/clang16-safe.log' >>>> Compiling source in /var/tmp/portage/net-analyzer/tcptrack-1.4.2/work/tcptrack-1.4.2 ... >make -j4 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/net-analyzer/tcptrack-1.4.2/work/tcptrack-1.4.2' >Making all in src >make[2]: Entering directory '/var/tmp/portage/net-analyzer/tcptrack-1.4.2/work/tcptrack-1.4.2/src' >clang++ -DHAVE_CONFIG_H -I. -I.. -Wno-deprecated -Wall -O3 -pipe -march=native -fno-diagnostics-color -c -o Collector.o Collector.cc >clang++ -DHAVE_CONFIG_H -I. -I.. -Wno-deprecated -Wall -O3 -pipe -march=native -fno-diagnostics-color -c -o main.o main.cc >clang++ -DHAVE_CONFIG_H -I. -I.. -Wno-deprecated -Wall -O3 -pipe -march=native -fno-diagnostics-color -c -o TCContainer.o TCContainer.cc >clang++ -DHAVE_CONFIG_H -I. -I.. -Wno-deprecated -Wall -O3 -pipe -march=native -fno-diagnostics-color -c -o TextUI.o TextUI.cc >In file included from TextUI.cc:22: >In file included from ./TextUI.h:27: >In file included from /usr/include/curses.h:95: >In file included from /usr/include/c++/v1/stdint.h:106: >In file included from /usr/include/c++/v1/__config:426: >/usr/include/features.h:196:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] > 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > | ^ >In file included from TCContainer.cc:24: >In file included from /usr/include/unistd.h:25: >/usr/include/features.h:196:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] > 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > | ^ >In file included from main.cc:25: >In file included from /usr/include/c++/v1/stdio.h:101: >In file included from /usr/include/c++/v1/__config:426: >/usr/include/features.h:196:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] > 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > | ^ >In file included from main.cc:29: >In file included from ./TCContainer.h:36: >In file included from ./TCPConnection.h:29: >In file included from ./util.h:41: >./IPAddress.h:19:58: warning: all paths through this function will call itself > [-Winfinite-recursion] > 19 | virtual bool operator!=( const IPAddress & addr ) const { return !operat... > | ^ >In file included from Collector.cc:23: >In file included from ./TCPConnection.h:29: >In file included from ./util.h:41: >./IPAddress.h:19:58: warning: all paths through this function will call itself > [-Winfinite-recursion] > 19 | virtual bool operator!=( const IPAddress & addr ) const { return !operat... > | ^ >In file included from main.cc:29: >In file included from ./TCContainer.h:37: >./Guesser.h:19:24: error: no template named 'unary_function'; did you mean > '__unary_function'? > 19 | class GEqFunc : public unary_function<SocketPair,bool> > | ^~~~~~~~~~~~~~ > | __unary_function >/usr/include/c++/v1/__functional/unary_function.h:46:1: note: > '__unary_function' declared here > 46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>; > | ^ >In file included from main.cc:29: >In file included from ./TCContainer.h:37: >./Guesser.h:31:26: error: no template named 'unary_function'; did you mean > '__unary_function'? > 31 | class GHashFunc : public unary_function<SocketPair, uint32_t> > | ^~~~~~~~~~~~~~ > | __unary_function >/usr/include/c++/v1/__functional/unary_function.h:46:1: note: > '__unary_function' declared here > 46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>; > | ^ >In file included from TCContainer.cc:28: >In file included from ./TCPConnection.h:29: >In file included from ./util.h:41: >./IPAddress.h:19:58: warning: all paths through this function will call itself > [-Winfinite-recursion] > 19 | virtual bool operator!=( const IPAddress & addr ) const { return !operat... > | ^ >In file included from TextUI.cc:22: >In file included from ./TextUI.h:29: >In file included from ./TCContainer.h:36: >In file included from ./TCPConnection.h:29: >In file included from ./util.h:41: >./IPAddress.h:19:58: warning: all paths through this function will call itself > [-Winfinite-recursion] > 19 | virtual bool operator!=( const IPAddress & addr ) const { return !operat... > | ^ >In file included from main.cc:29: >./TCContainer.h:57:26: error: no template named 'unary_function'; did you mean > '__unary_function'? > 57 | class TCCEqFunc : public unary_function<SocketPair,bool> > | ^~~~~~~~~~~~~~ > | __unary_function >/usr/include/c++/v1/__functional/unary_function.h:46:1: note: > '__unary_function' declared here > 46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>; > | ^ >In file included from TCContainer.cc:30: >In file included from ./TCContainer.h:37: >./Guesser.h:19:24: error: no template named 'unary_function'; did In file included from you main.ccmean >: 29'__unary_function'?: >./TCContainer.h: >70:28: error: no template named 'unary_function'; did you 19mean | >c l'__unary_function'?a >ss GEqFunc : pub l70i | cc luansasr yT_CfCuHnacsthiFounnc< S:o cpkuebtPlaiicr,b ouonla>r >y _| f ^~~~~~~~~~~~~~u >n c| t __unary_functioni >on<SocketPair, uint32_/usr/include/c++/v1/__functional/unary_function.ht:>46 >: 1| : ^~~~~~~~~~~~~~ >note: >| __unary_function'__unary_function' > declared here > /usr/include/c++/v1/__functional/unary_function.h46: | 46u:s1i:n gnote: >_ _'__unary_function'u ndeclareda rherey >_funct i46o | nu s=i n_g_ u_n_aurnya_rfyu_nfcutnicotni_okne e=p __l_auynoaurty__bfausnec<t_iAorng_,k e_eRpe_slualyto>u;t >_ b| a^s >e<_Arg, _Result>; > | ^ >In file included from TextUI.cc:22: >In file included from ./TextUI.h:29: >In file included from ./TCContainer.h:37: >./Guesser.h:19:24: error: no template named 'unary_function'; did you mean > '__unary_function'? > 19 | class GEqFunc : public unary_function<SocketPair,bool> > | ^~~~~~~~~~~~~~ > | __unary_function >/usr/include/c++/v1/__functional/unary_function.h:46:1: note: > '__unary_function' declared here > 46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>; > | ^ >In file included from TCContainer.cc:30: >In file included from ./TCContainer.h:37: >./Guesser.h:31:26: error: no template named 'unary_function'; did you mean > '__unary_function'? > 31 | class GHashFunc : public unary_function<SocketPair, uint32_t> > | ^~~~~~~~~~~~~~ > | __unary_function >/usr/include/c++/v1/__functional/unary_function.h:46:1: note: > '__unary_function' declared here > 46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>; > | ^ >In file included from TextUI.cc:22: >In file included from ./TextUI.h:29: >In file included from ./TCContainer.h:37: >./Guesser.h:31:26: error: no template named 'unary_function'; did you mean > '__unary_function'? > 31 | class GHashFunc : public unary_function<SocketPair, uint32_t> > | ^~~~~~~~~~~~~~ > | __unary_function >/usr/include/c++/v1/__functional/unary_function.h:46:1: note: > '__unary_function' declared here > 46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>; > | ^ >In file included from TextUI.cc:22: >In file included from ./TextUI.h:29: >./TCContainer.h:57:26: error: no template named 'unary_function'; did you mean > '__unary_function'? > 57 | class TCCEqFunc : public unary_function<SocketPair,bool> > | ^~~~~~~~~~~~~~ > | __unary_function >/usr/include/c++/v1/__functional/unary_function.h:46:1: note: > '__unary_function' declared here > 46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>; > | ^ >In file included from TCContainer.cc:30: >./TCContainer.h:57:26: error: no template named 'unary_function'; did you mean > '__unary_function'? > 57 | class TCCEqFunc : public unary_function<SocketPair,bool> > | ^~~~~~~~~~~~~~ > | __unary_function >/usr/include/c++/v1/__functional/unary_function.h:46:1: note: > '__unary_function' declared here > 46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>; > | ^ >1 warning generated. >In file included from TCContainer.cc:30: >./TCContainer.h:70:28: error: no template named 'unary_function'; did you mean > '__unary_function'? > 70 | class TCCHashFunc : public unary_function<SocketPair, uint32_t> > | ^~~~~~~~~~~~~~ > | __unary_function >/usr/include/c++/v1/__functional/unary_function.h:46:1: note: > '__unary_function' declared here > 46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>; > | ^ >In file included from TextUI.cc:22: >In file included from ./TextUI.h:29: >./TCContainer.h:70:28: error: no template named 'unary_function'; did you mean > '__unary_function'? > 70 | class TCCHashFunc : public unary_function<SocketPair, uint32_t> > | ^~~~~~~~~~~~~~ > | __unary_function >/usr/include/c++/v1/__functional/unary_function.h:46:1: note: > '__unary_function' declared here > 46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>; > | ^ >clang++ -DHAVE_CONFIG_H -I. -I.. -Wno-deprecated -Wall -O3 -pipe -march=native -fno-diagnostics-color -c -o PacketBuffer.o PacketBuffer.cc >In file included from PacketBuffer.cc:24: >In file included from /usr/include/c++/v1/queue:257: >In file included from /usr/include/c++/v1/__algorithm/make_heap.h:12: >In file included from /usr/include/c++/v1/__algorithm/comp.h:12: >In file included from /usr/include/c++/v1/__config:426: >/usr/include/features.h:196:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] > 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > | ^ >TCContainer.cc:179:7: warning: variable 'numitems' set but not used > [-Wunused-but-set-variable] > 179 | int numitems = 0; > | ^ >TextUI.cc:312:17: warning: format specifies type 'int' but the argument has type > 'time_t' (aka 'long') [-Wformat] > 312 | printw("%ds",ic->getIdleSeconds()); > | ~~ ^~~~~~~~~~~~~~~~~~~~ > | %ld >TextUI.cc:314:17: warning: format specifies type 'int' but the argument has type > 'time_t' (aka 'long') [-Wformat] > 314 | printw("%dm",ic->getIdleSeconds()/60); > | ~~ ^~~~~~~~~~~~~~~~~~~~~~~ > | %ld >TextUI.cc:316:17: warning: format specifies type 'int' but the argument has type > 'time_t' (aka 'long') [-Wformat] > 316 | printw("%dh",ic->getIdleSeconds()/3600); > | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ > | %ld >2 warnings and 4 errors generated. >make[2]: *** [Makefile:455: main.o] Error 1 >make[2]: *** Waiting for unfinished jobs.... >In file included from TCContainer.cc:28: >In file included from ./TCPConnection.h:29: >In file included from ./util.h:38: >/usr/include/c++/v1/ext/hash_map:278:17: error: no matching function for call to > object of type 'const TCCEqFunc' > 278 | {return static_cast<const _Pred&>(*this)(__x.first, __y);} > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/c++/v1/__hash_table:2150:24: note: in instantiation of member > function '__gnu_cxx::__hash_map_equal<std::pair<SocketPair, TCPConnection > *>, TCCEqFunc>::operator()' requested here > 2150 | && key_eq()(__nd->__upcast()->__value_, __k)) > | ^ >/usr/include/c++/v1/__hash_table:2350:20: note: in instantiation of function > template specialization 'std::__hash_table<std::pair<SocketPair, > TCPConnection *>, __gnu_cxx::__hash_map_hasher<std::pair<SocketPair, > TCPConnection *>, TCCHashFunc>, > __gnu_cxx::__hash_map_equal<std::pair<SocketPair, TCPConnection *>, > TCCEqFunc>, std::allocator<std::pair<SocketPair, TCPConnection > *>>>::find<SocketPair>' requested here > 2350 | iterator __i = find(__k); > | ^ >/usr/include/c++/v1/ext/hash_map:585:26: note: in instantiation of function > template specialization 'std::__hash_table<std::pair<SocketPair, > TCPConnection *>, __gnu_cxx::__hash_map_hasher<std::pair<SocketPair, > TCPConnection *>, TCCHashFunc>, > __gnu_cxx::__hash_map_equal<std::pair<SocketPair, TCPConnection *>, > TCCEqFunc>, std::allocator<std::pair<SocketPair, TCPConnection > *>>>::__equal_range_unique<SocketPair>' requested here > 585 | {return __table_.__equal_range_unique(__k);} > | ^ >TCContainer.cc:122:69: note: in instantiation of member function > '__gnu_cxx::hash_map<SocketPair, TCPConnection *, TCCHashFunc, > TCCEqFunc>::equal_range' requested here > 122 | pair<tccmap::const_iterator, tccmap::const_iterator> pr = conhash2.equal... > | ^ >./TCContainer.h:60:7: note: candidate function not viable: 'this' argument has > type 'const TCCEqFunc', but method is not marked const > 60 | bool operator()( const SocketPair &sp1, const SocketPair &sp2 ) > | ^ >5 warnings and 4 errors generated. >In file included from TCContainer.cc:28: >In file included from ./TCPConnection.h:29: >In file included from ./util.h:38: >/usr/include/c++/v1/ext/hash_map:272:17: error: no matching function for call to > object of type 'const TCCEqFunc' > 272 | {return static_cast<const _Pred&>(*this)(__x.first, __y.first);} > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/c++/v1/__hash_table:1631:21: note: in instantiation of member > function '__gnu_cxx::__hash_map_equal<std::pair<SocketPair, TCPConnection > *>, TCCEqFunc>::operator()' requested here > 1631 | key_eq()(__ndptr->__upcast()->__value_, __value)) > | ^ >/usr/include/c++/v1/__hash_table:1682:9: note: in instantiation of member > function 'std::__hash_table<std::pair<SocketPair, TCPConnection *>, > __gnu_cxx::__hash_map_hasher<std::pair<SocketPair, TCPConnection *>, > TCCHashFunc>, __gnu_cxx::__hash_map_equal<std::pair<SocketPair, > TCPConnection *>, TCCEqFunc>, std::allocator<std::pair<SocketPair, > TCPConnection *>>>::__node_insert_unique_prepare' requested here > 1682 | __node_insert_unique_prepare(__nd->__hash(), __nd->__value_); > | ^ >/usr/include/c++/v1/__hash_table:1888:32: note: in instantiation of member > function 'std::__hash_table<std::pair<SocketPair, TCPConnection *>, > __gnu_cxx::__hash_map_hasher<std::pair<SocketPair, TCPConnection *>, > TCCHashFunc>, __gnu_cxx::__hash_map_equal<std::pair<SocketPair, > TCPConnection *>, TCCEqFunc>, std::allocator<std::pair<SocketPair, > TCPConnection *>>>::__node_insert_unique' requested here > 1888 | pair<iterator, bool> __r = __node_insert_unique(__h.get()); > | ^ >/usr/include/c++/v1/__hash_table:925:14: note: in instantiation of function > template specialization 'std::__hash_table<std::pair<SocketPair, > TCPConnection *>, __gnu_cxx::__hash_map_hasher<std::pair<SocketPair, > TCPConnection *>, TCCHashFunc>, > __gnu_cxx::__hash_map_equal<std::pair<SocketPair, TCPConnection *>, > TCCEqFunc>, std::allocator<std::pair<SocketPair, TCPConnection > *>>>::__emplace_unique_impl<const std::pair<const SocketPair, > TCPConnection *> &>' requested here > 925 | return __emplace_unique_impl(_VSTD::forward<_Pp>(__x)); > | ^ >/usr/include/c++/v1/__hash_table:903:14: note: in instantiation of function > template specialization 'std::__hash_table<std::pair<SocketPair, > TCPConnection *>, __gnu_cxx::__hash_map_hasher<std::pair<SocketPair, > TCPConnection *>, TCCHashFunc>, > __gnu_cxx::__hash_map_equal<std::pair<SocketPair, TCPConnection *>, > TCCEqFunc>, std::allocator<std::pair<SocketPair, TCPConnection > *>>>::__emplace_unique_extract_key<const std::pair<const SocketPair, > TCPConnection *> &>' requested here > 903 | return __emplace_unique_extract_key(_VSTD::forward<_Pp>(__x), > | ^ >/usr/include/c++/v1/__hash_table:957:14: note: in instantiation of function > template specialization 'std::__hash_table<std::pair<SocketPair, > TCPConnection *>, __gnu_cxx::__hash_map_hasher<std::pair<SocketPair, > TCPConnection *>, TCCHashFunc>, > __gnu_cxx::__hash_map_equal<std::pair<SocketPair, TCPConnection *>, > TCCEqFunc>, std::allocator<std::pair<SocketPair, TCPConnection > *>>>::__emplace_unique<const std::pair<const SocketPair, TCPConnection *> > &>' requested here > 957 | return __emplace_unique(_VSTD::forward<_Pp>(__x)); > | ^ >/usr/include/c++/v1/ext/hash_map:550:26: note: in instantiation of function > template specialization 'std::__hash_table<std::pair<SocketPair, > TCPConnection *>, __gnu_cxx::__hash_map_hasher<std::pair<SocketPair, > TCPConnection *>, TCCHashFunc>, > __gnu_cxx::__hash_map_equal<std::pair<SocketPair, TCPConnection *>, > TCCEqFunc>, std::allocator<std::pair<SocketPair, TCPConnection > *>>>::__insert_unique<const std::pair<const SocketPair, TCPConnection *> > &, void>' requested here > 550 | {return __table_.__insert_unique(__x);} > | ^ >TCContainer.cc:137:12: note: in instantiation of member function > '__gnu_cxx::hash_map<SocketPair, TCPConnection *, TCCHashFunc, > TCCEqFunc>::insert' requested here > 137 | conhash2.insert(tccmap::value_type(sp,newcon)); > | ^ >./TCContainer.h:60:7: note: candidate function not viable: 'this' argument has > type 'const TCCEqFunc', but method is not marked const > 60 | bool operator()( const SocketPair &sp1, const SocketPair &sp2 ) > | ^ >3 warnings and 6 errors generated. >make[2]: *** [Makefile:455: TextUI.o] Error 1 >make[2]: *** [Makefile:455: TCContainer.o] Error 1 >In file included from PacketBuffer.cc:31: >In file included from ./TCContainer.h:36: >In file included from ./TCPConnection.h:29: >In file included from ./util.h:41: >./IPAddress.h:19:58: warning: all paths through this function will call itself > [-Winfinite-recursion] > 19 | virtual bool operator!=( const IPAddress & addr ) const { return !operat... > | ^ >In file included from PacketBuffer.cc:31: >In file included from ./TCContainer.h:37: >./Guesser.h:19:24: error: no template named 'unary_function'; did you mean > '__unary_function'? > 19 | class GEqFunc : public unary_function<SocketPair,bool> > | ^~~~~~~~~~~~~~ > | __unary_function >/usr/include/c++/v1/__functional/unary_function.h:46:1: note: > '__unary_function' declared here > 46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>; > | ^ >In file included from PacketBuffer.cc:31: >In file included from ./TCContainer.h:37: >./Guesser.h:31:26: error: no template named 'unary_function'; did you mean > '__unary_function'? > 31 | class GHashFunc : public unary_function<SocketPair, uint32_t> > | ^~~~~~~~~~~~~~ > | __unary_function >/usr/include/c++/v1/__functional/unary_function.h:46:1: note: > '__unary_function' declared here > 46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>; > | ^ >In file included from PacketBuffer.cc:31: >./TCContainer.h:57:26: error: no template named 'unary_function'; did you mean > '__unary_function'? > 57 | class TCCEqFunc : public unary_function<SocketPair,bool> > | ^~~~~~~~~~~~~~ > | __unary_function >/usr/include/c++/v1/__functional/unary_function.h:46:1: note: > '__unary_function' declared here > 46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>; > | ^ >In file included from PacketBuffer.cc:31: >./TCContainer.h:70:28: error: no template named 'unary_function'; did you mean > '__unary_function'? > 70 | class TCCHashFunc : public unary_function<SocketPair, uint32_t> > | ^~~~~~~~~~~~~~ > | __unary_function >/usr/include/c++/v1/__functional/unary_function.h:46:1: note: > '__unary_function' declared here > 46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>; > | ^ >PacketBuffer.cc:145:7: warning: variable 'qlen' set but not used > [-Wunused-but-set-variable] > 145 | int qlen=0; > | ^ >3 warnings and 4 errors generated. >make[2]: *** [Makefile:455: PacketBuffer.o] Error 1 >make[2]: Leaving directory '/var/tmp/portage/net-analyzer/tcptrack-1.4.2/work/tcptrack-1.4.2/src' >make[1]: *** [Makefile:365: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/net-analyzer/tcptrack-1.4.2/work/tcptrack-1.4.2' >make: *** [Makefile:306: all] Error 2 > * ERROR: net-analyzer/tcptrack-1.4.2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-analyzer/tcptrack-1.4.2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-analyzer/tcptrack-1.4.2::gentoo'`. > * The complete build log is located at '/var/log/portage/net-analyzer:tcptrack-1.4.2:20231211-090147.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/tcptrack-1.4.2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/tcptrack-1.4.2/temp/environment'. > * Working directory: '/var/tmp/portage/net-analyzer/tcptrack-1.4.2/work/tcptrack-1.4.2' > * S: '/var/tmp/portage/net-analyzer/tcptrack-1.4.2/work/tcptrack-1.4.2' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 919720
:
878727
|
878728
|
878729
|
878730
|
878731
|
878732
| 878733 |
878734
|
878735
|
878736