[Xorp-users] OpenSolaris scons breakage

Bruce Simpson bms at incunabulum.net
Wed Jul 15 16:45:41 PDT 2009


Hi all,

So, it looks like XORP doesn't compile out of the box under OpenSolaris, 
with the Scons, build at the moment.

It looks like the port was unfinished anyway, but wanted to be sure that 
I wasn't breaking anything with the Autotools replacement.

There are a few issues which need to be dealt with for OpenSolaris 
compiles to work. As I'm not running XORP on OpenSolaris anywhere, I'm 
going to leave it for now, as I need to focus on finishing the main 
SCons job. Summary:
 * sig_t not defined in base headers
 * ifreq doesn't have ifr_mtu
 * bsd paths.h isn't present
 * there is no vlan support (yet)
 * there is no SOL_IP
 * Not 100% sure why it can't find the 'queue' template; stl headers are 
present.

I've attached the log, if someone wants to help out, very cool.  g++ is 
3.4.3. Some packages you're likely to need:
SUNWPython26, SUNWbison, SUNWflexlex, SUNWgcc, SUNWflexruntime, 
SUNWlibm, SUNWlibpcap, SUNWpcre, SUNWsvn.

scons is available from jucr.opensolaris.org as an OpenSolaris 'pending' 
package.

%%%
scons: Reading SConscript files ...
Cross build is      False
Architecture is    i86pc
Operating System is sunos
Release is          public17
Build directory is  /root/i86pc-sunos-public17
Staging directory is  /root/i86pc-sunos-public17/stage
Checking whether byte ordering is bigendian... (cached) no
Checking for C header file stdint.h... (cached) yes
Checking for C header file inttypes.h... (cached) yes
Checking for C type uint64_t... (cached) yes
Checking for C header file stddef.h... (cached) yes
Checking for C header file stdarg.h... (cached) yes
Checking for C header file stdlib.h... (cached) yes
Checking for C header file strings.h... (cached) yes
Checking for C header file string.h... (cached) yes
Checking for C header file signal.h... (cached) yes
Checking for C header file math.h... (cached) yes
Checking for C header file memory.h... (cached) yes
Checking for C function strftime()... (cached) yes
Checking for C function strlcpy()... (cached) yes
Checking for C function strlcat()... (cached) yes
Checking whether va_copy is declared... (cached) yes
Checking for C header file fcntl.h... (cached) yes
Checking for C header file getopt.h... (cached) yes
Checking for C header file glob.h... (cached) yes
Checking for C header file grp.h... (cached) yes
Checking for C header file pthread.h... (cached) yes
Checking for C header file pwd.h... (cached) yes
Checking for C header file mqueue.h... (cached) yes
Checking for C header file regex.h... (cached) yes
Checking for C header file syslog.h... (cached) yes
Checking for C header file termios.h... (cached) yes
Checking for C header file time.h... (cached) yes
Checking for C header file unistd.h... (cached) yes
Checking for C header file vfork.h... (cached) no
Checking for C function readv()... (cached) yes
Checking for C function strerror()... (cached) yes
Checking for C function syslog()... (cached) yes
Checking for C function uname()... (cached) yes
Checking for C function writev()... (cached) yes
Checking for C library xnet... (cached) yes
Checking for C function recvmsg()... (cached) yes
Checking for C function sendmsg()... (cached) yes
Checking for C library rt... (cached) yes
Checking for C function clock_gettime()... (cached) yes
Checking whether CLOCK_MONOTONIC is declared... (cached) yes
Checking for C type struct timespec... (cached) yes
Checking for C header file paths.h... (cached) no
Checking for C header file sysexits.h... (cached) yes
Checking for C function hstrerror()... (cached) no
Checking for C function realpath()... (cached) yes
Checking for C function strptime()... (cached) yes
Checking for C function sysctl()... (cached) no
Checking for C header file sys/cdefs.h... (cached) no
Checking for C header file sys/param.h... (cached) yes
Checking for C header file sys/types.h... (cached) yes
Checking for C header file sys/utsname.h... (cached) yes
Checking for C header file sys/errno.h... (cached) yes
Checking for C header file sys/wait.h... (cached) yes
Checking for C header file sys/signal.h... (cached) yes
Checking for C header file sys/time.h... (cached) yes
Checking for C header file sys/uio.h... (cached) yes
Checking for C header file sys/ioctl.h... (cached) yes
Checking for C header file sys/select.h... (cached) yes
Checking for C header file sys/socket.h... (cached) yes
Checking for C header file sys/sockio.h... (cached) yes
Checking for C header file sys/un.h... (cached) no
Checking for C header file sys/mount.h... (cached) yes
Checking for C header file sys/resource.h... (cached) yes
Checking for C header file sys/stat.h... (cached) yes
Checking for C header file sys/syslog.h... (cached) yes
Checking for C header file sys/linker.h... (cached) no
Checking for C header file sys/sysctl.h... (cached) no
Checking for C header file linux/types.h... (cached) no
Checking for C header file linux/sockios.h... (cached) no
Checking for C type struct iovec... (cached) yes
Checking for C type struct msghdr... (cached) yes
Checking for C type struct cmsghdr... (cached) yes
Checking whether AF_INET is declared... (cached) yes
Checking whether AF_INET6 is declared... (cached) yes
Checking whether SOCK_STREAM is declared... (cached) yes
Checking whether SOCK_DGRAM is declared... (cached) yes
Checking whether SOCK_RAW is declared... (cached) yes
Checking whether C type struct msghdr has member msg_control... (cached) no
Checking whether C type struct msghdr has member msg_iov... (cached) yes
Checking whether C type struct msghdr has member msg_name... (cached) yes
Checking whether C type struct msghdr has member msg_namelen... (cached) yes
Checking whether C type struct sockaddr has member sa_len... (cached) no
Checking whether C type struct sockaddr_storage has member ss_len... 
(cached) no
Checking whether C type struct sockaddr_un has member sun_len... (cached) no
Checking for C header file net/ethernet.h... (cached) no
Checking for C header file sys/ethernet.h... (cached) no
Checking for C header file net/if.h... (cached) yes
Checking for C header file net/if_arp.h... (cached) yes
Checking for C header file net/if_dl.h... (cached) yes
Checking for C header file net/if_ether.h... (cached) no
Checking for C header file net/if_media.h... (cached) no
Checking for C header file net/if_var.h... (cached) no
Checking for C header file net/if_types.h... (cached) yes
Checking for C header file net/route.h... (cached) yes
Checking for C header file netdb.h... (cached) yes
Checking for C header file ifaddrs.h... (cached) no
Checking for C header file stropts.h... (cached) yes
Checking for C header file linux/ethtool.h... (cached) no
Checking for C header file linux/if_tun.h... (cached) no
Checking for C header file linux/netlink.h... (cached) no
Checking for C header file linux/rtnetlink.h... (cached) no
Checking whether C type struct sockaddr_dl has member sdl_len... (cached) no
Checking whether C type struct ifreq has member ifr_hwaddr... (cached) no
Checking whether C type struct ifreq has member ifr_ifindex... (cached) no
Checking for C function ether_aton()... (cached) no
Checking for C function ether_aton_r()... (cached) no
Checking for C function ether_ntoa()... (cached) no
Checking for C function ether_ntoa_r()... (cached) no
Checking for C function getaddrinfo()... (cached) yes
Checking for C function getifaddrs()... (cached) no
Checking for C function getnameinfo()... (cached) yes
Checking for C function if_indextoname()... (cached) yes
Checking for C function if_nametoindex()... (cached) yes
Checking for C function inet_ntop()... (cached) yes
Checking for C function inet_pton()... (cached) yes
Checking for C type struct ether_addr... (cached) no
Checking whether system has sysctl NET_RT_DUMP... (cached) no
Checking whether system has sysctl NET_RT_IFLIST... (cached) no
Checking whether SIOCGIFCONF is declared... (cached) yes
Checking for C header file netinet/in.h... (cached) yes
Checking for C header file netinet/in_systm.h... (cached) yes
Checking for C header file netinet/in_var.h... (cached) no
Checking for C header file netinet/ip.h... (cached) yes
Checking for C header file netinet/tcp.h... (cached) yes
Checking for C header file netinet/igmp.h... (cached) yes
Checking for C header file netinet/ether.h... (cached) no
Checking for C header file netinet/if_ether.h... (cached) no
Checking for C header file inet/nd.h... (cached) yes
Checking for C header file inet/ip.h... (cached) yes
Checking for C header file arpa/inet.h... (cached) yes
Checking for C header file arpa/telnet.h... (cached) yes
Checking whether C type struct sockaddr_in has member sin_len... (cached) no
Checking whether IP_MULTICAST_IF is declared... (cached) yes
Checking whether IP_MULTICAST_TTL is declared... (cached) yes
Checking whether IP_MULTICAST_LOOP is declared... (cached) yes
Checking whether IP_ADD_MEMBERSHIP is declared... (cached) yes
Checking whether IP_DROP_MEMBERSHIP is declared... (cached) yes
Checking whether system has sysctl IPCTL_FORWARDING... (cached) no
Checking whether __KAME__ is declared... (cached) no
Checking whether inet6_opt_init is declared... (cached) yes
Checking whether C type struct sockaddr_in6 has member sin6_len... 
(cached) no
Checking whether C type struct sockaddr_in6 has member sin6_scope_id... 
(cached) yes
Checking for C header file netinet/ip6.h... (cached) yes
Checking for C header file netinet/icmp6.h... (cached) yes
Checking for C type struct mld_hdr... (cached) yes
Checking for C header file netinet6/ip6_var.h... (cached) no
Checking for C header file netinet6/in6_var.h... (cached) no
Checking for C header file netinet6/nd6.h... (cached) no
Checking for C++ header file netinet6/nd6.h... (cached) no
Checking whether system has sysctl IPV6CTL_FORWARDING... (cached) no
Checking whether system has sysctl IPV6CTL_ACCEPT_RTADV... (cached) no
Checking for C header file netinet/ip_mroute.h... (cached) yes
Checking for C header file net/ip_mroute/ip_mroute.h... (cached) no
Checking for C header file linux/mroute.h... (cached) no
Checking for C type struct mfcctl2... (cached) no
Checking whether C type struct mfcctl2 has member mfcc_flags... (cached) no
Checking whether C type struct mfcctl2 has member mfcc_rp... (cached) no
Checking for C header file netinet/pim.h... (cached) no
Checking for C type struct pim... (cached) no
Checking whether C type struct pim has member pim_vt... (cached) no
Checking for C header file netinet6/ip6_mroute.h... (cached) no
Checking for C header file linux/mroute6.h... (cached) no
Checking for C type struct mf6cctl2... (cached) no
Checking whether C type struct mf6cctl2 has member mf6cc_flags... 
(cached) no
Checking whether C type struct mf6cctl2 has member mf6cc_rp... (cached) no
Checking for C header file netinet/ip_compat.h... (cached) no
Checking for C header file netinet/ip_fil.h... (cached) no
Checking for C header file netinet/ip_fw.h... (cached) no
Checking for C header file net/pfvar.h... (cached) no
Checking for C++ header file linux/netfilter_ipv4/ip_tables.h... (cached) no
Checking for C++ header file linux/netfilter_ipv6/ip6_tables.h... 
(cached) no
Checking for C header file net/if_vlanvar.h... (cached) no
Checking for C header file net/if_vlan_var.h... (cached) no
Checking for C header file net/vlan/if_vlan_var.h... (cached) no
Checking for C header file linux/if_vlan.h... (cached) no
Checking for C header file pcre.h... (cached) no
Checking for C header file pcreposix.h... (cached) no
Checking for C library pcre... (cached) yes
Checking for C library pcreposix... (cached) yes
Checking for C header file openssl/md5.h... (cached) no
Checking for C library crypto... (cached) yes
Checking for C function MD5_Init()... (cached) yes
Checking for C header file dlfcn.h... (cached) yes
Checking for C library dl... (cached) yes
Checking for C function dlopen()... (cached) yes
Checking for C header file pcap.h... (cached) yes
Checking for C library pcap... (cached) yes
Checking for C function pcap_sendpacket()... (cached) yes
Checking for C library resolv... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
gcc -o /root/i86pc-sunos-public17/libxorp/daemon.pic.o -c -g -Werror -W 
-Wall -Wwrite-strings -Wbad-function-cast -Wmissing-prototypes 
-Wcast-qual -Wmissing-declarations -Wpointer-arith -Wcast-align 
-Wstrict-prototypes -Wnested-externs -fPIC -D_FORTIFY_SOURCE=0 
-I/usr/sfw/include -I/opt/local/include -I/usr/local/include -I. 
/root/i86pc-sunos-public17/libxorp/daemon.c
/root/i86pc-sunos-public17/libxorp/daemon.c:45:19: paths.h: No such file 
or directory
scons: *** [/root/i86pc-sunos-public17/libxorp/daemon.pic.o] Error 1
gcc -o /root/i86pc-sunos-public17/libxorp/xlog.pic.o -c -g -Werror -W 
-Wall -Wwrite-strings -Wbad-function-cast -Wmissing-prototypes 
-Wcast-qual -Wmissing-declarations -Wpointer-arith -Wcast-align 
-Wstrict-prototypes -Wnested-externs -fPIC -D_FORTIFY_SOURCE=0 
-I/usr/sfw/include -I/opt/local/include -I/usr/local/include -I. 
/root/i86pc-sunos-public17/libxorp/xlog.c
/root/i86pc-sunos-public17/libxorp/xlog.c: In function `xlog_record_va':
/root/i86pc-sunos-public17/libxorp/xlog.c:602: error: `sig_t' undeclared 
(first use in this function)
/root/i86pc-sunos-public17/libxorp/xlog.c:602: error: (Each undeclared 
identifier is reported only once
/root/i86pc-sunos-public17/libxorp/xlog.c:602: error: for each function 
it appears in.)
/root/i86pc-sunos-public17/libxorp/xlog.c:602: error: syntax error 
before "sigpipe_handler"
/root/i86pc-sunos-public17/libxorp/xlog.c:627: error: `sigpipe_handler' 
undeclared (first use in this function)
scons: *** [/root/i86pc-sunos-public17/libxorp/xlog.pic.o] Error 1
scons: `/root/i86pc-sunos-public17/libfeaclient/libfeaclient.so' is up 
to date.
g++ -o 
/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_set_ioctl.pic.o 
-c -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith 
-Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -fPIC 
-D_FORTIFY_SOURCE=0 -I/usr/sfw/include -I/opt/local/include 
-I/usr/local/include -I. -I/root/i86pc-sunos-public17 
/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_set_ioctl.cc
/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_set_ioctl.cc: 
In member function `int IfConfigSetIoctl::set_interface_mtu(const 
std::string&, uint32_t, std::string&)':
/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_set_ioctl.cc:703: 
error: 'struct ifreq' has no member named 'ifr_mtu'
/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_set_ioctl.cc: 
In member function `int IfConfigSetIoctl::add_addr(const std::string&, 
const std::string&, uint32_t, const IPv6&, uint32_t, bool, const IPv6&, 
std::string&)':
/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_set_ioctl.cc:963: 
error: aggregate `in6_ifreq in6_ifreq' has incomplete type and cannot be 
defined
scons: *** 
[/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_set_ioctl.pic.o] 
Error 1
g++ -o 
/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_vlan_get_bsd.pic.o 
-c -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith 
-Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -fPIC 
-D_FORTIFY_SOURCE=0 -I/usr/sfw/include -I/opt/local/include 
-I/usr/local/include -I. -I/root/i86pc-sunos-public17 
/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_vlan_get_bsd.cc
/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_vlan_get_bsd.cc: 
In member function `int IfConfigVlanGetBsd::read_config(IfTree&)':
/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_vlan_get_bsd.cc:157: 
error: aggregate `vlanreq vlanreq' has incomplete type and cannot be defined
/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_vlan_get_bsd.cc:165: 
error: `SIOCGETVLAN' undeclared (first use this function)
/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_vlan_get_bsd.cc:165: 
error: (Each undeclared identifier is reported only once for each 
function it appears in.)
scons: *** 
[/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_vlan_get_bsd.pic.o] 
Error 1
g++ -o 
/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_vlan_set_bsd.pic.o 
-c -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith 
-Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -fPIC 
-D_FORTIFY_SOURCE=0 -I/usr/sfw/include -I/opt/local/include 
-I/usr/local/include -I. -I/root/i86pc-sunos-public17 
/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_vlan_set_bsd.cc
/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_vlan_set_bsd.cc: 
In member function `int IfConfigVlanSetBsd::add_vlan(const std::string&, 
const std::string&, uint16_t, std::string&)':
/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_vlan_set_bsd.cc:205: 
error: aggregate `vlanreq vlanreq' has incomplete type and cannot be defined
/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_vlan_set_bsd.cc:220: 
error: `SIOCIFCREATE' undeclared (first use this function)
/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_vlan_set_bsd.cc:220: 
error: (Each undeclared identifier is reported only once for each 
function it appears in.)
/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_vlan_set_bsd.cc:274: 
error: incompatible types in assignment of `char[16]' to `char[1]'
/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_vlan_set_bsd.cc:299: 
error: `SIOCSETVLAN' undeclared (first use this function)
/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_vlan_set_bsd.cc: 
In member function `int IfConfigVlanSetBsd::delete_vlan(const 
std::string&, const std::string&, std::string&)':
/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_vlan_set_bsd.cc:324: 
error: `SIOCIFDESTROY' undeclared (first use this function)
scons: *** 
[/root/i86pc-sunos-public17/fea/data_plane/ifconfig/ifconfig_vlan_set_bsd.pic.o] 
Error 1
scons: 
`/root/i86pc-sunos-public17/fea/data_plane/firewall/libxorp_firewall.so' 
is up to date.
scons: 
`/root/i86pc-sunos-public17/fea/data_plane/fibconfig/libxorp_fibconfig.so' 
is up to date.
g++ -o /root/i86pc-sunos-public17/fea/data_plane/io/io_ip_socket.pic.o 
-c -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith 
-Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -fPIC 
-D_FORTIFY_SOURCE=0 -I/usr/sfw/include -I/opt/local/include 
-I/usr/local/include -I. -I/root/i86pc-sunos-public17 
/root/i86pc-sunos-public17/fea/data_plane/io/io_ip_socket.cc
/root/i86pc-sunos-public17/fea/data_plane/io/io_ip_socket.cc: In member 
function `virtual int IoIpSocket::send_packet(const std::string&, const 
std::string&, const IPvX&, const IPvX&, int32_t, int32_t, bool, bool, 
const std::vector<uint8_t, std::allocator<uint8_t> >&, const 
std::vector<std::vector<uint8_t, std::allocator<uint8_t> >, 
std::allocator<std::vector<uint8_t, std::allocator<uint8_t> > > >&, 
const std::vector<uint8_t, std::allocator<uint8_t> >&, std::string&)':
/root/i86pc-sunos-public17/fea/data_plane/io/io_ip_socket.cc:2089: 
error: `SOL_IP' undeclared (first use this function)
/root/i86pc-sunos-public17/fea/data_plane/io/io_ip_socket.cc:2089: 
error: (Each undeclared identifier is reported only once for each 
function it appears in.)
scons: *** 
[/root/i86pc-sunos-public17/fea/data_plane/io/io_ip_socket.pic.o] Error 1
scons: 
`/root/i86pc-sunos-public17/fea/data_plane/control_socket/libxorp_control_socket.so' 
is up to date.
scons: 
`/root/i86pc-sunos-public17/fea/data_plane/managers/libxorp_data_plane_managers.so' 
is up to date.
scons: `/root/i86pc-sunos-public17/mrt/libmrt.so' is up to date.
g++ -o /root/i86pc-sunos-public17/fea/fea_node.pic.o -c -g -Werror -W 
-Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -ftemplate-depth-25 -fPIC -D_FORTIFY_SOURCE=0 
-I/usr/sfw/include -I/opt/local/include -I/usr/local/include -I. 
-I/root/i86pc-sunos-public17 /root/i86pc-sunos-public17/fea/fea_node.cc
/root/i86pc-sunos-public17/fea/fea_node.cc:280:2: #error "No data plane 
manager to load: unknown system"
scons: *** [/root/i86pc-sunos-public17/fea/fea_node.pic.o] Error 1
g++ -o /root/i86pc-sunos-public17/ospf/peer_manager.pic.o -c -g -Werror 
-W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -ftemplate-depth-25 -fPIC -D_FORTIFY_SOURCE=0 
-I/usr/sfw/include -I/opt/local/include -I/usr/local/include -I. 
-I/root/i86pc-sunos-public17 /root/i86pc-sunos-public17/ospf/peer_manager.cc
In file included from /root/i86pc-sunos-public17/ospf/peer_manager.cc:52:
/root/i86pc-sunos-public17/ospf/peer.hh:533: error: ISO C++ forbids 
declaration of `queue' with no type
/root/i86pc-sunos-public17/ospf/peer.hh:533: error: expected `;' before 
'<' token
scons: *** [/root/i86pc-sunos-public17/ospf/peer_manager.pic.o] Error 1
g++ -o /root/i86pc-sunos-public17/ospf/peer.pic.o -c -g -Werror -W -Wall 
-Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -ftemplate-depth-25 -fPIC -D_FORTIFY_SOURCE=0 
-I/usr/sfw/include -I/opt/local/include -I/usr/local/include -I. 
-I/root/i86pc-sunos-public17 /root/i86pc-sunos-public17/ospf/peer.cc
In file included from /root/i86pc-sunos-public17/ospf/peer.cc:68:
/root/i86pc-sunos-public17/ospf/peer.hh:533: error: ISO C++ forbids 
declaration of `queue' with no type
/root/i86pc-sunos-public17/ospf/peer.hh:533: error: expected `;' before 
'<' token
scons: *** [/root/i86pc-sunos-public17/ospf/peer.pic.o] Error 1
scons: `/root/i86pc-sunos-public17/policy/libpolicy.so' is up to date.
g++ -o /root/i86pc-sunos-public17/bgp/damping.o -c -g -Werror -W -Wall 
-Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -ftemplate-depth-25 -D_FORTIFY_SOURCE=0 
-I/usr/sfw/include -I/opt/local/include -I/usr/local/include -I. 
-I/root/i86pc-sunos-public17 /root/i86pc-sunos-public17/bgp/damping.cc
In file included from /root/i86pc-sunos-public17/bgp/plumbing.hh:36,
                 from /root/i86pc-sunos-public17/bgp/bgp.hh:35,
                 from /root/i86pc-sunos-public17/bgp/damping.cc:32:
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: ISO C++ 
forbids declaration of `queue' with no type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: expected 
`;' before '<' token
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:194: error: 
`RouteTables' does not name a type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In constructor 
`DeleteAllNodes<A>::DeleteAllNodes(const PeerHandler*, RefTrie<A, const 
CacheRoute<A> >*)':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: (Each 
undeclared identifier is reported only once for each function it appears 
in.)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In member function 
`bool DeleteAllNodes<A>::delete_some_nodes()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:164: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In static member 
function `static bool DeleteAllNodes<A>::running()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:191: error: 
`_route_tables' undeclared (first use this function)
scons: *** [/root/i86pc-sunos-public17/bgp/damping.o] Error 1
g++ -o /root/i86pc-sunos-public17/bgp/next_hop_resolver.o -c -g -Werror 
-W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -ftemplate-depth-25 -D_FORTIFY_SOURCE=0 
-I/usr/sfw/include -I/opt/local/include -I/usr/local/include -I. 
-I/root/i86pc-sunos-public17 
/root/i86pc-sunos-public17/bgp/next_hop_resolver.cc
In file included from /root/i86pc-sunos-public17/bgp/plumbing.hh:36,
                 from /root/i86pc-sunos-public17/bgp/bgp.hh:35,
                 from 
/root/i86pc-sunos-public17/bgp/next_hop_resolver.cc:35:
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: ISO C++ 
forbids declaration of `queue' with no type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: expected 
`;' before '<' token
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:194: error: 
`RouteTables' does not name a type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In constructor 
`DeleteAllNodes<A>::DeleteAllNodes(const PeerHandler*, RefTrie<A, const 
CacheRoute<A> >*)':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: (Each 
undeclared identifier is reported only once for each function it appears 
in.)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In member function 
`bool DeleteAllNodes<A>::delete_some_nodes()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:164: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In static member 
function `static bool DeleteAllNodes<A>::running()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:191: error: 
`_route_tables' undeclared (first use this function)
scons: *** [/root/i86pc-sunos-public17/bgp/next_hop_resolver.o] Error 1
g++ -o /root/i86pc-sunos-public17/bgp/path_attribute.o -c -g -Werror -W 
-Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -ftemplate-depth-25 -D_FORTIFY_SOURCE=0 
-I/usr/sfw/include -I/opt/local/include -I/usr/local/include -I. 
-I/root/i86pc-sunos-public17 
/root/i86pc-sunos-public17/bgp/path_attribute.cc
In file included from /root/i86pc-sunos-public17/bgp/plumbing.hh:36,
                 from /root/i86pc-sunos-public17/bgp/bgp.hh:35,
                 from /root/i86pc-sunos-public17/bgp/path_attribute.cc:44:
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: ISO C++ 
forbids declaration of `queue' with no type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: expected 
`;' before '<' token
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:194: error: 
`RouteTables' does not name a type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In constructor 
`DeleteAllNodes<A>::DeleteAllNodes(const PeerHandler*, RefTrie<A, const 
CacheRoute<A> >*)':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: (Each 
undeclared identifier is reported only once for each function it appears 
in.)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In member function 
`bool DeleteAllNodes<A>::delete_some_nodes()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:164: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In static member 
function `static bool DeleteAllNodes<A>::running()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:191: error: 
`_route_tables' undeclared (first use this function)
scons: *** [/root/i86pc-sunos-public17/bgp/path_attribute.o] Error 1
g++ -o /root/i86pc-sunos-public17/bgp/peer.o -c -g -Werror -W -Wall 
-Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -ftemplate-depth-25 -D_FORTIFY_SOURCE=0 
-I/usr/sfw/include -I/opt/local/include -I/usr/local/include -I. 
-I/root/i86pc-sunos-public17 /root/i86pc-sunos-public17/bgp/peer.cc
In file included from /root/i86pc-sunos-public17/bgp/plumbing.hh:36,
                 from /root/i86pc-sunos-public17/bgp/bgp.hh:35,
                 from /root/i86pc-sunos-public17/bgp/peer.cc:42:
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: ISO C++ 
forbids declaration of `queue' with no type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: expected 
`;' before '<' token
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:194: error: 
`RouteTables' does not name a type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In constructor 
`DeleteAllNodes<A>::DeleteAllNodes(const PeerHandler*, RefTrie<A, const 
CacheRoute<A> >*)':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: (Each 
undeclared identifier is reported only once for each function it appears 
in.)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In member function 
`bool DeleteAllNodes<A>::delete_some_nodes()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:164: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In static member 
function `static bool DeleteAllNodes<A>::running()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:191: error: 
`_route_tables' undeclared (first use this function)
scons: *** [/root/i86pc-sunos-public17/bgp/peer.o] Error 1
g++ -o /root/i86pc-sunos-public17/bgp/peer_handler.o -c -g -Werror -W 
-Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -ftemplate-depth-25 -D_FORTIFY_SOURCE=0 
-I/usr/sfw/include -I/opt/local/include -I/usr/local/include -I. 
-I/root/i86pc-sunos-public17 /root/i86pc-sunos-public17/bgp/peer_handler.cc
In file included from /root/i86pc-sunos-public17/bgp/plumbing.hh:36,
                 from /root/i86pc-sunos-public17/bgp/peer_handler.cc:28:
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: ISO C++ 
forbids declaration of `queue' with no type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: expected 
`;' before '<' token
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:194: error: 
`RouteTables' does not name a type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In constructor 
`DeleteAllNodes<A>::DeleteAllNodes(const PeerHandler*, RefTrie<A, const 
CacheRoute<A> >*)':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: (Each 
undeclared identifier is reported only once for each function it appears 
in.)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In member function 
`bool DeleteAllNodes<A>::delete_some_nodes()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:164: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In static member 
function `static bool DeleteAllNodes<A>::running()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:191: error: 
`_route_tables' undeclared (first use this function)
scons: *** [/root/i86pc-sunos-public17/bgp/peer_handler.o] Error 1
g++ -o /root/i86pc-sunos-public17/bgp/plumbing.o -c -g -Werror -W -Wall 
-Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -ftemplate-depth-25 -D_FORTIFY_SOURCE=0 
-I/usr/sfw/include -I/opt/local/include -I/usr/local/include -I. 
-I/root/i86pc-sunos-public17 /root/i86pc-sunos-public17/bgp/plumbing.cc
In file included from /root/i86pc-sunos-public17/bgp/plumbing.hh:36,
                 from /root/i86pc-sunos-public17/bgp/plumbing.cc:36:
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: ISO C++ 
forbids declaration of `queue' with no type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: expected 
`;' before '<' token
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:194: error: 
`RouteTables' does not name a type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In constructor 
`DeleteAllNodes<A>::DeleteAllNodes(const PeerHandler*, RefTrie<A, const 
CacheRoute<A> >*)':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: (Each 
undeclared identifier is reported only once for each function it appears 
in.)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In member function 
`bool DeleteAllNodes<A>::delete_some_nodes()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:164: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In static member 
function `static bool DeleteAllNodes<A>::running()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:191: error: 
`_route_tables' undeclared (first use this function)
scons: *** [/root/i86pc-sunos-public17/bgp/plumbing.o] Error 1
g++ -o /root/i86pc-sunos-public17/bgp/rib_ipc_handler.o -c -g -Werror -W 
-Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -ftemplate-depth-25 -D_FORTIFY_SOURCE=0 
-I/usr/sfw/include -I/opt/local/include -I/usr/local/include -I. 
-I/root/i86pc-sunos-public17 
/root/i86pc-sunos-public17/bgp/rib_ipc_handler.cc
In file included from /root/i86pc-sunos-public17/bgp/plumbing.hh:36,
                 from /root/i86pc-sunos-public17/bgp/bgp.hh:35,
                 from /root/i86pc-sunos-public17/bgp/rib_ipc_handler.cc:31:
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: ISO C++ 
forbids declaration of `queue' with no type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: expected 
`;' before '<' token
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:194: error: 
`RouteTables' does not name a type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In constructor 
`DeleteAllNodes<A>::DeleteAllNodes(const PeerHandler*, RefTrie<A, const 
CacheRoute<A> >*)':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: (Each 
undeclared identifier is reported only once for each function it appears 
in.)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In member function 
`bool DeleteAllNodes<A>::delete_some_nodes()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:164: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In static member 
function `static bool DeleteAllNodes<A>::running()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:191: error: 
`_route_tables' undeclared (first use this function)
scons: *** [/root/i86pc-sunos-public17/bgp/rib_ipc_handler.o] Error 1
g++ -o /root/i86pc-sunos-public17/bgp/route_table_aggregation.o -c -g 
-Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith 
-Wcast-align -Woverloaded-virtual -ftemplate-depth-25 
-D_FORTIFY_SOURCE=0 -I/usr/sfw/include -I/opt/local/include 
-I/usr/local/include -I. -I/root/i86pc-sunos-public17 
/root/i86pc-sunos-public17/bgp/route_table_aggregation.cc
In file included from /root/i86pc-sunos-public17/bgp/plumbing.hh:36,
                 from /root/i86pc-sunos-public17/bgp/bgp.hh:35,
                 from 
/root/i86pc-sunos-public17/bgp/route_table_aggregation.cc:28:
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: ISO C++ 
forbids declaration of `queue' with no type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: expected 
`;' before '<' token
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:194: error: 
`RouteTables' does not name a type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In constructor 
`DeleteAllNodes<A>::DeleteAllNodes(const PeerHandler*, RefTrie<A, const 
CacheRoute<A> >*)':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: (Each 
undeclared identifier is reported only once for each function it appears 
in.)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In member function 
`bool DeleteAllNodes<A>::delete_some_nodes()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:164: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In static member 
function `static bool DeleteAllNodes<A>::running()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:191: error: 
`_route_tables' undeclared (first use this function)
scons: *** [/root/i86pc-sunos-public17/bgp/route_table_aggregation.o] 
Error 1
g++ -o /root/i86pc-sunos-public17/bgp/route_table_cache.o -c -g -Werror 
-W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -ftemplate-depth-25 -D_FORTIFY_SOURCE=0 
-I/usr/sfw/include -I/opt/local/include -I/usr/local/include -I. 
-I/root/i86pc-sunos-public17 
/root/i86pc-sunos-public17/bgp/route_table_cache.cc
In file included from 
/root/i86pc-sunos-public17/bgp/route_table_cache.cc:28:
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: ISO C++ 
forbids declaration of `queue' with no type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: expected 
`;' before '<' token
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:194: error: 
`RouteTables' does not name a type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In constructor 
`DeleteAllNodes<A>::DeleteAllNodes(const PeerHandler*, RefTrie<A, const 
CacheRoute<A> >*)':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: (Each 
undeclared identifier is reported only once for each function it appears 
in.)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In member function 
`bool DeleteAllNodes<A>::delete_some_nodes()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:164: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In static member 
function `static bool DeleteAllNodes<A>::running()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:191: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.cc: At global scope:
/root/i86pc-sunos-public17/bgp/route_table_cache.cc:32: error: `typename 
DeleteAllNodes<A>::RouteTables DeleteAllNodes<A>::_route_tables' is not 
a static member of `class DeleteAllNodes<A>'
/root/i86pc-sunos-public17/bgp/route_table_cache.cc:32: error: template 
definition of non-template `typename DeleteAllNodes<A>::RouteTables 
DeleteAllNodes<A>::_route_tables'
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In instantiation of 
`DeleteAllNodes<A>::DeleteAllNodes(const PeerHandler*, RefTrie<A, const 
CacheRoute<A> >*) [with A = IPv4]':
/root/i86pc-sunos-public17/bgp/route_table_cache.cc:64:   instantiated 
from `void CacheTable<A>::flush_cache() [with A = IPv4]'
/root/i86pc-sunos-public17/bgp/route_table_cache.cc:473:   instantiated 
from here
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:142: warning: unused 
parameter 'route_table'
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:142: warning: unused 
parameter 'route_table'
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In instantiation of 
`DeleteAllNodes<A>::DeleteAllNodes(const PeerHandler*, RefTrie<A, const 
CacheRoute<A> >*) [with A = IPv6]':
/root/i86pc-sunos-public17/bgp/route_table_cache.cc:64:   instantiated 
from `void CacheTable<A>::flush_cache() [with A = IPv6]'
/root/i86pc-sunos-public17/bgp/route_table_cache.cc:474:   instantiated 
from here
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:142: warning: unused 
parameter 'route_table'
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:142: warning: unused 
parameter 'route_table'
scons: *** [/root/i86pc-sunos-public17/bgp/route_table_cache.o] Error 1
g++ -o /root/i86pc-sunos-public17/bgp/route_table_damping.o -c -g 
-Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith 
-Wcast-align -Woverloaded-virtual -ftemplate-depth-25 
-D_FORTIFY_SOURCE=0 -I/usr/sfw/include -I/opt/local/include 
-I/usr/local/include -I. -I/root/i86pc-sunos-public17 
/root/i86pc-sunos-public17/bgp/route_table_damping.cc
In file included from /root/i86pc-sunos-public17/bgp/plumbing.hh:36,
                 from /root/i86pc-sunos-public17/bgp/bgp.hh:35,
                 from 
/root/i86pc-sunos-public17/bgp/route_table_damping.cc:28:
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: ISO C++ 
forbids declaration of `queue' with no type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: expected 
`;' before '<' token
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:194: error: 
`RouteTables' does not name a type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In constructor 
`DeleteAllNodes<A>::DeleteAllNodes(const PeerHandler*, RefTrie<A, const 
CacheRoute<A> >*)':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: (Each 
undeclared identifier is reported only once for each function it appears 
in.)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In member function 
`bool DeleteAllNodes<A>::delete_some_nodes()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:164: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In static member 
function `static bool DeleteAllNodes<A>::running()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:191: error: 
`_route_tables' undeclared (first use this function)
scons: *** [/root/i86pc-sunos-public17/bgp/route_table_damping.o] Error 1
g++ -o /root/i86pc-sunos-public17/bgp/route_table_filter.o -c -g -Werror 
-W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -ftemplate-depth-25 -D_FORTIFY_SOURCE=0 
-I/usr/sfw/include -I/opt/local/include -I/usr/local/include -I. 
-I/root/i86pc-sunos-public17 
/root/i86pc-sunos-public17/bgp/route_table_filter.cc
In file included from /root/i86pc-sunos-public17/bgp/plumbing.hh:36,
                 from /root/i86pc-sunos-public17/bgp/bgp.hh:35,
                 from 
/root/i86pc-sunos-public17/bgp/route_table_filter.cc:30:
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: ISO C++ 
forbids declaration of `queue' with no type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: expected 
`;' before '<' token
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:194: error: 
`RouteTables' does not name a type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In constructor 
`DeleteAllNodes<A>::DeleteAllNodes(const PeerHandler*, RefTrie<A, const 
CacheRoute<A> >*)':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: (Each 
undeclared identifier is reported only once for each function it appears 
in.)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In member function 
`bool DeleteAllNodes<A>::delete_some_nodes()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:164: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In static member 
function `static bool DeleteAllNodes<A>::running()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:191: error: 
`_route_tables' undeclared (first use this function)
scons: *** [/root/i86pc-sunos-public17/bgp/route_table_filter.o] Error 1
g++ -o /root/i86pc-sunos-public17/bgp/route_table_ribin.o -c -g -Werror 
-W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -ftemplate-depth-25 -D_FORTIFY_SOURCE=0 
-I/usr/sfw/include -I/opt/local/include -I/usr/local/include -I. 
-I/root/i86pc-sunos-public17 
/root/i86pc-sunos-public17/bgp/route_table_ribin.cc
In file included from /root/i86pc-sunos-public17/bgp/plumbing.hh:36,
                 from /root/i86pc-sunos-public17/bgp/rib_ipc_handler.hh:29,
                 from 
/root/i86pc-sunos-public17/bgp/route_table_ribin.cc:30:
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: ISO C++ 
forbids declaration of `queue' with no type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: expected 
`;' before '<' token
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:194: error: 
`RouteTables' does not name a type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In constructor 
`DeleteAllNodes<A>::DeleteAllNodes(const PeerHandler*, RefTrie<A, const 
CacheRoute<A> >*)':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: (Each 
undeclared identifier is reported only once for each function it appears 
in.)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In member function 
`bool DeleteAllNodes<A>::delete_some_nodes()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:164: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In static member 
function `static bool DeleteAllNodes<A>::running()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:191: error: 
`_route_tables' undeclared (first use this function)
scons: *** [/root/i86pc-sunos-public17/bgp/route_table_ribin.o] Error 1
g++ -o /root/i86pc-sunos-public17/bgp/xrl_target.o -c -g -Werror -W 
-Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -ftemplate-depth-25 -D_FORTIFY_SOURCE=0 
-I/usr/sfw/include -I/opt/local/include -I/usr/local/include -I. 
-I/root/i86pc-sunos-public17 /root/i86pc-sunos-public17/bgp/xrl_target.cc
In file included from /root/i86pc-sunos-public17/bgp/plumbing.hh:36,
                 from /root/i86pc-sunos-public17/bgp/bgp.hh:35,
                 from /root/i86pc-sunos-public17/bgp/xrl_target.cc:41:
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: ISO C++ 
forbids declaration of `queue' with no type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: expected 
`;' before '<' token
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:194: error: 
`RouteTables' does not name a type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In constructor 
`DeleteAllNodes<A>::DeleteAllNodes(const PeerHandler*, RefTrie<A, const 
CacheRoute<A> >*)':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: (Each 
undeclared identifier is reported only once for each function it appears 
in.)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In member function 
`bool DeleteAllNodes<A>::delete_some_nodes()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:164: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In static member 
function `static bool DeleteAllNodes<A>::running()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:191: error: 
`_route_tables' undeclared (first use this function)
scons: *** [/root/i86pc-sunos-public17/bgp/xrl_target.o] Error 1
g++ -o /root/i86pc-sunos-public17/bgp/bgp.o -c -g -Werror -W -Wall 
-Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -ftemplate-depth-25 -D_FORTIFY_SOURCE=0 
-I/usr/sfw/include -I/opt/local/include -I/usr/local/include -I. 
-I/root/i86pc-sunos-public17 /root/i86pc-sunos-public17/bgp/bgp.cc
In file included from /root/i86pc-sunos-public17/bgp/plumbing.hh:36,
                 from /root/i86pc-sunos-public17/bgp/bgp.hh:35,
                 from /root/i86pc-sunos-public17/bgp/bgp.cc:40:
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: ISO C++ 
forbids declaration of `queue' with no type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: expected 
`;' before '<' token
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:194: error: 
`RouteTables' does not name a type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In constructor 
`DeleteAllNodes<A>::DeleteAllNodes(const PeerHandler*, RefTrie<A, const 
CacheRoute<A> >*)':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: (Each 
undeclared identifier is reported only once for each function it appears 
in.)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In member function 
`bool DeleteAllNodes<A>::delete_some_nodes()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:164: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In static member 
function `static bool DeleteAllNodes<A>::running()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:191: error: 
`_route_tables' undeclared (first use this function)
scons: *** [/root/i86pc-sunos-public17/bgp/bgp.o] Error 1
g++ -o /root/i86pc-sunos-public17/bgp/main.o -c -g -Werror -W -Wall 
-Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -ftemplate-depth-25 -D_FORTIFY_SOURCE=0 
-I/usr/sfw/include -I/opt/local/include -I/usr/local/include -I. 
-I/root/i86pc-sunos-public17 /root/i86pc-sunos-public17/bgp/main.cc
In file included from /root/i86pc-sunos-public17/bgp/plumbing.hh:36,
                 from /root/i86pc-sunos-public17/bgp/bgp.hh:35,
                 from /root/i86pc-sunos-public17/bgp/main.cc:33:
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: ISO C++ 
forbids declaration of `queue' with no type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:139: error: expected 
`;' before '<' token
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:194: error: 
`RouteTables' does not name a type
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In constructor 
`DeleteAllNodes<A>::DeleteAllNodes(const PeerHandler*, RefTrie<A, const 
CacheRoute<A> >*)':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:144: error: (Each 
undeclared identifier is reported only once for each function it appears 
in.)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In member function 
`bool DeleteAllNodes<A>::delete_some_nodes()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:164: error: 
`_route_tables' undeclared (first use this function)
/root/i86pc-sunos-public17/bgp/route_table_cache.hh: In static member 
function `static bool DeleteAllNodes<A>::running()':
/root/i86pc-sunos-public17/bgp/route_table_cache.hh:191: error: 
`_route_tables' undeclared (first use this function)
scons: *** [/root/i86pc-sunos-public17/bgp/main.o] Error 1
scons: done building targets (errors occurred during build).
%%%

thanks,
BMS



More information about the Xorp-users mailing list