[Xorp-hackers] [PATCH 0/1] rtrmgr fixes

Igor Maravic igorm at etf.rs
Tue Sep 27 04:30:03 PDT 2011


When I compile with
 scons debug_xrldb=True

first error is:


g++ -o obj/i686-pc-linux-gnu/rtrmgr/template_commands.o -c -O1 -g3 -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -DXRL_PF=120 -D_FORTIFY_SOURCE=0 -DDEBUG_XRLDB=1 -Iobj/i686-pc-linux-gnu -I. -I. rtrmgr/template_commands.cc
rtrmgr/template_commands.cc: In member function ‘bool XrlAction::check_xrl_is_valid(const std::list<std::basic_string<char> >&, const XRLdb*, std::string&)’:
rtrmgr/template_commands.cc:468:16: error: ‘const class XRLdb’ has no member named ‘check_xrl_syntax’
rtrmgr/template_commands.cc:474:33: error: ‘const class XRLdb’ has no member named ‘check_xrl_exists’
scons: *** [obj/i686-pc-linux-gnu/rtrmgr/template_commands.o] Error 1
scons: building terminated because of errors.

Fix for that is to replace VALIDATE_XRLDB with DEBUG_XRLDB in xrldb.hh and xrldb.cc
After that it compiles ok. I couldn't reproduce second error. It looked illogical anyway.

This is the patch for that

Igor Maravic (1):
  rtrmgr fixes

 xorp/rtrmgr/xrldb.cc |    4 ++--
 xorp/rtrmgr/xrldb.hh |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

-- 
1.7.4.1




More information about the Xorp-hackers mailing list