Hi , I am building opencontrail on ubuntu 15.10. *In file included from build/include/sandesh/sandesh_types.h:15:0,* * from build/debug/vnsw/agent/uve/interface_types.cpp:12:* *build/include/sandesh/derived_stats_algo.h: In instantiation of ‘contrail::sandesh::DSReturnType contrail::sandesh::DSAnomaly<ElemT, AnomalyResT>::FillResult(AnomalyResT&) const [with ElemT = long unsigned int; AnomalyResT = AnomalyResult]’:* *build/include/sandesh/derived_stats.h:156:50: required from ‘void contrail::sandesh::DerivedStatsIf<DSTT, ElemT, ResultT>::FillResult(ResultT&, bool&, bool) const [with DSTT = contrail::sandesh::DSAnomaly; ElemT = long unsigned int; ResultT = AnomalyResult]’* *build/debug/vnsw/agent/uve/interface_types.cpp:3212:104: required from here* *build/include/sandesh/derived_stats_algo.h:128:23: error: ‘class AnomalyResult’ has no member named ‘set_metric’* * if (started_) res.set_metric(previous_);* * ^* *build/include/sandesh/derived_stats_algo.h: In instantiation of ‘contrail::sandesh::DSReturnType contrail::sandesh::DSAnomaly<ElemT, AnomalyResT>::FillResult(AnomalyResT&) const [with ElemT = unsigned int; AnomalyResT = AnomalyResult]’:* *build/include/sandesh/derived_stats.h:156:50: required from ‘void contrail::sandesh::DerivedStatsIf<DSTT, ElemT, ResultT>::FillResult(ResultT&, bool&, bool) const [with DSTT = contrail::sandesh::DSAnomaly; ElemT = unsigned int; ResultT = AnomalyResult]’* *build/debug/vnsw/agent/uve/interface_types.cpp:3250:107: required from here* *build/include/sandesh/derived_stats_algo.h:128:23: error: ‘class AnomalyResult’ has no member named ‘set_metric’* *scons: *** [build/debug/vnsw/agent/uve/interface_types.o] Error 1* *scons: building terminated because of errors.*
Thanks & Regards, Raghav On Thu, Jul 6, 2017 at 11:45 PM, Megh Bhatt <me...@juniper.net> wrote: > Please provide complete error message - the lines seem truncated. Which > platform are you trying? > > Thanks > > Megh > > On Jul 6, 2017, at 12:37 AM, 164980 ktr.cse.13 < > raghav_sachd...@srmuniv.edu.in> wrote: > > Hi, > I am installing opencontrail from source.During build of contrail packages > its throwing some of these errors. > In file included from build/include/sandesh/sandesh_types.h:15:0, > from build/debug/vnsw/agent/uve/interface_types.cpp:12: > build/include/sandesh/derived_stats_algo.h: In instantiation of > ‘contrail::sandeT&) const [with ElemT = long unsigned int; AnomalyResT = > AnomalyResult]’: > build/include/sandesh/derived_stats.h:156:50: required from ‘void > contrail::sath DSTT = contrail::sandesh::DSAnomaly; ElemT = long unsigned > int; ResultT = Ano > build/debug/vnsw/agent/uve/interface_types.cpp:3212:104: required from > here > build/include/sandesh/derived_stats_algo.h:128:23: error: ‘class > AnomalyResult’ > if (started_) res.set_metric(previous_); > ^ > build/include/sandesh/derived_stats_algo.h: In instantiation of > ‘contrail::sandeT&) const [with ElemT = unsigned int; AnomalyResT = > AnomalyResult]’: > build/include/sandesh/derived_stats.h:156:50: required from ‘void > contrail::sath DSTT = contrail::sandesh::DSAnomaly; ElemT = unsigned int; > ResultT = AnomalyR > build/debug/vnsw/agent/uve/interface_types.cpp:3250:107: required from > here > build/include/sandesh/derived_stats_algo.h:128:23: error: ‘class > AnomalyResult’ > In file included from build/include/sandesh/sandesh_types.h:15:0, > from build/debug/vnsw/agent/uve/vrouter_types.cpp:12: > build/include/sandesh/derived_stats_algo.h: In instantiation of > ‘contrail::sandeT&) const [with ElemT = unsigned int; AnomalyResT = > AnomalyResult]’: > build/include/sandesh/derived_stats.h:156:50: required from ‘void > contrail::sath DSTT = contrail::sandesh::DSAnomaly; ElemT = unsigned int; > ResultT = AnomalyR > build/debug/vnsw/agent/uve/vrouter_types.cpp:13916:107: required from > here > build/include/sandesh/derived_stats_algo.h:128:23: error: ‘class > AnomalyResult’ > if (started_) res.set_metric(previous_); > ^ > build/include/sandesh/derived_stats_algo.h: In instantiation of > ‘contrail::sandeT&) const [with ElemT = long unsigned int; AnomalyResT = > AnomalyResult]’: > build/include/sandesh/derived_stats.h:169:62: required from ‘void > contrail::saing<char>, ResultT>&, bool&, bool) const [with DSTT = > contrail::sandesh::DSAnoma > build/debug/vnsw/agent/uve/vrouter_types.cpp:13977:95: required from > here > build/include/sandesh/derived_stats_algo.h:128:23: error: ‘class > AnomalyResult’ > g++ -o build/debug/vnsw/agent/vrouter/flow_stats/flow_stats_manager.o -c > -O0 -DDbuild/debug/base/sandesh -Icontroller/src/base/sandesh > -Ibuild/debug/dns -Icontr -Icontroller/src/ifmap -Ibuild/debug/schema > -Icontroller/src/schema -Ibuild/deb -Ibuild/debug/vnsw/agent/oper > -Icontroller/src/vnsw/agent/oper -Ibuild/debug/vnrc/vnsw/agent/uve > -Ibuild/debug/vrouter/sandesh -Ivrouter/sandesh > -Ibuild/debug/agent/vrouter/ksync/linux > -Icontroller/src/vnsw/agent/vrouter/ksync/linux -Ibuilft > -Ivrouter/include -Icontroller/src -Ibuild/include -Icontroller/lib > controlle > scons: *** [build/debug/vnsw/agent/uve/interface_types.o] Error 1 > scons: *** [build/debug/vnsw/agent/uve/vrouter_types.o] Error 1 > scons: building terminated because of errors > > Please help to rectify these errors. > > Thanks & Regards, > Raghav Sachdev > > _______________________________________________ > Users mailing list > Users@lists.opencontrail.org > http://lists.opencontrail.org/mailman/listinfo/users_lists. > opencontrail.org > > >
_______________________________________________ Users mailing list Users@lists.opencontrail.org http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org