----- Original Message ----- > What version of g++ are you using?
4.7: https://fedoraproject.org/wiki/Features/GCC47 i > On Fri, Mar 23, 2012 at 1:49 PM, Jan-Frode Myklebust > <janfr...@tanso.net>wrote: > > > ATS 3.0.4 fails to build on fedora 17. > > > > Ref: > > http://koji.fedoraproject.org/koji/getfile?taskID=3927725&name=build.log > > > > <snip> > > g++ -DHAVE_CONFIG_H -I. -I../../lib/ts -I../../iocore/eventsystem > > -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb > > -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils > > -I../../iocore/dns -I../../proxy -I../../lib/records -I../../mgmt > > -I../../mgmt/preparse -I../../mgmt/utils -I../../proxy/hdrs > > -I../../proxy/http/remap -I../../proxy/logging > > -D_LARGEFILE64_SOURCE=1 > > -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT -Dlinux -g > > -pipe -Wall > > -Werror -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing > > -Wno-invalid-offsetof -MT HttpClientSession.o -MD -MP -MF > > .deps/HttpClientSession.Tpo -c -o HttpClientSession.o > > HttpClientSession.cc > > In file included from ../../lib/ts/libts.h:96:0, > > from HttpClientSession.h:35, > > from HttpClientSession.cc:35: > > ../../lib/ts/Map.h: In instantiation of 'C Map<K, C, A>::get(K) > > [with K = > > unsigned int; C = int; A = DefaultAlloc]': > > HttpConnectionCount.h:51:34: required from here > > ../../lib/ts/Map.h:240:29: error: 'set_in' was not declared in this > > scope, > > and no declarations were found by argument-dependent lookup at the > > point of > > instantiation [-fpermissive] > > ../../lib/ts/Map.h:240:29: note: declarations in dependent base > > 'Vec<MapElem<unsigned int, int>, DefaultAlloc, 2>' are not found by > > unqualified lookup > > ../../lib/ts/Map.h:240:29: note: use 'this->set_in' instead > > ../../lib/ts/Map.h: In instantiation of 'MapElem<K, C>* Map<K, C, > > A>::put(K, C) [with K = unsigned int; C = int; A = DefaultAlloc]': > > HttpConnectionCount.h:64:37: required from here > > ../../lib/ts/Map.h:258:29: error: 'set_in' was not declared in this > > scope, > > and no declarations were found by argument-dependent lookup at the > > point of > > instantiation [-fpermissive] > > ../../lib/ts/Map.h:258:29: note: declarations in dependent base > > 'Vec<MapElem<unsigned int, int>, DefaultAlloc, 2>' are not found by > > unqualified lookup > > ../../lib/ts/Map.h:258:29: note: use 'this->set_in' instead > > ../../lib/ts/Map.h:263:21: error: 'set_add' was not declared in > > this > > scope, and no declarations were found by argument-dependent lookup > > at the > > point of instantiation [-fpermissive] > > ../../lib/ts/Map.h:263:21: note: declarations in dependent base > > 'Vec<MapElem<unsigned int, int>, DefaultAlloc, 2>' are not found by > > unqualified lookup > > ../../lib/ts/Map.h:263:21: note: use 'this->set_add' instead > > > > > > > > -jf > > > -- Igor Galić Tel: +43 (0) 664 886 22 883 Mail: i.ga...@brainsware.org URL: http://brainsware.org/ GPG: 6880 4155 74BD FD7C B515 2EA5 4B1D 9E08 A097 C9AE