[Xorp-hackers] vrrp sigabrt in release 1.6

Eric S. Johnson esj at cs.fiu.edu
Thu Feb 11 11:50:06 PST 2010


lizhaous2000 at yahoo.com said:
> I am using 1.6. Anybody has experiences using VRRP to configure eth
> interface failover?

I had similar issues with VRRP on 1.6 and linux. I basically 
gave up and used a standalone vrrp daemon (vrrpd) "under" xorp
for VRRP functionality. That seems to be working fine.

As an aside I can't even begin the build of the SVN version, 
the scons doesn't seem to be working on CentOS 5.4

Anyone have a clue on what I am missing?

E

--


[root at test-router xorp-svn-20100211]# gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)

[root at test-router xorp-svn-20100211]# scons
scons: Reading SConscript files ...
Mkdir("/opt/router/src/xorp-svn-20100211/obj/i686-pc-linux-gnu")
Mkdir("/opt/router/src/xorp-svn-20100211/obj/i686-pc-linux-gnu")
scons: *** /opt/router/src/xorp-svn-20100211/obj/i686-pc-linux-gnu: File exists
Build System Type:  i686-pc-linux-gnu
Host System Type:   i686-pc-linux-gnu
Source path:        /opt/router/src/xorp-svn-20100211
Build path:         /opt/router/src/xorp-svn-20100211/obj/i686-pc-linux-gnu
Install prefix:     /usr/local/xorp
CC:                gcc
CXX:               g++
STRIP:             strip
Strip binaries:    True
Optimize code:     yes
Profile code:      no
Default XRL transport: local
Shared libraries:  True
Use rtld ORIGIN:   True
Ignore check errors:  False
Debug symbols:     full
Debug STL:         False
Debug messages:    False
Debug function names:  False
Debug callbacks:   False
Debug XRL syntax:  False
Checking for Boost version >= 1.39... no
Checking for Boost regex library... yes
Checking whether byte ordering is bigendian... (cached) no
Checking for C header file stdint.h... yes
Checking for C header file inttypes.h... yes
Checking for C type int8_t... yes
Checking for C type uint8_t... yes
Checking for C type int16_t... yes
Checking for C type uint16_t... yes
Checking for C type int32_t... yes
Checking for C type uint32_t... yes
Checking for C type int64_t... yes
Checking for C type uint64_t... yes
Checking for C header file stddef.h... yes
Checking for C header file stdarg.h... yes
Checking for C header file stdlib.h... yes
Checking for C header file strings.h... yes
Checking for C header file string.h... yes
Checking for C header file signal.h... yes
Checking for C header file math.h... yes
Checking for C header file memory.h... yes
Checking for C function strftime()... yes
Checking for C function strlcpy()... no
Checking for C function strlcat()... no
Checking whether va_copy is declared... yes
Checking for C header file sys/types.h... yes
Checking for C header file fcntl.h... yes
Checking for C header file getopt.h... yes
Checking for C header file glob.h... yes
Checking for C header file grp.h... yes
Checking for C header file pthread.h... yes
Checking for C header file pwd.h... yes
Checking for C header file mqueue.h... yes
Checking for C header file syslog.h... yes
Checking for C header file termios.h... yes
Checking for C header file time.h... yes
Checking for C header file unistd.h... yes
Checking for C header file vfork.h... no
Checking for C function readv()... yes
Checking for C function strerror()... yes
Checking for C function syslog()... yes
Checking for C function uname()... yes
Checking for C function writev()... yes
Checking for C library xnet... no
Checking for C function recvmsg()... yes
Checking for C function sendmsg()... yes
Checking for C library rt... yes
Checking for C function clock_gettime()... yes
Checking whether CLOCK_MONOTONIC is declared... yes
Checking whether CLOCK_MONOTONIC_FAST is declared... no
Checking for C type struct timespec... yes
Checking for C header file paths.h... yes
Checking for C header file sysexits.h... yes
Checking for C function realpath()... yes
Checking for C function strptime()... yes
Checking for C function sysctl()... yes
Checking for C header file netdb.h... yes
Checking for C library resolv... yes
Checking for C function hstrerror()... yes
Checking for C header file sys/cdefs.h... yes
Checking for C header file sys/param.h... yes
Checking for C header file sys/utsname.h... yes
Checking for C header file sys/errno.h... yes
Checking for C header file sys/wait.h... yes
Checking for C header file sys/signal.h... yes
Checking for C header file sys/time.h... yes
Checking for C header file sys/uio.h... yes
Checking for C header file sys/ioctl.h... yes
Checking for C header file sys/select.h... yes
Checking for C header file sys/socket.h... yes
Checking for C header file sys/sockio.h... no
Checking for C header file sys/un.h... yes
Checking for C header file sys/mount.h... yes
Checking for C header file sys/resource.h... yes
Checking for C header file sys/stat.h... yes
Checking for C header file sys/syslog.h... yes
Checking for C header file sys/linker.h... no
Checking for C header file sys/sysctl.h... yes
Checking for C header file linux/types.h... yes
Checking for C header file linux/sockios.h... yes
Checking for C type struct iovec... yes
Checking for C type struct msghdr... yes
Checking for C type struct cmsghdr... yes
Checking whether AF_INET is declared... yes
Checking whether AF_INET6 is declared... yes
Checking whether SOCK_STREAM is declared... yes
Checking whether SOCK_DGRAM is declared... yes
Checking whether SOCK_RAW is declared... yes
Checking whether C type struct msghdr has member msg_control... yes
Checking whether C type struct msghdr has member msg_iov... yes
Checking whether C type struct msghdr has member msg_name... yes
Checking whether C type struct msghdr has member msg_namelen... yes
Checking whether C type struct sockaddr has member sa_len... no
Checking whether C type struct sockaddr_storage has member ss_len... no
Checking whether C type struct sockaddr_un has member sun_len... no
Checking for C header file net/ethernet.h... yes
Checking for C header file sys/ethernet.h... no
Checking for C header file net/if.h... yes
Checking for C header file net/if_arp.h... yes
Checking for C header file net/if_dl.h... no
Checking for C header file net/if_ether.h... no
Checking for C header file net/if_media.h... no
Checking for C header file net/if_var.h... no
Checking for C header file net/if_types.h... no
Checking for C header file net/route.h... yes
Checking for C header file ifaddrs.h... yes
Checking for C header file stropts.h... yes
Checking for C header file linux/ethtool.h... yes
Checking for C header file linux/if_tun.h... yes
Checking for C header file linux/netlink.h... yes
Checking for C header file linux/rtnetlink.h... yes
Checking whether RTA_TABLE is declared... yes
Checking whether C type struct sockaddr_dl has member sdl_len... no
Checking whether C type struct ifreq has member ifr_hwaddr... yes
Checking whether C type struct ifreq has member ifr_ifindex... yes
Checking for C function ether_aton()... yes
Checking for C function ether_aton_r()... yes
Checking for C function ether_ntoa()... yes
Checking for C function ether_ntoa_r()... yes
Checking for C function getaddrinfo()... yes
Checking for C function getifaddrs()... yes
Checking for C function getnameinfo()... yes
Checking for C function if_indextoname()... yes
Checking for C function if_nametoindex()... yes
Checking for C function inet_ntop()... yes
Checking for C function inet_pton()... yes
Checking for C type struct ether_addr... yes
Checking whether system has sysctl NET_RT_DUMP... no
Checking whether system has sysctl NET_RT_IFLIST... no
Checking whether SIOCGIFCONF is declared... yes
Checking for C header file netinet/in.h... yes
Checking for C header file netinet/in_systm.h... yes
Checking for C header file netinet/in_var.h... no
Checking for C header file netinet/ip.h... yes
Checking for C header file netinet/tcp.h... yes
Checking for C header file netinet/igmp.h... yes
Checking for C header file netinet/ether.h... yes
Checking for C header file netinet/if_ether.h... yes
Checking for C header file inet/nd.h... no
Checking for C header file inet/ip.h... no
Checking for C header file arpa/inet.h... yes
Checking for C header file arpa/telnet.h... yes
Checking whether C type struct sockaddr_in has member sin_len... no
Checking whether IP_MULTICAST_IF is declared... yes
Checking whether IP_MULTICAST_TTL is declared... yes
Checking whether IP_MULTICAST_LOOP is declared... yes
Checking whether IP_ADD_MEMBERSHIP is declared... yes
Checking whether IP_DROP_MEMBERSHIP is declared... yes
Checking whether system has sysctl IPCTL_FORWARDING... no
Checking whether __KAME__ is declared... no
Checking whether inet6_opt_init is declared... yes
Checking whether C type struct sockaddr_in6 has member sin6_len... no
Checking whether C type struct sockaddr_in6 has member sin6_scope_id... yes
Checking for C header file netinet/ip6.h... yes
Checking for C header file netinet/icmp6.h... yes
Checking for C type struct mld_hdr... yes
Checking for C header file netinet6/in6_var.h... no
Checking for C header file netinet6/nd6.h... no
Checking for C++ header file netinet6/nd6.h... no
Checking whether system has sysctl IPV6CTL_FORWARDING... no
Checking whether system has sysctl IPV6CTL_ACCEPT_RTADV... no
Checking whether IPV6_MULTICAST_IF is declared... yes
Checking whether IPV6_MULTICAST_LOOP is declared... yes
Checking for C header file netinet/ip_mroute.h... no
Checking for C header file net/ip_mroute/ip_mroute.h... no
Checking for C header file linux/mroute.h... no
Checking for C type struct mfcctl2... no
Checking whether C type struct mfcctl2 has member mfcc_flags... no
Checking whether C type struct mfcctl2 has member mfcc_rp... no
Checking for C header file netinet/pim.h... no
Checking for C type struct pim... no
Checking whether C type struct pim has member pim_vt... no
Checking for C header file netinet6/ip6_mroute.h... no
Checking for C header file linux/mroute6.h... no
Checking for C type struct mf6cctl2... no
Checking whether C type struct mf6cctl2 has member mf6cc_flags... no
Checking whether C type struct mf6cctl2 has member mf6cc_rp... no
Checking for C header file netinet/ip_compat.h... no
Checking for C header file netinet/ip_fil.h... no
Checking for C header file netinet/ip_fw.h... no
Checking for C header file net/pfvar.h... no
Checking for C++ header file linux/netfilter_ipv4/ip_tables.h... no
Checking for C++ header file linux/netfilter_ipv6/ip6_tables.h... no
Checking for C header file net/if_vlanvar.h... no
Checking for C header file net/if_vlan_var.h... no
Checking for C header file net/vlan/if_vlan_var.h... no
Checking for C header file linux/if_vlan.h... yes
Checking for C header file openssl/md5.h... yes
Checking for C library crypto... no
Checking for C function MD5_Init()... no
Checking for C header file dlfcn.h... yes
Checking for C library dl... yes
Checking for C function dlopen()... yes
Checking for C header file pcap.h... yes
Checking for C library pcap... yes
Checking for C function pcap_sendpacket()... yes
Checking for C library curses... yes
Detected libraries: boost_regex rt resolv dl pcap curses
TypeError: expected a character buffer object:
  File "/opt/router/src/xorp-svn-20100211/SConstruct", line 482:
    Split(env['CFLAGS']))
  File "/opt/router/src/xorp-svn-20100211/SConstruct", line 481:
    lambda s: not s.startswith(tuple(strip_pg_flags)),



More information about the Xorp-hackers mailing list