compiling bird for Synology DS713+

Александр hightower at mail.ru
Tue Sep 10 17:46:32 CEST 2013


Hello!

I want to compile bird for Synology DS713+ (Linux DiskStation 3.2.40 #3776
SMP Mon Aug 26 23:41:39 CST 2013 x86_64 GNU/Linux), but fails

here is configure output
=========Beginning of the citation==============
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 library containing clock_gettime... -lrt
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether CC supports -Wno-pointer-sign... yes
checking whether CC supports -fno-strict-aliasing... yes
checking whether CC supports -fno-strict-overflow... yes
checking
CFLAGS... -g -O2 -Wall -Wstrict-prototypes -Wno-parentheses -Wno-pointer-sign
 -fno-strict-a
liasing -fno-strict-overflow
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /opt/bin/install -c
checking for ranlib... ranlib
checking for flex... flex
checking for bison... bison
checking for gm4... no
checking for m4... m4
checking which OS configuration should we use... ./sysdep/cf/linux.h
checking system-dependent directories... sysdep/linux sysdep/unix  lib
checking protocols... ok
checking for linux/rtnetlink.h... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 syslog.h usability... yes
checking syslog.h presence... yes
checking for strings.h... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking whether 'struct sockaddr' has sa_len... no
checking whether byte ordering is bigendian... no
checking size of char... 1
checking size of short int... 2
checking size of int... 4
checking size of long int... 4
checking size of long long int... 8
checking for 8-bit type... char
checking for 16-bit type... short int
checking for 32-bit type... int
checking for 64-bit type... long long int
checking usual alignment of structures... 8
checking characteristics of time_t... 32-bit signed
checking for struct ip_mreqn... yes
checking for add_history in -lhistory... yes
checking for tgetent in -lncurses... yes
checking for rl_callback_read_char in -lreadline... yes
checking for rl_crlf in -lreadline... yes
checking for rl_ding in -lreadline... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating obj/Makefile
config.status: creating obj/Rules
config.status: creating obj/sysdep/autoconf.h
config.status: obj/sysdep/autoconf.h is unchanged
config.status: executing merge commands
Merging system-dependent modules (sysdep/linux sysdep/unix lib)

BIRD was configured with the following options:
        Source directory:       .
        Object directory:       obj
        Iproute2 directory:     /etc/iproute2
        System configuration:   ./sysdep/cf/linux.h
        Debugging:              no
        Routing protocols:      bgp ospf pipe rip static
=========The end of the citation================

and make, which is fails
=========Beginning of the citation==============
make -C obj all
make[1]: Entering directory `/volume1/tmp/bird-1.3.11/obj'
echo > sysdep/paths.h "/* Generated by Makefile, don't edit manually! */"
echo >> sysdep/paths.h "#define PATH_CONFIG_FILE
\"/usr/local/etc/bird.conf\""
echo >> sysdep/paths.h "#define PATH_CONTROL_SOCKET
\"/usr/local/var/run/bird.ctl\""
if test -n "/etc/iproute2" ; then echo >>sysdep/paths.h "#define
PATH_IPROUTE_DIR \"/etc/iproute2\""
  fi
make depend
make[2]: Entering directory `/volume1/tmp/bird-1.3.11/obj'
mkdir -p nest filter proto/bgp proto/ospf proto/pipe proto/rip proto/static
client doc
touch .dir-stamp
set -e ; for a in lib conf ; do make -C $a depend ; done
make[3]: Entering directory `/volume1/tmp/bird-1.3.11/obj/lib'
gcc -I../ -I../..  -MM bitops.c checksum.c event.c io.c ip.c ipv4.c krt.c
lists.c log.c main.c md5.c
 mempool.c netlink.c patmatch.c printf.c random.c resource.c slab.c slists.c
xmalloc.c >depend
make[3]: Leaving directory `/volume1/tmp/bird-1.3.11/obj/lib'
make[3]: Entering directory `/volume1/tmp/bird-1.3.11/obj/conf'
m4 -P ../../conf/gen_keywords.m4 ../../conf/confbase.Y
../../sysdep/unix/config.Y ../../sysdep/unix/
krt.Y ../../sysdep/linux/netlink.Y  ../../nest/config.Y
../../filter/config.Y ../../proto/bgp/config
.Y ../../proto/ospf/config.Y ../../proto/pipe/config.Y
../../proto/rip/config.Y ../../proto/static/c
onfig.Y >keywords.h
m4 -P ../../conf/gen_commands.m4 ../../client/cmds.m4 ../../conf/confbase.Y
../../sysdep/unix/config
.Y ../../sysdep/unix/krt.Y ../../sysdep/linux/netlink.Y  ../../nest/config.Y
../../filter/config.Y .
./../proto/bgp/config.Y ../../proto/ospf/config.Y ../../proto/pipe/config.Y
../../proto/rip/config.Y
 ../../proto/static/config.Y | sort >commands.h
m4 -P ../../conf/gen_parser.m4 ../../conf/confbase.Y
../../sysdep/unix/config.Y ../../sysdep/unix/kr
t.Y ../../sysdep/linux/netlink.Y  ../../nest/config.Y ../../filter/config.Y
../../proto/bgp/config.Y
 ../../proto/ospf/config.Y ../../proto/pipe/config.Y
../../proto/rip/config.Y ../../proto/static/con
fig.Y >cf-parse.y
bison -bcf-parse -dv -pcf_  cf-parse.y
make[3]: *** [cf-parse.tab.c] Broken pipe
make[3]: Leaving directory `/volume1/tmp/bird-1.3.11/obj/conf'
make[2]: *** [depend] Error 2
make[2]: Leaving directory `/volume1/tmp/bird-1.3.11/obj'
make[1]: *** [.dep-stamp] Error 2
make[1]: Leaving directory `/volume1/tmp/bird-1.3.11/obj'
make: *** [all] Error 2
=========The end of the citation================

what can I do to compile it?
thanks. 




More information about the Bird-users mailing list