You are not logged in.

#1 2008-10-24 00:56:20

qdiesel
Member
Registered: 2008-05-19
Posts: 61

can't build gnu zebra from AUR

here's build log

checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 ANSI C... 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 for a BSD-compatible install... /bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for ar... ar
checking for ranlib... ranlib
checking for egrep... grep -E
checking for AIX... no
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 for string.h... (cached) yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking sys/conf.h usability... no
checking sys/conf.h presence... no
checking for sys/conf.h... no
checking sys/ksym.h usability... no
checking sys/ksym.h presence... no
checking for sys/ksym.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
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 sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for sys/types.h... (cached) yes
checking net/if_dl.h usability... no
checking net/if_dl.h presence... no
checking for net/if_dl.h... no
checking net/if_var.h usability... no
checking net/if_var.h presence... no
checking for net/if_var.h... no
checking linux/version.h usability... yes
checking linux/version.h presence... yes
checking for linux/version.h... yes
checking kvm.h usability... no
checking kvm.h presence... no
checking for kvm.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking net/netopt.h usability... no
checking net/netopt.h presence... no
checking for net/netopt.h... no
checking netinet/in_var.h usability... no
checking netinet/in_var.h presence... no
checking for netinet/in_var.h... no
checking netinet/in6_var.h usability... no
checking netinet/in6_var.h presence... no
checking for netinet/in6_var.h... no
checking netinet/in6.h usability... no
checking netinet/in6.h presence... no
checking for netinet/in6.h... no
checking inet/nd.h usability... no
checking inet/nd.h presence... no
checking for inet/nd.h... no
checking asm/types.h usability... yes
checking asm/types.h presence... yes
checking for asm/types.h... yes
checking netinet/icmp6.h usability... yes
checking netinet/icmp6.h presence... yes
checking for netinet/icmp6.h... yes
checking netinet6/nd6.h usability... no
checking netinet6/nd6.h presence... no
checking for netinet6/nd6.h... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking for an ANSI C-conforming 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... no
checking for strlcpy... no
checking for if_nametoindex... yes
checking for if_indextoname... yes
checking for getifaddrs... yes
checking for setproctitle... no
checking for setproctitle in -lutil... no
checking zebra between kernel interface method... netlink
checking route read method check... netlink
checking interface looking up method... netlink
checking ipforward method check... proc
checking for getaddrinfo... yes
checking whether does this OS have IPv6 stack... Linux IPv6
checking for GNU libc 2.1... yes
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... no
checking for __inet_pton... no
checking for __inet_aton... no
checking for regexec in -lc... yes
checking whether struct sockaddr has a sa_len field... no
checking whether struct sockaddr_in has a sin_len field... no
checking whether struct sockaddr_un has a sun_len field... no
checking whether struct sockaddr_in6 has a sin6_scope_id field... yes
checking whether in6addr_loopback is usable... yes
checking whther socklen_t is defined... yes
checking whether struct sockaddr_dl exist... no
checking whether struct ifaliasreq exist... no
checking whether struct if6_aliasreq exist... no
checking whether struct rt_addrinfo exist... no
checking whether struct in_pktinfo exist... yes
checking whether getrusage is available... yes
checking pid file directory... /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 ospf6d/Makefile
config.status: creating vtysh/Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

zebra configuration
-------------------
zebra version           : 0.95a
host operationg system  : linux-gnu
source code location    : .
compiler                : gcc
compiler flags          : -march=i686 -mtune=generic -O2 -pipe
link libraries          : -lm -lcrypt
directory for pid files : /var/run

make  all-recursive
make[1]: Entering directory `/home/sh/zebra/src/zebra-0.95a'
Making all in lib
make[2]: Entering directory `/home/sh/zebra/src/zebra-0.95a/lib'
echo '' >version.c
echo 'char *host_name = "";' >>version.c
source='version.c' object='version.o' libtool=no \
        depfile='.deps/version.Po' tmpdepfile='.deps/version.TPo' \
        depmode=gcc3 /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/\" -I. -I. -I.. -I.. -I.. -I../lib    -march=i686 -mtune=generic -O2 -pipe -c `test -f 'version.c' || echo './'`version.c
rm -f libzebra.a
ar cru libzebra.a version.o network.o pid_output.o getopt.o getopt1.o daemon.o print_version.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 keychain.o pqueue.o
ranlib libzebra.a
make[2]: Leaving directory `/home/sh/zebra/src/zebra-0.95a/lib'
Making all in zebra
make[2]: Entering directory `/home/sh/zebra/src/zebra-0.95a/zebra'
source='rtadv.c' object='rtadv.o' libtool=no \
        depfile='.deps/rtadv.Po' tmpdepfile='.deps/rtadv.TPo' \
        depmode=gcc3 /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/\" -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib    -march=i686 -mtune=generic -O2 -pipe -c `test -f 'rtadv.c' || echo './'`rtadv.c
rtadv.c: In function 'rtadv_recv_packet':
rtadv.c:123: error: dereferencing pointer to incomplete type
rtadv.c:124: error: dereferencing pointer to incomplete type
rtadv.c:124: error: dereferencing pointer to incomplete type
rtadv.c: In function 'rtadv_send_packet':
rtadv.c:149: error: invalid application of 'sizeof' to incomplete type 'struct in6_pktinfo'
rtadv.c:268: error: dereferencing pointer to incomplete type
rtadv.c:269: error: dereferencing pointer to incomplete type
make[2]: *** [rtadv.o] Error 1
make[2]: Leaving directory `/home/sh/zebra/src/zebra-0.95a/zebra'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sh/zebra/src/zebra-0.95a'
make: *** [all] Error 2

Offline

#2 2008-10-24 01:07:09

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,395
Website

Re: can't build gnu zebra from AUR

You should add a comment to the AUR page to let the maintainer know it is not working and hopefully they will fix it.

Offline

Board footer

Powered by FluxBB