bug-zebra
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Compilation problem] network.c error for zebra.


From: 진영 이
Subject: [Compilation problem] network.c error for zebra.
Date: Fri, 21 Dec 2001 23:07:49 +0900 (JST)

hi.

i'm zebra software from compilantion problem.

ex) 
Nothing selected
creating cache ./config.cache
checking for a BSD compatible install...
/usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i386--freebsd4.4
checking for gcc... cc
checking whether the C compiler (cc -O -pipe  )
works... yes
checking whether the C compiler (cc -O -pipe  ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
checking for a BSD compatible install...
/usr/bin/install -c -o root -g wheel
checking whether make sets ${MAKE}... (cached) yes
checking build system type... i386--freebsd4.4
checking for ar... ar
checking for ranlib... ranlib
checking for AIX... no
checking for ANSI C header files... yes
checking for string.h... yes
checking for stropts.h... no
checking for sys/conf.h... yes
checking for sys/ksym.h... no
checking for sys/time.h... yes
checking for sys/times.h... yes
checking for sys/select.h... yes
checking for sys/sysctl.h... yes
checking for sys/sockio.h... yes
checking for sys/types.h... yes
checking for net/if_dl.h... yes
checking for net/if_var.h... yes
checking for linux/version.h... no
checking for kvm.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for net/netopt.h... no
checking for netinet/in_var.h... yes
checking for netinet/in6_var.h... no
checking for netinet/in6.h... no
checking for inet/nd.h... no
checking for asm/types.h... yes
checking for linux/rtnetlink.h... yes
checking for netinet/icmp6.h... yes
checking for libutil.h... yes
checking for working const... yes
checking return type of signal handlers... void
checking whether byte ordering is bigendian... no
checking for bcopy... yes
checking for bzero... yes
checking for strerror... yes
checking for inet_aton... yes
checking for daemon... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for if_nametoindex... yes
checking for if_indextoname... yes
checking for getifaddrs... yes
checking for setproctitle... yes
checking zebra between kernel interface method...
socket
checking route read method check... sysctl
checking interface looking up method... sysctl
checking ipforward method check... sysctl
checking for getaddrinfo... yes
checking whether does this OS have IPv6 stack... KAME
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 main in -lm... yes
checking for __inet_ntop... yes
checking for __inet_pton... yes
checking for __inet_aton... yes
checking for regexec in -lc... yes
checking whether struct sockaddr has a sa_len field...
yes
checking whether struct sockaddr_in has a sin_len
field... yes
checking whether struct sockaddr_un has a sun_len
field... yes
checking whether struct sockaddr_in6 has a
sin6_scope_id field... yes
checking whther socklen_t is defined... yes
checking whether struct sockaddr_dl exist... yes
checking whether struct ifaliasreq exist... yes
checking whether struct if6_aliasreq exist... yes
checking whether struct rt_addrinfo exist... yes
checking whether struct in_pktinfo exist... no
checking pid file directory... /var/run
checking for working htonl... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating zebra/Makefile
creating ripd/Makefile
creating ripngd/Makefile
creating bgpd/Makefile
creating ospfd/Makefile
creating ospf6d/Makefile
creating vtysh/Makefile
creating doc/Makefile
creating config.h

zebra configuration
-------------------
zebra version           : 0.92a
host operationg system  : freebsd4.4
source code location    : .
compiler                : cc
compiler flags          : -O -pipe 
directory for pid files : /var/run

===>  Building for zebra-0.92a
make  all-recursive
Making all in lib
echo '' >version.c
echo 'char *host_name = "i386--freebsd4.4";'
>>version.c
cc -DHAVE_CONFIG_H
-DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I.. -I..
-I../lib    -O -pipe -c version.c
cc -DHAVE_CONFIG_H
-DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I.. -I..
-I../lib    -O -pipe -c network.c
In file included from ../lib/zebra.h:119,
                 from network.c:23:
/usr/include/linux/rtnetlink.h:21: warning:
`RTM_NEWADDR' redefined
/usr/include/net/route.h:205: warning: this is the
location of the previous definition
/usr/include/linux/rtnetlink.h:22: warning:
`RTM_DELADDR' redefined
/usr/include/net/route.h:206: warning: this is the
location of the previous definition
/usr/include/linux/rtnetlink.h:285: warning:
`RTAX_MAX' redefined
/usr/include/net/route.h:246: warning: this is the
location of the previous definition
In file included from ../lib/zebra.h:119,
                 from network.c:23:
/usr/include/linux/rtnetlink.h:190: syntax error
before `0x1'
/usr/include/linux/rtnetlink.h:194: syntax error
before `0x2'
*** Error code 1

Stop in /usr/ports/net/zebra/work/zebra-0.92a/lib.
*** Error code 1

Stop in /usr/ports/net/zebra/work/zebra-0.92a.
*** Error code 1

Stop in /usr/ports/net/zebra/work/zebra-0.92a.
*** Error code 1

Stop in /usr/ports/net/zebra.
*** Error code 1

Stop in /usr/ports/net/zebra.
*** Error code 1

Stop in /usr/ports/net/zebra.

!
answer me!!!!

_____________________________________________________________________
이번 겨울방학엔 어학과 컴퓨터 실력을 두배로! - 야후! 배움터
http://education.yahoo.co.kr/
대학별 입시요강, 지원가능 예상점수확인 - 야후! 대입정보
http://kr.jinhak.yahoo.com/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]