quagga开源路由软件安装

[root@localhost1 quagga-0.99.15]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gawk... gawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether gcc and cc understand -c and -o together... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for sed... sed
checking whether we are using the Intel compiler... no
checking whether to set a default CFLAGS... gcc default
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... no, using cp -p
checking whether make sets $(MAKE)... (cached) yes
checking for ar... ar
checking if make is GNU make... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a sed that does not truncate output... sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... (cached) ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking if zebra should be configurable to send Route Advertisements... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for C/C++ restrict keyword... __restrict
checking for working volatile... yes
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for size_t... yes
checking return type of signal handlers... void
checking whether struct tm is in sys/time.h or time.h... time.h
checking stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
checking sys/ksym.h usability... no
checking sys/ksym.h presence... no
checking for sys/ksym.h... no
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/types.h... (cached) yes
checking linux/version.h usability... yes
checking linux/version.h presence... yes
checking for linux/version.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking asm/types.h usability... yes
checking asm/types.h presence... yes
checking for asm/types.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/un.h... yes
checking for net/if.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/in_var.h... no
checking for net/if_dl.h... no
checking for net/if_var.h... no
checking for net/netopt.h... no
checking for net/route.h... yes
checking for inet/nd.h... no
checking for arpa/inet.h... yes
checking for netinet/ip_icmp.h... yes
checking for fcntl.h... yes
checking for stddef.h... yes
checking for sys/ioctl.h... yes
checking for syslog.h... yes
checking for wchar.h... yes
checking for wctype.h... yes
checking for sys/sysctl.h... yes
checking for sys/sockio.h... no
checking for kvm.h... no
checking for sys/conf.h... no
checking for ucontext.h... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking whether byte ordering is bigendian... no
checking for unistd.h... (cached) yes
checking for working chown... yes
checking for working POSIX fnmatch... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking for strftime... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking whether lstat dereferences a symlink specified with a trailing slash... no
checking whether stat accepts an empty string... no
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for strftime... (cached) yes
checking for vprintf... yes
checking for _doprnt... no
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for pow in -lm... yes
checking for pow... yes
checking for dup2... yes
checking for ftruncate... yes
checking for getcwd... yes
checking for gethostbyname... yes
checking for getpagesize... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for inet_aton... yes
checking for strnlen... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strndup... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for strlcat... no
checking for strlcpy... no
checking for daemon... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for if_nametoindex... yes
checking for if_indextoname... yes
checking for getifaddrs... yes
checking for uname... yes
checking for fcntl... yes
checking for setproctitle... no
checking for setproctitle in -lutil... no
checking zebra between kernel interface method... netlink
checking net/bpf.h usability... no
checking net/bpf.h presence... no
checking for net/bpf.h... no
checking sys/dlpi.h usability... no
checking sys/dlpi.h presence... no
checking for sys/dlpi.h... no
checking zebra IS-IS I/O method... pfpacket
checking for broken CMSG_FIRSTHDR... no
checking route read method... netlink
checking interface looking up method... netlink
checking for struct ip_mreqn.imr_ifindex... yes
checking for BSD struct ip_mreq hack... no
checking for net/if.h... (cached) yes
checking for net/if_media.h... no
checking for netinet/tcp.h... yes
checking whether TCP_MD5SIG is declared... yes
checking ipforward method... proc
checking for getaddrinfo... yes
checking whether does this OS have IPv6 stack... Linux IPv6
checking whether libc has IPv6 support... yes
checking for GNU libc >= 2.1... yes
checking for netinet6/in6.h... no
checking for netinet/in6_var.h... no
checking for netinet/icmp6.h... yes
checking for netinet6/in6_var.h... no
checking for netinet6/nd6.h... no
checking for inet_ntop in -lc... yes
checking for inet_pton in -lc... yes
checking for crypt in -lcrypt... yes
checking for res_init in -lresolv... no
checking for __inet_ntop... no
checking for __inet_pton... no
checking for __inet_aton... no
checking whether system has GNU regex... checking for regexec in -lc... yes
checking for struct sockaddr... yes
checking for struct sockaddr_in... yes
checking for struct sockaddr_in6... yes
checking for struct sockaddr_un... yes
checking for struct sockaddr_dl... no
checking for socklen_t... yes
checking for struct ifaliasreq... no
checking for struct if6_aliasreq... no
checking for struct in6_aliasreq... no
checking for struct nd_opt_adv_interval... yes
checking for struct rt_addrinfo... no
checking for struct nd_opt_homeagent_info... no
checking for struct nd_opt_adv_interval... (cached) yes
checking for struct sockaddr.sa_len... no
checking for struct sockaddr_in.sin_len... no
checking for struct sockaddr_un.sun_len... no
checking for struct sockaddr_in6.sin6_scope_id... yes
checking for struct if6_aliasreq.ifra_lifetime... no
checking for struct nd_opt_adv_interval.nd_opt_ai_type... no
checking for struct in_pktinfo... yes
checking for struct icmphdr... yes
checking whether getrusage is available... yes
checking whether CLOCK_MONOTONIC is declared... yes
checking for clock_gettime in -lrt... yes
checking whether prctl PR_SET_KEEPCAPS is available... yes
checking sys/capability.h usability... yes
checking sys/capability.h presence... yes
checking for sys/capability.h... yes
checking for cap_init in -lcap... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for backtrace... yes
checking for malloc.h... yes
checking whether mallinfo is available... yes
checking whether gcc accepts PIE flags... yes
checking directory to use for state file... /var/run
checking for working htonl... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating zebra/Makefile
config.status: creating ripd/Makefile
config.status: creating ripngd/Makefile
config.status: creating bgpd/Makefile
config.status: creating ospfd/Makefile
config.status: creating watchquagga/Makefile
config.status: creating ospf6d/Makefile
config.status: creating isisd/Makefile
config.status: creating vtysh/Makefile
config.status: creating doc/Makefile
config.status: creating ospfclient/Makefile
config.status: creating tests/Makefile
config.status: creating m4/Makefile
config.status: creating redhat/Makefile
config.status: creating pkgsrc/Makefile
config.status: creating redhat/quagga.spec
config.status: creating lib/version.h
config.status: creating doc/defines.texi
config.status: creating isisd/topology/Makefile
config.status: creating pkgsrc/bgpd.sh
config.status: creating pkgsrc/ospf6d.sh
config.status: creating pkgsrc/ospfd.sh
config.status: creating pkgsrc/ripd.sh
config.status: creating pkgsrc/ripngd.sh
config.status: creating pkgsrc/zebra.sh
config.status: creating solaris/Makefile
config.status: creating vtysh/extract.pl
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

Quagga configuration
--------------------
quagga version          : 0.99.15
host operationg system  : linux-gnu
source code location    : .
compiler                : gcc
compiler flags          : -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual
make                    : make
includes                : 
linker flags            :  -lcrypt   -lrt -lcap  -lm
state file directory    : /var/run
config file directory   : /usr/local/etc
example directory       : /usr/local/etc
user to run as          : quagga
group to run as         : quagga
group for vty sockets   :
config file mask        : 0600
log file mask           : 0600

The above user and group must have read/write access to the state file
directory and to the config files in the config file directory.
[root@localhost1 quagga-0.99.15]# make
make  all-recursive
make[1]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15'
Making all in lib
make[2]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/lib'
make  all-am
make[3]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/lib'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -DSYSCONFDIR=/"/usr/local/etc//" -I. -I.. -I.. -I.. -I../lib     -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT pid_output.lo -MD -MP -MF .deps/pid_output.Tpo -c -o pid_output.lo pid_output.c
libtool: compile:  gcc -DHAVE_CONFIG_H -DSYSCONFDIR=/"/usr/local/etc//" -I. -I.. -I.. -I.. -I../lib -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT pid_output.lo -MD -MP -MF .deps/pid_output.Tpo -c pid_output.c  -fPIC -DPIC -o .libs/pid_output.o
libtool: compile:  gcc -DHAVE_CONFIG_H -DSYSCONFDIR=/"/usr/local/etc//" -I. -I.. -I.. -I.. -I../lib -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT pid_output.lo -MD -MP -MF .deps/pid_output.Tpo -c pid_output.c -o pid_output.o >/dev/null 2>&1
mv -f .deps/pid_output.Tpo .deps/pid_output.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -DSYSCONFDIR=/"/usr/local/etc//" -I. -I.. -I.. -I.. -I../lib     -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT vty.lo -MD -MP -MF .deps/vty.Tpo -c -o vty.lo vty.c
libtool: compile:  gcc -DHAVE_CONFIG_H -DSYSCONFDIR=/"/usr/local/etc//" -I. -I.. -I.. -I.. -I../lib -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT vty.lo -MD -MP -MF .deps/vty.Tpo -c vty.c  -fPIC -DPIC -o .libs/vty.o
vty.c: ???憊ty_log_fixed?:
vty.c:2455: ??:????????????????
vty.c:2457: ??:????????????????
vty.c: ????:
vty.c:1841: ??:憊ty_serv_sock_family??????
libtool: compile:  gcc -DHAVE_CONFIG_H -DSYSCONFDIR=/"/usr/local/etc//" -I. -I.. -I.. -I.. -I../lib -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT vty.lo -MD -MP -MF .deps/vty.Tpo -c vty.c -o vty.o >/dev/null 2>&1
mv -f .deps/vty.Tpo .deps/vty.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -DSYSCONFDIR=/"/usr/local/etc//" -I. -I.. -I.. -I.. -I../lib     -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT command.lo -MD -MP -MF .deps/command.Tpo -c -o command.lo command.c
libtool: compile:  gcc -DHAVE_CONFIG_H -DSYSCONFDIR=/"/usr/local/etc//" -I. -I.. -I.. -I.. -I../lib -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT command.lo -MD -MP -MF .deps/command.Tpo -c command.c  -fPIC -DPIC -o .libs/command.o
libtool: compile:  gcc -DHAVE_CONFIG_H -DSYSCONFDIR=/"/usr/local/etc//" -I. -I.. -I.. -I.. -I../lib -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT command.lo -MD -MP -MF .deps/command.Tpo -c command.c -o command.o >/dev/null 2>&1
mv -f .deps/command.Tpo .deps/command.Plo
/bin/sh ../libtool --tag=CC   --mode=link gcc  -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -version-info 0:0:0   -o libzebra.la -rpath /usr/local/lib network.lo pid_output.lo getopt.lo getopt1.lo daemon.lo checksum.lo vector.lo linklist.lo vty.lo command.lo sockunion.lo prefix.lo thread.lo if.lo memory.lo buffer.lo table.lo hash.lo filter.lo routemap.lo distribute.lo stream.lo str.lo log.lo plist.lo zclient.lo sockopt.lo smux.lo md5.lo if_rmap.lo keychain.lo privs.lo sigevent.lo pqueue.lo jhash.lo memtypes.lo workqueue.lo  -lcrypt   -lrt
libtool: link: rm -fr  .libs/libzebra.a .libs/libzebra.la .libs/libzebra.lai .libs/libzebra.so .libs/libzebra.so.0 .libs/libzebra.so.0.0.0
libtool: link: gcc -shared  .libs/network.o .libs/pid_output.o .libs/getopt.o .libs/getopt1.o .libs/daemon.o .libs/checksum.o .libs/vector.o .libs/linklist.o .libs/vty.o .libs/command.o .libs/sockunion.o .libs/prefix.o .libs/thread.o .libs/if.o .libs/memory.o .libs/buffer.o .libs/table.o .libs/hash.o .libs/filter.o .libs/routemap.o .libs/distribute.o .libs/stream.o .libs/str.o .libs/log.o .libs/plist.o .libs/zclient.o .libs/sockopt.o .libs/smux.o .libs/md5.o .libs/if_rmap.o .libs/keychain.o .libs/privs.o .libs/sigevent.o .libs/pqueue.o .libs/jhash.o .libs/memtypes.o .libs/workqueue.o   -lcrypt -lrt    -Wl,-soname -Wl,libzebra.so.0 -o .libs/libzebra.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libzebra.so.0" && cp -p "libzebra.so.0.0.0" "libzebra.so.0")
libtool: link: (cd ".libs" && rm -f "libzebra.so" && cp -p "libzebra.so.0.0.0" "libzebra.so")
libtool: link: ar cru .libs/libzebra.a  network.o pid_output.o getopt.o getopt1.o daemon.o checksum.o vector.o linklist.o vty.o command.o sockunion.o prefix.o thread.o if.o memory.o buffer.o table.o hash.o filter.o routemap.o distribute.o stream.o str.o log.o plist.o zclient.o sockopt.o smux.o md5.o if_rmap.o keychain.o privs.o sigevent.o pqueue.o jhash.o memtypes.o workqueue.o
libtool: link: ranlib .libs/libzebra.a
libtool: link: ( cd ".libs" && rm -f "libzebra.la" && cp -p "../libzebra.la" "libzebra.la" )
make[3]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/lib'
make[2]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/lib'
Making all in zebra
make[2]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/zebra'
gcc -DHAVE_CONFIG_H -DSYSCONFDIR=/"/usr/local/etc//" -DMULTIPATH_NUM=1 -I. -I.. -I.. -I.. -I../lib    -fPIE -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT test_main.o -MD -MP -MF .deps/test_main.Tpo -c -o test_main.o test_main.c
mv -f .deps/test_main.Tpo .deps/test_main.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc -fPIE -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -pie  -o testzebra test_main.o zebra_rib.o interface.o connected.o debug.o zebra_vty.o kernel_null.o redistribute_null.o ioctl_null.o misc_null.o -lcap  ../lib/libzebra.la -lcrypt   -lrt
libtool: link: gcc -fPIE -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -pie -o .libs/testzebra test_main.o zebra_rib.o interface.o connected.o debug.o zebra_vty.o kernel_null.o redistribute_null.o ioctl_null.o misc_null.o  -lcap ../lib/.libs/libzebra.so -lcrypt -lrt -Wl,-rpath -Wl,/usr/local/lib
gcc -DHAVE_CONFIG_H -DSYSCONFDIR=/"/usr/local/etc//" -DMULTIPATH_NUM=1 -I. -I.. -I.. -I.. -I../lib    -fPIE -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc -fPIE -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -pie  -o zebra zserv.o main.o interface.o connected.o zebra_rib.o zebra_routemap.o redistribute.o debug.o rtadv.o zebra_snmp.o zebra_vty.o irdp_main.o irdp_interface.o irdp_packet.o router-id.o ioctl.o ipforward_proc.o if_netlink.o  rt_netlink.o rtread_netlink.o   -lcap  ../lib/libzebra.la -lcrypt   -lrt
libtool: link: gcc -fPIE -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -pie -o .libs/zebra zserv.o main.o interface.o connected.o zebra_rib.o zebra_routemap.o redistribute.o debug.o rtadv.o zebra_snmp.o zebra_vty.o irdp_main.o irdp_interface.o irdp_packet.o router-id.o ioctl.o ipforward_proc.o if_netlink.o rt_netlink.o rtread_netlink.o  -lcap ../lib/.libs/libzebra.so -lcrypt -lrt -Wl,-rpath -Wl,/usr/local/lib
make[2]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/zebra'
Making all in bgpd
make[2]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/bgpd'
gcc -DHAVE_CONFIG_H -DSYSCONFDIR=/"/usr/local/etc//" -I. -I.. -I.. -I.. -I../lib    -fPIE -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT bgp_debug.o -MD -MP -MF .deps/bgp_debug.Tpo -c -o bgp_debug.o bgp_debug.c
mv -f .deps/bgp_debug.Tpo .deps/bgp_debug.Po
rm -f libbgp.a
ar cru libbgp.a bgpd.o bgp_fsm.o bgp_aspath.o bgp_community.o bgp_attr.o bgp_debug.o bgp_route.o bgp_zebra.o bgp_open.o bgp_routemap.o bgp_packet.o bgp_network.o bgp_filter.o bgp_regex.o bgp_clist.o bgp_dump.o bgp_snmp.o bgp_ecommunity.o bgp_mplsvpn.o bgp_nexthop.o bgp_damp.o bgp_table.o bgp_advertise.o bgp_vty.o
ranlib libbgp.a
gcc -DHAVE_CONFIG_H -DSYSCONFDIR=/"/usr/local/etc//" -I. -I.. -I.. -I.. -I../lib    -fPIE -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT bgp_main.o -MD -MP -MF .deps/bgp_main.Tpo -c -o bgp_main.o bgp_main.c
mv -f .deps/bgp_main.Tpo .deps/bgp_main.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc -fPIE -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -pie  -o bgpd bgp_main.o libbgp.a ../lib/libzebra.la -lcap -lm -lcrypt   -lrt
libtool: link: gcc -fPIE -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -pie -o .libs/bgpd bgp_main.o  libbgp.a ../lib/.libs/libzebra.so -lcap -lm -lcrypt -lrt -Wl,-rpath -Wl,/usr/local/lib
make[2]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/bgpd'
Making all in ripd
make[2]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/ripd'
gcc -DHAVE_CONFIG_H -DSYSCONFDIR=/"/usr/local/etc//" -I. -I.. -I.. -I.. -I../lib    -fPIE -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT rip_main.o -MD -MP -MF .deps/rip_main.Tpo -c -o rip_main.o rip_main.c
mv -f .deps/rip_main.Tpo .deps/rip_main.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc -fPIE -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -pie  -o ripd rip_main.o ripd.o rip_zebra.o rip_interface.o rip_debug.o rip_snmp.o rip_routemap.o rip_peer.o rip_offset.o ../lib/libzebra.la -lcap -lcrypt   -lrt
libtool: link: gcc -fPIE -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -pie -o .libs/ripd rip_main.o ripd.o rip_zebra.o rip_interface.o rip_debug.o rip_snmp.o rip_routemap.o rip_peer.o rip_offset.o  ../lib/.libs/libzebra.so -lcap -lcrypt -lrt -Wl,-rpath -Wl,/usr/local/lib
make[2]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/ripd'
Making all in ripngd
make[2]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/ripngd'
gcc -DHAVE_CONFIG_H -DSYSCONFDIR=/"/usr/local/etc//" -I. -I.. -I.. -I.. -I../lib    -fPIE -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT ripng_main.o -MD -MP -MF .deps/ripng_main.Tpo -c -o ripng_main.o ripng_main.c
mv -f .deps/ripng_main.Tpo .deps/ripng_main.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc -fPIE -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -pie  -o ripngd ripng_main.o ripng_interface.o ripngd.o ripng_zebra.o ripng_route.o ripng_debug.o ripng_routemap.o ripng_offset.o ripng_peer.o ripng_nexthop.o ../lib/libzebra.la -lcap -lcrypt   -lrt
libtool: link: gcc -fPIE -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -pie -o .libs/ripngd ripng_main.o ripng_interface.o ripngd.o ripng_zebra.o ripng_route.o ripng_debug.o ripng_routemap.o ripng_offset.o ripng_peer.o ripng_nexthop.o  ../lib/.libs/libzebra.so -lcap -lcrypt -lrt -Wl,-rpath -Wl,/usr/local/lib
make[2]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/ripngd'
Making all in ospfd
make[2]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/ospfd'
gcc -DHAVE_CONFIG_H  -DSYSCONFDIR=/"/usr/local/etc//" -I. -I.. -I.. -I.. -I../lib     -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT ospf_main.o -MD -MP -MF .deps/ospf_main.Tpo -c -o ospf_main.o ospf_main.c
mv -f .deps/ospf_main.Tpo .deps/ospf_main.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc  -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual   -o ospfd ospf_main.o libospf.la ../lib/libzebra.la -lcap -lcrypt   -lrt
libtool: link: gcc -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -o .libs/ospfd ospf_main.o  ./.libs/libospf.so ../lib/.libs/libzebra.so -lcap -lcrypt -lrt -Wl,-rpath -Wl,/usr/local/lib
make[2]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/ospfd'
Making all in ospf6d
make[2]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/ospf6d'
gcc -DHAVE_CONFIG_H -DSYSCONFDIR=/"/usr/local/etc//" -I. -I.. -I.. -I.. -I../lib    -fPIE -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT ospf6_main.o -MD -MP -MF .deps/ospf6_main.Tpo -c -o ospf6_main.o ospf6_main.c
mv -f .deps/ospf6_main.Tpo .deps/ospf6_main.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc -fPIE -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -pie  -o ospf6d ospf6_main.o ospf6_network.o ospf6_message.o ospf6_lsa.o ospf6_lsdb.o ospf6_top.o ospf6_area.o ospf6_interface.o ospf6_neighbor.o ospf6_flood.o ospf6_route.o ospf6_intra.o ospf6_zebra.o ospf6_spf.o ospf6_proto.o ospf6_asbr.o ospf6_abr.o ospf6_snmp.o ospf6d.o ../lib/libzebra.la -lcap -lcrypt   -lrt
libtool: link: gcc -fPIE -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -pie -o .libs/ospf6d ospf6_main.o ospf6_network.o ospf6_message.o ospf6_lsa.o ospf6_lsdb.o ospf6_top.o ospf6_area.o ospf6_interface.o ospf6_neighbor.o ospf6_flood.o ospf6_route.o ospf6_intra.o ospf6_zebra.o ospf6_spf.o ospf6_proto.o ospf6_asbr.o ospf6_abr.o ospf6_snmp.o ospf6d.o  ../lib/.libs/libzebra.so -lcap -lcrypt -lrt -Wl,-rpath -Wl,/usr/local/lib
make[2]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/ospf6d'
Making all in watchquagga
make[2]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/watchquagga'
gcc -DHAVE_CONFIG_H -DSTATEDIR=/"/usr/local/var//" -I. -I.. -I.. -I../lib   -fPIE -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT watchquagga.o -MD -MP -MF .deps/watchquagga.Tpo -c -o watchquagga.o watchquagga.c
watchquagga.c: ???憆un_background?:
watchquagga.c:350: ??:????????????????
mv -f .deps/watchquagga.Tpo .deps/watchquagga.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc -fPIE -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -pie  -o watchquagga watchquagga.o ../lib/libzebra.la -lcap -lcrypt   -lrt
libtool: link: gcc -fPIE -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -pie -o .libs/watchquagga watchquagga.o  ../lib/.libs/libzebra.so -lcap -lcrypt -lrt -Wl,-rpath -Wl,/usr/local/lib
make[2]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/watchquagga'
Making all in doc
make[2]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/doc'
make  all-am
make[3]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/doc'
restore=: && backupdir=".am$$" && /
        am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && /
        rm -rf $backupdir && mkdir $backupdir && /
        if (/bin/sh /mnt/hgfs/hgfs/quagga-0.99.15/missing --run makeinfo --version) >/dev/null 2>&1; then /
          for f in quagga.info quagga.info-[0-9] quagga.info-[0-9][0-9] quagga.i[0-9] quagga.i[0-9][0-9]; do /
            if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; /
          done; /
        else :; fi && /
        cd "$am__cwd"; /
        if /bin/sh /mnt/hgfs/hgfs/quagga-0.99.15/missing --run makeinfo   -I . /
         -o quagga.info quagga.texi; /
        then /
          rc=0; /
          CDPATH="${ZSH_VERSION+.}:" && cd .; /
        else /
          rc=$?; /
          CDPATH="${ZSH_VERSION+.}:" && cd . && /
          $restore $backupdir/* `echo "./quagga.info" | sed 's|[^/]*$||'`; /
        fi; /
        rm -rf $backupdir; exit $rc
make[3]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/doc'
make[2]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/doc'
Making all in m4
make[2]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/m4'
Making all in redhat
make[2]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/redhat'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/redhat'
make[2]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15'
make[2]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15'
make[1]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15'
[root@localhost1 quagga-0.99.15]# make install
Making install in lib
make[1]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/lib'
make  install-am
make[2]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/lib'
make[3]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/lib'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libzebra.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libzebra.so.0.0.0 /usr/local/lib/libzebra.so.0.0.0
libtool: install: (cd /usr/local/lib && { cp -p -f libzebra.so.0.0.0 libzebra.so.0 || { rm -f libzebra.so.0 && cp -p libzebra.so.0.0.0 libzebra.so.0; }; })
libtool: install: (cd /usr/local/lib && { cp -p -f libzebra.so.0.0.0 libzebra.so || { rm -f libzebra.so && cp -p libzebra.so.0.0.0 libzebra.so; }; })
libtool: install: /usr/bin/install -c .libs/libzebra.lai /usr/local/lib/libzebra.la
libtool: install: /usr/bin/install -c .libs/libzebra.a /usr/local/lib/libzebra.a
libtool: install: chmod 644 /usr/local/lib/libzebra.a
libtool: install: ranlib /usr/local/lib/libzebra.a
libtool: finish: PATH="/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/local/lib
ldconfig: /usr/local/lib/libzebra.so.0 is not a symbolic link

----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/include/quagga" || /bin/mkdir -p "/usr/local/include/quagga"
 /usr/bin/install -c -m 644 buffer.h checksum.h command.h filter.h getopt.h hash.h if.h linklist.h log.h memory.h network.h prefix.h routemap.h distribute.h sockunion.h str.h stream.h table.h thread.h vector.h version.h vty.h zebra.h plist.h zclient.h sockopt.h smux.h md5.h if_rmap.h keychain.h privs.h sigevent.h pqueue.h jhash.h zassert.h memtypes.h workqueue.h route_types.h '/usr/local/include/quagga'
make[3]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/lib'
make[2]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/lib'
make[1]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/lib'
Making install in zebra
make[1]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/zebra'
make[2]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/zebra'
test -z "/usr/local/sbin" || /bin/mkdir -p "/usr/local/sbin"
  /bin/sh ../libtool   --mode=install /usr/bin/install -c zebra '/usr/local/sbin'
libtool: install: /usr/bin/install -c .libs/zebra /usr/local/sbin/zebra
test -z "/usr/local/etc" || /bin/mkdir -p "/usr/local/etc"
 /usr/bin/install -c -m 644 zebra.conf.sample '/usr/local/etc'
make[2]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/zebra'
make[1]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/zebra'
Making install in bgpd
make[1]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/bgpd'
make[2]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/bgpd'
test -z "/usr/local/sbin" || /bin/mkdir -p "/usr/local/sbin"
  /bin/sh ../libtool   --mode=install /usr/bin/install -c bgpd '/usr/local/sbin'
libtool: install: /usr/bin/install -c .libs/bgpd /usr/local/sbin/bgpd
test -z "/usr/local/etc" || /bin/mkdir -p "/usr/local/etc"
 /usr/bin/install -c -m 644 bgpd.conf.sample bgpd.conf.sample2 '/usr/local/etc'
make[2]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/bgpd'
make[1]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/bgpd'
Making install in ripd
make[1]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/ripd'
make[2]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/ripd'
test -z "/usr/local/sbin" || /bin/mkdir -p "/usr/local/sbin"
  /bin/sh ../libtool   --mode=install /usr/bin/install -c ripd '/usr/local/sbin'
libtool: install: /usr/bin/install -c .libs/ripd /usr/local/sbin/ripd
test -z "/usr/local/etc" || /bin/mkdir -p "/usr/local/etc"
 /usr/bin/install -c -m 644 ripd.conf.sample '/usr/local/etc'
make[2]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/ripd'
make[1]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/ripd'
Making install in ripngd
make[1]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/ripngd'
make[2]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/ripngd'
test -z "/usr/local/sbin" || /bin/mkdir -p "/usr/local/sbin"
  /bin/sh ../libtool   --mode=install /usr/bin/install -c ripngd '/usr/local/sbin'
libtool: install: /usr/bin/install -c .libs/ripngd /usr/local/sbin/ripngd
test -z "/usr/local/etc" || /bin/mkdir -p "/usr/local/etc"
 /usr/bin/install -c -m 644 ripngd.conf.sample '/usr/local/etc'
make[2]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/ripngd'
make[1]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/ripngd'
Making install in ospfd
make[1]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/ospfd'
make[2]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/ospfd'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libospf.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libospf.so.0.0.0 /usr/local/lib/libospf.so.0.0.0
libtool: install: (cd /usr/local/lib && { cp -p -f libospf.so.0.0.0 libospf.so.0 || { rm -f libospf.so.0 && cp -p libospf.so.0.0.0 libospf.so.0; }; })
libtool: install: (cd /usr/local/lib && { cp -p -f libospf.so.0.0.0 libospf.so || { rm -f libospf.so && cp -p libospf.so.0.0.0 libospf.so; }; })
libtool: install: /usr/bin/install -c .libs/libospf.lai /usr/local/lib/libospf.la
libtool: install: /usr/bin/install -c .libs/libospf.a /usr/local/lib/libospf.a
libtool: install: chmod 644 /usr/local/lib/libospf.a
libtool: install: ranlib /usr/local/lib/libospf.a
libtool: finish: PATH="/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/local/lib
ldconfig: /usr/local/lib/libzebra.so.0 is not a symbolic link

ldconfig: /usr/local/lib/libospf.so.0 is not a symbolic link

----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/sbin" || /bin/mkdir -p "/usr/local/sbin"
  /bin/sh ../libtool   --mode=install /usr/bin/install -c ospfd '/usr/local/sbin'
libtool: install: /usr/bin/install -c .libs/ospfd /usr/local/sbin/ospfd
test -z "/usr/local/etc" || /bin/mkdir -p "/usr/local/etc"
 /usr/bin/install -c -m 644 ospfd.conf.sample '/usr/local/etc'
test -z "/usr/local/include/quagga/ospfd" || /bin/mkdir -p "/usr/local/include/quagga/ospfd"
 /usr/bin/install -c -m 644 ospf_api.h ospf_asbr.h ospf_dump.h ospf_lsa.h ospf_lsdb.h ospf_nsm.h ospf_ism.h ospf_opaque.h ospfd.h '/usr/local/include/quagga/ospfd'
make[2]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/ospfd'
make[1]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/ospfd'
Making install in ospf6d
make[1]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/ospf6d'
make[2]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/ospf6d'
test -z "/usr/local/sbin" || /bin/mkdir -p "/usr/local/sbin"
  /bin/sh ../libtool   --mode=install /usr/bin/install -c ospf6d '/usr/local/sbin'
libtool: install: /usr/bin/install -c .libs/ospf6d /usr/local/sbin/ospf6d
test -z "/usr/local/etc" || /bin/mkdir -p "/usr/local/etc"
 /usr/bin/install -c -m 644 ospf6d.conf.sample '/usr/local/etc'
make[2]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/ospf6d'
make[1]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/ospf6d'
Making install in watchquagga
make[1]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/watchquagga'
make[2]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/watchquagga'
test -z "/usr/local/sbin" || /bin/mkdir -p "/usr/local/sbin"
  /bin/sh ../libtool   --mode=install /usr/bin/install -c watchquagga '/usr/local/sbin'
libtool: install: /usr/bin/install -c .libs/watchquagga /usr/local/sbin/watchquagga
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/watchquagga'
make[1]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/watchquagga'
Making install in doc
make[1]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/doc'
make  install-am
make[2]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/doc'
make[3]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/doc'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/info" || /bin/mkdir -p "/usr/local/share/info"
 /usr/bin/install -c -m 644 ./quagga.info ./quagga.info-1 ./quagga.info-2 '/usr/local/share/info'
 install-info --info-dir='/usr/local/share/info' '/usr/local/share/info/quagga.info'
test -z "/usr/local/share/man/man1" || /bin/mkdir -p "/usr/local/share/man/man1"
 /usr/bin/install -c -m 644 vtysh.1 '/usr/local/share/man/man1'
test -z "/usr/local/share/man/man8" || /bin/mkdir -p "/usr/local/share/man/man8"
 /usr/bin/install -c -m 644 bgpd.8 ospf6d.8 ospfd.8 ripd.8 ripngd.8 zebra.8 isisd.8 '/usr/local/share/man/man8'
make[3]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/doc'
make[2]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/doc'
make[1]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/doc'
Making install in m4
make[1]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/m4'
make[2]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/m4'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/m4'
make[1]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/m4'
Making install in redhat
make[1]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/redhat'
make[2]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15/redhat'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/redhat'
make[1]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15/redhat'
make[1]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15'
make[2]: Entering directory `/mnt/hgfs/hgfs/quagga-0.99.15'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15'
make[1]: Leaving directory `/mnt/hgfs/hgfs/quagga-0.99.15'
[root@localhost1 quagga-0.99.15]# zebra
privs_init: could not lookup user quagga

[root@localhost1 quagga-0.99.15]# zebra --help
Usage : zebra [OPTION...]

Daemon which manages kernel routing table management and redistribution between different routing protocols.

-b, --batch        Runs in batch mode
-d, --daemon       Runs in daemon mode
-f, --config_file  Set configuration file name
-i, --pid_file     Set process identifier file name
-k, --keep_kernel  Don't delete old routes which installed by zebra.
-C, --dryrun       Check configuration for validity and exit
-A, --vty_addr     Set vty's bind address
-P, --vty_port     Set vty's port number
-r, --retain       When program terminates, retain added route by zebra.
-u, --user         User to run as
-g, --group       Group to run as
-s, --nl-bufsize   Set netlink receive buffer size
-v, --version      Print program version
-h, --help         Display this help and exit

Report bugs to http://bugzilla.quagga.net
[root@localhost1 quagga-0.99.15]# zebra -d -u root -g root
vty_read_config: failed to open configuration file /usr/local/etc/zebra.conf: No such file or directory
can't open configuration file [/usr/local/etc/zebra.conf]
[root@localhost1 quagga-0.99.15]# cp -Rf /usr/local/etc/zebra.conf.sample /usr/local/etc/zebra.conf
[root@localhost1 quagga-0.99.15]# zebra -d -u root -g root
[root@localhost1 quagga-0.99.15]# telnet localhost 2601

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

Hello, this is Quagga (version 0.99.15).
Copyright 1996-2005 Kunihiro Ishiguro, et al.


User Access Verification

Password:
Router> en
Password: (zebra)
Router#
Router# show in
Router# show interface
Interface eth0 is up, line protocol detection is disabled
  index 2 metric 1 mtu 1500
  flags: <UP,BROADCAST,RUNNING,MULTICAST>
  HWaddr: 00:0c:29:74:f9:69
  inet 192.168.0.103/24 broadcast 255.255.255.255
  inet6 fe80::20c:29ff:fe74:f969/64
Interface lo is up, line protocol detection is disabled
  index 1 metric 1 mtu 16436
  flags: <UP,LOOPBACK,RUNNING>
  inet 127.0.0.1/8
  inet6 ::1/128
Interface pan0 is down
  index 3 metric 1 mtu 1500
  flags: <BROADCAST,MULTICAST>
  HWaddr: ea:1d:f7:bc:fc:ec
Router# (2)  make 
% [ZEBRA] Unknown command: (2)  make 
Router# (2)  make 
% [ZEBRA] Unknown command: (2)  make 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值