All pastes #1926872 Raw Edit

Stuff

public text v1 · immutable
#1926872 ·published 2010-08-27 15:03 UTC
rendered paste body
 [33;01m*[0m This profile has not been tested thoroughly and is not considered to be
 [33;01m*[0m a supported server profile at this time.  For a supported server
 [33;01m*[0m profile, please check the Hardened project (http://hardened.gentoo.org).

 [33;01m*[0m This profile is merely a convenience for people who require a more
 [33;01m*[0m minimal profile, yet are unable to use hardened due to restrictions in
 [33;01m*[0m the software being used on the server. This profile should also be used
 [33;01m*[0m if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this
 [33;01m*[0m applies to you, then it doesn't and you should probably be using
 [33;01m*[0m Hardened, instead.

 [32;01m*[0m CPV:  dev-libs/libdnet-1.11-r1
 [32;01m*[0m REPO: gentoo
 [32;01m*[0m USE:  amd64 elibc_glibc kernel_linux multilib python userland_GNU
>>> Unpacking source...
>>> Unpacking libdnet-1.11.tar.gz to /var/tmp/portage/dev-libs/libdnet-1.11-r1/work
 [32;01m*[0m Applying libdnet-1.10-gcc4.diff ...
[A[182C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Running eautoreconf in '/var/tmp/portage/dev-libs/libdnet-1.11-r1/work/libdnet-1.11' ...
 [32;01m*[0m Running aclocal -I config ...
[A[182C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Running libtoolize --copy --force --install --automake ...
[A[182C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Running aclocal -I config ...
[A[182C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Running autoconf ...
[A[182C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Running autoheader ...
[A[182C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Running automake --add-missing --copy --foreign ...
[A[182C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Running elibtoolize in: libdnet-1.11/config/
 [32;01m*[0m   Applying portage-2.2.patch ...
 [32;01m*[0m   Applying sed-1.5.6.patch ...
 [32;01m*[0m   Applying as-needed-2.2.6.patch ...
>>> Source unpacked in /var/tmp/portage/dev-libs/libdnet-1.11-r1/work
>>> Compiling source in /var/tmp/portage/dev-libs/libdnet-1.11-r1/work/libdnet-1.11 ...
 * econf: updating libdnet-1.11/config/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating libdnet-1.11/config/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-python
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 whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/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 whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) 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 for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
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 for Python... yes
checking for gethostbyname... yes
checking for socket... yes
checking for putmsg in -lstr... no
checking for open_mib in -lnm... no
checking for Check... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking sys/bufmod.h usability... no
checking sys/bufmod.h presence... no
checking for sys/bufmod.h... no
checking sys/dlpi.h usability... no
checking sys/dlpi.h presence... no
checking for sys/dlpi.h... no
checking sys/dlpihdr.h usability... no
checking sys/dlpihdr.h presence... no
checking for sys/dlpihdr.h... no
checking sys/dlpi_ext.h usability... no
checking sys/dlpi_ext.h presence... no
checking for sys/dlpi_ext.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mib.h usability... no
checking sys/mib.h presence... no
checking for sys/mib.h... no
checking sys/ndd_var.h usability... no
checking sys/ndd_var.h presence... no
checking for sys/ndd_var.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking net/bpf.h usability... no
checking net/bpf.h presence... no
checking for net/bpf.h... no
checking net/if.h usability... yes
checking net/if.h presence... yes
checking for net/if.h... yes
checking net/if_var.h usability... no
checking net/if_var.h presence... no
checking for net/if_var.h... no
checking net/if_arp.h usability... yes
checking net/if_arp.h presence... yes
checking for net/if_arp.h... yes
checking net/if_dl.h usability... no
checking net/if_dl.h presence... no
checking for net/if_dl.h... no
checking net/pfilt.h usability... no
checking net/pfilt.h presence... no
checking for net/pfilt.h... no
checking net/pfvar.h usability... no
checking net/pfvar.h presence... no
checking for net/pfvar.h... no
checking net/radix.h usability... no
checking net/radix.h presence... no
checking for net/radix.h... no
checking net/raw.h usability... no
checking net/raw.h presence... no
checking for net/raw.h... no
checking net/route.h usability... yes
checking net/route.h presence... yes
checking for net/route.h... yes
checking netinet/in_var.h usability... no
checking netinet/in_var.h presence... no
checking for netinet/in_var.h... no
checking net/if_tun.h usability... no
checking net/if_tun.h presence... no
checking for net/if_tun.h... no
checking linux/if_tun.h usability... yes
checking linux/if_tun.h presence... yes
checking for linux/if_tun.h... yes
checking netinet/ip_fw.h usability... no
checking netinet/ip_fw.h presence... no
checking for netinet/ip_fw.h... no
checking linux/ip_fw.h usability... no
checking linux/ip_fw.h presence... no
checking for linux/ip_fw.h... no
checking linux/ip_fwchains.h usability... no
checking linux/ip_fwchains.h presence... no
checking for linux/ip_fwchains.h... no
checking linux/netfilter_ipv4/ipchains_core.h usability... no
checking linux/netfilter_ipv4/ipchains_core.h presence... no
checking for linux/netfilter_ipv4/ipchains_core.h... no
checking ip_fil_compat.h usability... no
checking ip_fil_compat.h presence... no
checking for ip_fil_compat.h... no
checking netinet/ip_fil_compat.h usability... no
checking netinet/ip_fil_compat.h presence... no
checking for netinet/ip_fil_compat.h... no
checking ip_compat.h usability... no
checking ip_compat.h presence... no
checking for ip_compat.h... no
checking netinet/ip_compat.h usability... no
checking netinet/ip_compat.h presence... no
checking for netinet/ip_compat.h... no
checking ip_fil.h usability... no
checking ip_fil.h presence... no
checking for ip_fil.h... no
checking netinet/ip_fil.h usability... no
checking netinet/ip_fil.h presence... no
checking for netinet/ip_fil.h... no
checking hpsecurity.h usability... no
checking hpsecurity.h presence... no
checking for hpsecurity.h... no
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for pid_t... yes
checking for size_t... yes
checking for sockaddr_in6 struct in <netinet/in.h>... yes
checking for sa_len in sockaddr struct... no
checking for arp_dev in arpreq struct... yes
checking for rt_msghdr struct in <net/route.h>... no
checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no
checking for working memcmp... yes
checking for err... yes
checking for strlcat... no
checking for strlcpy... no
checking for strsep... yes
checking for Berkeley Packet Filter... no
checking for Linux proc filesystem... yes
checking for Linux PF_PACKET sockets... yes
checking for SNMP MIB2 STREAMS... no
checking for route(7) STREAMS... no
checking for arp(7) ioctls... yes
checking for raw IP sockets ip_{len,off} host byte ordering... no
checking for cooked raw IP sockets... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating dnet-config
config.status: creating include/Makefile
config.status: creating include/dnet/Makefile
config.status: creating man/Makefile
config.status: creating src/Makefile
config.status: creating python/Makefile
config.status: creating python/setup.py
config.status: creating test/Makefile
config.status: creating test/check/Makefile
config.status: creating test/dnet/Makefile
config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default commands
make -j4 
Making all in include
make[1]: Entering directory `/var/tmp/portage/dev-libs/libdnet-1.11-r1/work/libdnet-1.11/include'
make  all-recursive
make[2]: Entering directory `/var/tmp/portage/dev-libs/libdnet-1.11-r1/work/libdnet-1.11/include'
Making all in dnet
make[3]: Entering directory `/var/tmp/portage/dev-libs/libdnet-1.11-r1/work/libdnet-1.11/include/dnet'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/dev-libs/libdnet-1.11-r1/work/libdnet-1.11/include/dnet'
make[3]: Entering directory `/var/tmp/portage/dev-libs/libdnet-1.11-r1/work/libdnet-1.11/include'
make[3]: Leaving directory `/var/tmp/portage/dev-libs/libdnet-1.11-r1/work/libdnet-1.11/include'
make[2]: Leaving directory `/var/tmp/portage/dev-libs/libdnet-1.11-r1/work/libdnet-1.11/include'
make[1]: Leaving directory `/var/tmp/portage/dev-libs/libdnet-1.11-r1/work/libdnet-1.11/include'
Making all in man
make[1]: Entering directory `/var/tmp/portage/dev-libs/libdnet-1.11-r1/work/libdnet-1.11/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/dev-libs/libdnet-1.11-r1/work/libdnet-1.11/man'
Making all in src
make[1]: Entering directory `/var/tmp/portage/dev-libs/libdnet-1.11-r1/work/libdnet-1.11/src'
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -march=athlon64 -O2 -pipe -Wall -c -o addr-util.lo addr-util.c
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -march=athlon64 -O2 -pipe -Wall -c -o addr.lo addr.c
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -march=athlon64 -O2 -pipe -Wall -c -o blob.lo blob.c
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -march=athlon64 -O2 -pipe -Wall -c -o ip-util.lo ip-util.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c addr.c  -fPIC -DPIC -o .libs/addr.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c blob.c  -fPIC -DPIC -o .libs/blob.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c addr-util.c  -fPIC -DPIC -o .libs/addr-util.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c ip-util.c  -fPIC -DPIC -o .libs/ip-util.o
addr-util.c: In function 'ip6_ntop':
addr-util.c:173: warning: 'best.len' may be used uninitialized in this function
addr-util.c:173: warning: 'cur.len' may be used uninitialized in this function
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c ip-util.c -o ip-util.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c addr-util.c -o addr-util.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c addr.c -o addr.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -march=athlon64 -O2 -pipe -Wall -c -o ip6.lo ip6.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c blob.c -o blob.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c ip6.c  -fPIC -DPIC -o .libs/ip6.o
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -march=athlon64 -O2 -pipe -Wall -c -o rand.lo rand.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c ip6.c -o ip6.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c rand.c  -fPIC -DPIC -o .libs/rand.o
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -march=athlon64 -O2 -pipe -Wall -c -o strlcat.lo strlcat.c
rand.c: In function 'rand_open':
rand.c:84: warning: ignoring return value of 'read', declared with attribute warn_unused_result
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -march=athlon64 -O2 -pipe -Wall -c -o strlcpy.lo strlcpy.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c strlcat.c  -fPIC -DPIC -o .libs/strlcat.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c strlcpy.c  -fPIC -DPIC -o .libs/strlcpy.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c strlcat.c -o strlcat.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c strlcpy.c -o strlcpy.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c rand.c -o rand.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -march=athlon64 -O2 -pipe -Wall -c -o arp-ioctl.lo arp-ioctl.c
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -march=athlon64 -O2 -pipe -Wall -c -o eth-linux.lo eth-linux.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c arp-ioctl.c  -fPIC -DPIC -o .libs/arp-ioctl.o
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -march=athlon64 -O2 -pipe -Wall -c -o fw-none.lo fw-none.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c eth-linux.c  -fPIC -DPIC -o .libs/eth-linux.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c fw-none.c  -fPIC -DPIC -o .libs/fw-none.o
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -march=athlon64 -O2 -pipe -Wall -c -o intf.lo intf.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c eth-linux.c -o eth-linux.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c arp-ioctl.c -o arp-ioctl.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c fw-none.c -o fw-none.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c intf.c  -fPIC -DPIC -o .libs/intf.o
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -march=athlon64 -O2 -pipe -Wall -c -o ip.lo ip.c
intf.c: In function 'intf_get_dst':
intf.c:617: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness
/usr/include/sys/socket.h:119: note: expected 'socklen_t * __restrict__' but argument is of type 'int *'
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c ip.c  -fPIC -DPIC -o .libs/ip.o
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -march=athlon64 -O2 -pipe -Wall -c -o route-linux.lo route-linux.c
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -march=athlon64 -O2 -pipe -Wall -c -o tun-linux.lo tun-linux.c
ip.c: In function 'ip_open':
ip.c:43: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness
/usr/include/sys/socket.h:190: note: expected 'socklen_t * __restrict__' but argument is of type 'int *'
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c route-linux.c  -fPIC -DPIC -o .libs/route-linux.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c ip.c -o ip.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c tun-linux.c  -fPIC -DPIC -o .libs/tun-linux.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c intf.c -o intf.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c tun-linux.c -o tun-linux.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=athlon64 -O2 -pipe -Wall -c route-linux.c -o route-linux.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -Wall -version-info 1:1:0 -Wl,-O1 -Wl,--as-needed -o libdnet.la -rpath /usr/lib64 addr-util.lo addr.lo blob.lo ip-util.lo ip6.lo rand.lo strlcat.lo strlcpy.lo arp-ioctl.lo eth-linux.lo fw-none.lo intf.lo ip.lo route-linux.lo tun-linux.lo 
libtool: link: x86_64-pc-linux-gnu-gcc -shared  .libs/addr-util.o .libs/addr.o .libs/blob.o .libs/ip-util.o .libs/ip6.o .libs/rand.o .libs/strlcat.o .libs/strlcpy.o .libs/arp-ioctl.o .libs/eth-linux.o .libs/fw-none.o .libs/intf.o .libs/ip.o .libs/route-linux.o .libs/tun-linux.o   -Wl,--as-needed  -march=athlon64 -Wl,-O1   -Wl,-soname -Wl,libdnet.so.1 -o .libs/libdnet.so.1.0.1
libtool: link: (cd ".libs" && rm -f "libdnet.so.1" && ln -s "libdnet.so.1.0.1" "libdnet.so.1")
libtool: link: (cd ".libs" && rm -f "libdnet.so" && ln -s "libdnet.so.1.0.1" "libdnet.so")
libtool: link: x86_64-pc-linux-gnu-ar cru .libs/libdnet.a  addr-util.o addr.o blob.o ip-util.o ip6.o rand.o strlcat.o strlcpy.o arp-ioctl.o eth-linux.o fw-none.o intf.o ip.o route-linux.o tun-linux.o
libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libdnet.a
libtool: link: ( cd ".libs" && rm -f "libdnet.la" && ln -s "../libdnet.la" "libdnet.la" )
make[1]: Leaving directory `/var/tmp/portage/dev-libs/libdnet-1.11-r1/work/libdnet-1.11/src'
Making all in python
make[1]: Entering directory `/var/tmp/portage/dev-libs/libdnet-1.11-r1/work/libdnet-1.11/python'
python setup.py build
running build
running build_ext
building 'dnet' extension
creating build
creating build/temp.linux-x86_64-3.1
x86_64-pc-linux-gnu-gcc -pthread -march=athlon64 -O2 -pipe -Wall -fPIC -I../include -I/usr/include/python3.1 -c ./dnet.c -o build/temp.linux-x86_64-3.1/./dnet.o
./dnet.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
./dnet.c:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
./dnet.c:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
./dnet.c:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
./dnet.c:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
./dnet.c:80: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
./dnet.c:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
./dnet.c:94: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
./dnet.c:101: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
./dnet.c:108: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
./dnet.c:115: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
./dnet.c:132: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
./dnet.c: In function '__pyx_f_4dnet___memcpy':
./dnet.c:402: warning: implicit declaration of function 'PyString_Size'
./dnet.c:406: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:406: error: (Each undeclared identifier is reported only once
./dnet.c:406: error: for each function it appears in.)
./dnet.c:407: warning: implicit declaration of function 'PyInt_FromLong'
./dnet.c:407: warning: assignment makes pointer from integer without a cast
./dnet.c:424: warning: implicit declaration of function 'PyString_AsString'
./dnet.c:424: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet___oserror':
./dnet.c:446: warning: implicit declaration of function 'PyString_FromString'
./dnet.c:446: warning: assignment makes pointer from integer without a cast
./dnet.c:446: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet___iter_append':
./dnet.c:477: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_3eth___init__':
./dnet.c:516: warning: assignment makes pointer from integer without a cast
./dnet.c:516: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_3eth_get':
./dnet.c:564: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:575: warning: implicit declaration of function 'PyString_FromStringAndSize'
./dnet.c:575: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_3eth_set':
./dnet.c:607: warning: pointer targets in passing argument 1 of '__pyx_f_4dnet___memcpy' differ in signedness
./dnet.c:392: note: expected 'char *' but argument is of type 'uint8_t *'
./dnet.c:607: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_3eth_send':
./dnet.c:651: warning: assignment makes pointer from integer without a cast
./dnet.c:651: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:652: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_3eth___dealloc__':
./dnet.c:685: warning: label '__pyx_L1' defined but not used
./dnet.c: In function '__pyx_f_4dnet_eth_ntoa':
./dnet.c:703: warning: pointer targets in passing argument 1 of '__pyx_f_4dnet___memcpy' differ in signedness
./dnet.c:392: note: expected 'char *' but argument is of type 'uint8_t *'
./dnet.c:703: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:707: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_eth_aton':
./dnet.c:741: warning: assignment makes pointer from integer without a cast
./dnet.c:741: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:755: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_eth_pack_hdr':
./dnet.c:793: warning: pointer targets in passing argument 1 of '__pyx_f_4dnet___memcpy' differ in signedness
./dnet.c:392: note: expected 'char *' but argument is of type 'uint8_t *'
./dnet.c:793: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:797: warning: pointer targets in passing argument 1 of '__pyx_f_4dnet___memcpy' differ in signedness
./dnet.c:392: note: expected 'char *' but argument is of type 'uint8_t *'
./dnet.c:801: warning: implicit declaration of function 'PyInt_AsLong'
./dnet.c:805: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_2ip___init__':
./dnet.c:841: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_2ip_send':
./dnet.c:876: warning: assignment makes pointer from integer without a cast
./dnet.c:876: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:877: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_2ip___dealloc__':
./dnet.c:910: warning: label '__pyx_L1' defined but not used
./dnet.c: In function '__pyx_f_4dnet_ip_ntoa':
./dnet.c:931: warning: implicit declaration of function 'PyInt_Check'
./dnet.c:938: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:954: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_ip_aton':
./dnet.c:988: warning: assignment makes pointer from integer without a cast
./dnet.c:988: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:1002: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_ip_checksum':
./dnet.c:1038: warning: passing argument 2 of 'PyObject_AsReadBuffer' from incompatible pointer type
/usr/include/python3.1/abstract.h:458: note: expected 'const void **' but argument is of type 'char **'
./dnet.c:1038: warning: passing argument 3 of 'PyObject_AsReadBuffer' from incompatible pointer type
/usr/include/python3.1/abstract.h:458: note: expected 'Py_ssize_t *' but argument is of type 'int *'
./dnet.c:1052: warning: assignment makes pointer from integer without a cast
./dnet.c:1052: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:1064: warning: assignment makes pointer from integer without a cast
./dnet.c:1071: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_ip_cksum_add':
./dnet.c:1119: warning: passing argument 2 of 'PyObject_AsReadBuffer' from incompatible pointer type
/usr/include/python3.1/abstract.h:458: note: expected 'const void **' but argument is of type 'char **'
./dnet.c:1119: warning: passing argument 3 of 'PyObject_AsReadBuffer' from incompatible pointer type
/usr/include/python3.1/abstract.h:458: note: expected 'Py_ssize_t *' but argument is of type 'int *'
./dnet.c:1123: warning: assignment makes pointer from integer without a cast
./dnet.c:1123: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_ip_cksum_carry':
./dnet.c:1159: warning: assignment makes pointer from integer without a cast
./dnet.c:1159: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_ip_pack_hdr':
./dnet.c:1216: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:1233: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_ip6_ntoa':
./dnet.c:1268: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:1272: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_ip6_aton':
./dnet.c:1306: warning: assignment makes pointer from integer without a cast
./dnet.c:1306: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:1320: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_ip6_checksum':
./dnet.c:1347: warning: assignment makes pointer from integer without a cast
./dnet.c:1347: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_ip6_pack_hdr':
./dnet.c:1403: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:1419: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_4addr___init__':
./dnet.c:1465: warning: implicit declaration of function 'PyObject_Cmp'
./dnet.c:1465: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:1468: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_4addr_4type___get__':
./dnet.c:1526: warning: assignment makes pointer from integer without a cast
./dnet.c:1526: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_4addr_4type___set__':
./dnet.c:1551: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_4addr_4bits___get__':
./dnet.c:1585: warning: assignment makes pointer from integer without a cast
./dnet.c:1585: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_4addr_4bits___set__':
./dnet.c:1608: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_4addr_4data___get__':
./dnet.c:1651: warning: assignment makes pointer from integer without a cast
./dnet.c:1651: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:1666: warning: assignment makes pointer from integer without a cast
./dnet.c:1681: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_4addr_3eth___get__':
./dnet.c:1731: warning: assignment makes pointer from integer without a cast
./dnet.c:1731: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:1749: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_4addr_3eth___set__':
./dnet.c:1781: warning: assignment makes pointer from integer without a cast
./dnet.c:1781: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:1799: warning: pointer targets in passing argument 1 of '__pyx_f_4dnet___memcpy' differ in signedness
./dnet.c:392: note: expected 'char *' but argument is of type 'uint8_t *'
./dnet.c: In function '__pyx_f_4dnet_4addr_2ip___get__':
./dnet.c:1840: warning: assignment makes pointer from integer without a cast
./dnet.c:1840: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:1858: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_4addr_2ip___set__':
./dnet.c:1904: warning: assignment makes pointer from integer without a cast
./dnet.c:1904: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:1922: warning: pointer targets in passing argument 1 of '__pyx_f_4dnet___memcpy' differ in signedness
./dnet.c:392: note: expected 'char *' but argument is of type 'uint8_t *'
./dnet.c: In function '__pyx_f_4dnet_4addr_3ip6___get__':
./dnet.c:1965: warning: assignment makes pointer from integer without a cast
./dnet.c:1965: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:1983: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_4addr_3ip6___set__':
./dnet.c:2015: warning: assignment makes pointer from integer without a cast
./dnet.c:2015: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:2033: warning: pointer targets in passing argument 1 of '__pyx_f_4dnet___memcpy' differ in signedness
./dnet.c:392: note: expected 'char *' but argument is of type 'uint8_t *'
./dnet.c: In function '__pyx_f_4dnet_4addr_bcast':
./dnet.c:2074: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_4addr_net':
./dnet.c:2115: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_4addr___add__':
./dnet.c:2199: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_4addr___copy__':
./dnet.c:2258: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_4addr___cmp__':
./dnet.c:2293: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_4addr___contains__':
./dnet.c:2345: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_4addr___hash__':
./dnet.c:2401: warning: assignment makes pointer from integer without a cast
./dnet.c:2401: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:2411: warning: assignment makes pointer from integer without a cast
./dnet.c:2421: warning: assignment makes pointer from integer without a cast
./dnet.c:2447: warning: assignment makes pointer from integer without a cast
./dnet.c:2457: warning: label '__pyx_L4' defined but not used
./dnet.c:2455: warning: label '__pyx_L3' defined but not used
./dnet.c: In function '__pyx_f_4dnet_4addr___int__':
./dnet.c:2507: warning: assignment makes pointer from integer without a cast
./dnet.c:2507: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_4addr___long__':
./dnet.c:2553: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_4addr___iter__':
./dnet.c:2589: warning: assignment makes pointer from integer without a cast
./dnet.c:2589: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:2613: warning: statement with no effect
./dnet.c: In function '__pyx_f_4dnet_4addr___repr__':
./dnet.c:2670: warning: assignment makes pointer from integer without a cast
./dnet.c:2670: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_15__addr_ip4_iter___init__':
./dnet.c:2699: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_15__addr_ip4_iter___next__':
./dnet.c:2729: warning: assignment from incompatible pointer type
./dnet.c:2736: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:2741: warning: assignment from incompatible pointer type
./dnet.c: In function '__pyx_f_4dnet___arp_callback':
./dnet.c:2812: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:2866: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_3arp___init__':
./dnet.c:2914: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_3arp_add':
./dnet.c:2951: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_3arp_delete':
./dnet.c:3002: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_3arp_get':
./dnet.c:3048: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:3058: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_3arp_loop':
./dnet.c:3106: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:3116: warning: passing argument 2 of 'arp_loop' from incompatible pointer type
../include/dnet/arp.h:99: note: expected 'arp_handler' but argument is of type 'int (*)(struct arp_entry *, void *)'
./dnet.c:3116: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_3arp___iter__':
./dnet.c:3149: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_3arp___dealloc__':
./dnet.c:3209: warning: label '__pyx_L1' defined but not used
./dnet.c: In function '__pyx_f_4dnet_arp_pack_hdr_ethip':
./dnet.c:3245: warning: pointer targets in passing argument 1 of '__pyx_f_4dnet___memcpy' differ in signedness
./dnet.c:392: note: expected 'char *' but argument is of type 'uint8_t *'
./dnet.c:3245: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:3249: warning: pointer targets in passing argument 1 of '__pyx_f_4dnet___memcpy' differ in signedness
./dnet.c:392: note: expected 'char *' but argument is of type 'uint8_t *'
./dnet.c:3265: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_icmp_pack_hdr':
./dnet.c:3301: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:3306: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_tcp_pack_hdr':
./dnet.c:3359: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:3369: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_udp_pack_hdr':
./dnet.c:3411: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:3417: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_ifent_to_dict':
./dnet.c:3461: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:3467: warning: assignment makes pointer from integer without a cast
./dnet.c:3472: warning: assignment makes pointer from integer without a cast
./dnet.c:3477: warning: assignment makes pointer from integer without a cast
./dnet.c:3482: warning: assignment makes pointer from integer without a cast
./dnet.c:3487: warning: assignment makes pointer from integer without a cast
./dnet.c:3496: warning: assignment makes pointer from integer without a cast
./dnet.c:3509: warning: assignment makes pointer from integer without a cast
./dnet.c:3518: warning: assignment makes pointer from integer without a cast
./dnet.c:3531: warning: assignment makes pointer from integer without a cast
./dnet.c:3540: warning: assignment makes pointer from integer without a cast
./dnet.c:3565: warning: assignment makes pointer from integer without a cast
./dnet.c:3573: warning: assignment makes pointer from integer without a cast
./dnet.c:3588: warning: label '__pyx_L7' defined but not used
./dnet.c:3586: warning: label '__pyx_L6' defined but not used
./dnet.c: In function '__pyx_f_4dnet_dict_to_ifent':
./dnet.c:3636: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:3642: warning: assignment makes pointer from integer without a cast
./dnet.c:3643: warning: implicit declaration of function 'strlcpy'
./dnet.c:3727: warning: assignment makes pointer from integer without a cast
./dnet.c:3741: warning: label '__pyx_L9' defined but not used
./dnet.c:3739: warning: label '__pyx_L8' defined but not used
./dnet.c: In function '__pyx_f_4dnet___intf_callback':
./dnet.c:3778: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:3808: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_4intf___init__':
./dnet.c:3854: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_4intf_get':
./dnet.c:3899: warning: assignment makes pointer from integer without a cast
./dnet.c:3899: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_4intf_get_src':
./dnet.c:3950: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_4intf_get_dst':
./dnet.c:4006: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_4intf_set':
./dnet.c:4073: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_4intf_loop':
./dnet.c:4121: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:4131: warning: passing argument 2 of 'intf_loop' from incompatible pointer type
../include/dnet/intf.h:64: note: expected 'intf_handler' but argument is of type 'int (*)(struct intf_entry *, void *)'
./dnet.c:4131: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_4intf___iter__':
./dnet.c:4161: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_4intf___dealloc__':
./dnet.c:4221: warning: label '__pyx_L1' defined but not used
./dnet.c: In function '__pyx_f_4dnet___route_callback':
./dnet.c:4248: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:4302: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_5route___init__':
./dnet.c:4350: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_5route_add':
./dnet.c:4387: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_5route_delete':
./dnet.c:4438: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_5route_get':
./dnet.c:4484: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:4494: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_5route_loop':
./dnet.c:4542: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:4552: warning: passing argument 2 of 'route_loop' from incompatible pointer type
../include/dnet/route.h:31: note: expected 'route_handler' but argument is of type 'int (*)(struct route_entry *, void *)'
./dnet.c:4552: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_5route___iter__':
./dnet.c:4582: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_5route___dealloc__':
./dnet.c:4642: warning: label '__pyx_L1' defined but not used
./dnet.c: In function '__pyx_f_4dnet_rule_to_dict':
./dnet.c:4669: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:4675: warning: assignment makes pointer from integer without a cast
./dnet.c:4680: warning: assignment makes pointer from integer without a cast
./dnet.c:4685: warning: assignment makes pointer from integer without a cast
./dnet.c:4694: warning: assignment makes pointer from integer without a cast
./dnet.c:4702: warning: assignment makes pointer from integer without a cast
./dnet.c:4711: warning: assignment makes pointer from integer without a cast
./dnet.c:4724: warning: assignment makes pointer from integer without a cast
./dnet.c:4733: warning: assignment makes pointer from integer without a cast
./dnet.c:4754: warning: assignment makes pointer from integer without a cast
./dnet.c:4755: warning: assignment makes pointer from integer without a cast
./dnet.c:4776: warning: assignment makes pointer from integer without a cast
./dnet.c:4777: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_dict_to_rule':
./dnet.c:4820: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:4826: warning: assignment makes pointer from integer without a cast
./dnet.c:4852: warning: assignment makes pointer from integer without a cast
./dnet.c:4859: warning: assignment makes pointer from integer without a cast
./dnet.c:4910: warning: assignment makes pointer from integer without a cast
./dnet.c:4920: warning: assignment makes pointer from integer without a cast
./dnet.c:4937: warning: assignment makes pointer from integer without a cast
./dnet.c:4947: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet___fw_callback':
./dnet.c:4989: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:5019: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_2fw___init__':
./dnet.c:5065: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_2fw_add':
./dnet.c:5105: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_2fw_delete':
./dnet.c:5154: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_2fw_loop':
./dnet.c:5202: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:5212: warning: passing argument 2 of 'fw_loop' from incompatible pointer type
../include/dnet/fw.h:50: note: expected 'fw_handler' but argument is of type 'int (*)(struct fw_rule *, void *)'
./dnet.c:5212: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_2fw___iter__':
./dnet.c:5242: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_2fw___dealloc__':
./dnet.c:5302: warning: label '__pyx_L1' defined but not used
./dnet.c: In function '__pyx_f_4dnet_4rand___init__':
./dnet.c:5326: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_4rand_get':
./dnet.c:5365: warning: assignment makes pointer from integer without a cast
./dnet.c:5365: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:5377: warning: assignment makes pointer from integer without a cast
./dnet.c:5395: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_4rand_set':
./dnet.c:5433: warning: assignment makes pointer from integer without a cast
./dnet.c:5433: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_4rand_add':
./dnet.c:5459: warning: assignment makes pointer from integer without a cast
./dnet.c:5459: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_4rand_uint8':
./dnet.c:5483: warning: assignment makes pointer from integer without a cast
./dnet.c:5483: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_4rand_uint16':
./dnet.c:5509: warning: assignment makes pointer from integer without a cast
./dnet.c:5509: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_4rand_uint32':
./dnet.c:5535: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_4rand_xrange':
./dnet.c:5568: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:5573: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_4rand___dealloc__':
./dnet.c:5636: warning: label '__pyx_L1' defined but not used
./dnet.c: In function '__pyx_f_4dnet_13__rand_xrange___init__':
./dnet.c:5685: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:5732: warning: label '__pyx_L5' defined but not used
./dnet.c:5725: warning: label '__pyx_L4' defined but not used
./dnet.c: In function '__pyx_f_4dnet_13__rand_xrange___iter__':
./dnet.c:5794: warning: label '__pyx_L1' defined but not used
./dnet.c: In function '__pyx_f_4dnet_13__rand_xrange___len__':
./dnet.c:5813: warning: label '__pyx_L1' defined but not used
./dnet.c: In function '__pyx_f_4dnet_13__rand_xrange___next__':
./dnet.c:5838: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:5866: warning: assignment makes pointer from integer without a cast
./dnet.c:5887: warning: label '__pyx_L6' defined but not used
./dnet.c:5885: warning: label '__pyx_L5' defined but not used
./dnet.c:5851: warning: label '__pyx_L3' defined but not used
./dnet.c: In function '__pyx_f_4dnet_3tun___init__':
./dnet.c:5935: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_3tun_4name___get__':
./dnet.c:5987: warning: assignment makes pointer from integer without a cast
./dnet.c:5987: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_3tun_2fd___get__':
./dnet.c:6010: warning: assignment makes pointer from integer without a cast
./dnet.c:6010: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_3tun_fileno':
./dnet.c:6036: warning: assignment makes pointer from integer without a cast
./dnet.c:6036: error: '__pyx_f' undeclared (first use in this function)
./dnet.c: In function '__pyx_f_4dnet_3tun_send':
./dnet.c:6065: warning: assignment makes pointer from integer without a cast
./dnet.c:6065: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:6066: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_3tun_recv':
./dnet.c:6103: error: '__pyx_f' undeclared (first use in this function)
./dnet.c:6114: warning: assignment makes pointer from integer without a cast
./dnet.c: In function '__pyx_f_4dnet_3tun_close':
./dnet.c:6143: warning: label '__pyx_L1' defined but not used
./dnet.c: In function '__pyx_f_4dnet_3tun___dealloc__':
./dnet.c:6177: warning: label '__pyx_L1' defined but not used
./dnet.c: In function '__pyx_tp_new_4dnet_eth':
./dnet.c:6399: warning: unused variable 'p'
./dnet.c: In function '__pyx_tp_dealloc_4dnet_eth':
./dnet.c:6404: warning: unused variable 'p'
./dnet.c: In function '__pyx_tp_traverse_4dnet_eth':
./dnet.c:6419: warning: unused variable 'p'
./dnet.c:6418: warning: unused variable 'e'
./dnet.c: In function '__pyx_tp_clear_4dnet_eth':
./dnet.c:6424: warning: unused variable 'p'
./dnet.c: At top level:
./dnet.c:6470: warning: excess elements in struct initializer
./dnet.c:6470: warning: (near initialization for '__pyx_tp_as_number_eth')
./dnet.c:6471: warning: excess elements in struct initializer
./dnet.c:6471: warning: (near initialization for '__pyx_tp_as_number_eth')
./dnet.c:6472: warning: excess elements in struct initializer
./dnet.c:6472: warning: (near initialization for '__pyx_tp_as_number_eth')
./dnet.c:6473: warning: excess elements in struct initializer
./dnet.c:6473: warning: (near initialization for '__pyx_tp_as_number_eth')
./dnet.c:6498: warning: excess elements in struct initializer
./dnet.c:6498: warning: (near initialization for '__pyx_tp_as_buffer_eth')
./dnet.c:6499: warning: excess elements in struct initializer
./dnet.c:6499: warning: (near initialization for '__pyx_tp_as_buffer_eth')
./dnet.c:6502: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
./dnet.c: In function '__pyx_tp_new_4dnet_ip':
./dnet.c:6553: warning: unused variable 'p'
./dnet.c: In function '__pyx_tp_dealloc_4dnet_ip':
./dnet.c:6558: warning: unused variable 'p'
./dnet.c: In function '__pyx_tp_traverse_4dnet_ip':
./dnet.c:6573: warning: unused variable 'p'
./dnet.c:6572: warning: unused variable 'e'
./dnet.c: In function '__pyx_tp_clear_4dnet_ip':
./dnet.c:6578: warning: unused variable 'p'
./dnet.c: At top level:
./dnet.c:6622: warning: excess elements in struct initializer
./dnet.c:6622: warning: (near initialization for '__pyx_tp_as_number_ip')
./dnet.c:6623: warning: excess elements in struct initializer
./dnet.c:6623: warning: (near initialization for '__pyx_tp_as_number_ip')
./dnet.c:6624: warning: excess elements in struct initializer
./dnet.c:6624: warning: (near initialization for '__pyx_tp_as_number_ip')
./dnet.c:6625: warning: excess elements in struct initializer
./dnet.c:6625: warning: (near initialization for '__pyx_tp_as_number_ip')
./dnet.c:6650: warning: excess elements in struct initializer
./dnet.c:6650: warning: (near initialization for '__pyx_tp_as_buffer_ip')
./dnet.c:6651: warning: excess elements in struct initializer
./dnet.c:6651: warning: (near initialization for '__pyx_tp_as_buffer_ip')
./dnet.c:6654: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
./dnet.c: In function '__pyx_tp_new_4dnet_addr':
./dnet.c:6705: warning: unused variable 'p'
./dnet.c: In function '__pyx_tp_dealloc_4dnet_addr':
./dnet.c:6710: warning: unused variable 'p'
./dnet.c: In function '__pyx_tp_traverse_4dnet_addr':
./dnet.c:6716: warning: unused variable 'p'
./dnet.c:6715: warning: unused variable 'e'
./dnet.c: In function '__pyx_tp_clear_4dnet_addr':
./dnet.c:6721: warning: unused variable 'p'
./dnet.c: At top level:
./dnet.c:6836: warning: initialization from incompatible pointer type
./dnet.c:6851: warning: excess elements in struct initializer
./dnet.c:6851: warning: (near initialization for '__pyx_tp_as_number_addr')
./dnet.c:6852: warning: excess elements in struct initializer
./dnet.c:6852: warning: (near initialization for '__pyx_tp_as_number_addr')
./dnet.c:6853: warning: excess elements in struct initializer
./dnet.c:6853: warning: (near initialization for '__pyx_tp_as_number_addr')
./dnet.c:6854: warning: excess elements in struct initializer
./dnet.c:6854: warning: (near initialization for '__pyx_tp_as_number_addr')
./dnet.c:6879: warning: excess elements in struct initializer
./dnet.c:6879: warning: (near initialization for '__pyx_tp_as_buffer_addr')
./dnet.c:6880: warning: excess elements in struct initializer
./dnet.c:6880: warning: (near initialization for '__pyx_tp_as_buffer_addr')
./dnet.c:6883: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
./dnet.c: In function '__pyx_tp_new_4dnet___addr_ip4_iter':
./dnet.c:6934: warning: unused variable 'p'
./dnet.c: In function '__pyx_tp_dealloc_4dnet___addr_ip4_iter':
./dnet.c:6939: warning: unused variable 'p'
./dnet.c: In function '__pyx_tp_traverse_4dnet___addr_ip4_iter':
./dnet.c:6945: warning: unused variable 'p'
./dnet.c:6944: warning: unused variable 'e'
./dnet.c: In function '__pyx_tp_clear_4dnet___addr_ip4_iter':
./dnet.c:6950: warning: unused variable 'p'
./dnet.c: At top level:
./dnet.c:6993: warning: excess elements in struct initializer
./dnet.c:6993: warning: (near initialization for '__pyx_tp_as_number___addr_ip4_iter')
./dnet.c:6994: warning: excess elements in struct initializer
./dnet.c:6994: warning: (near initialization for '__pyx_tp_as_number___addr_ip4_iter')
./dnet.c:6995: warning: excess elements in struct initializer
./dnet.c:6995: warning: (near initialization for '__pyx_tp_as_number___addr_ip4_iter')
./dnet.c:6996: warning: excess elements in struct initializer
./dnet.c:6996: warning: (near initialization for '__pyx_tp_as_number___addr_ip4_iter')
./dnet.c:7021: warning: excess elements in struct initializer
./dnet.c:7021: warning: (near initialization for '__pyx_tp_as_buffer___addr_ip4_iter')
./dnet.c:7022: warning: excess elements in struct initializer
./dnet.c:7022: warning: (near initialization for '__pyx_tp_as_buffer___addr_ip4_iter')
./dnet.c:7025: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
./dnet.c: In function '__pyx_tp_new_4dnet_arp':
./dnet.c:7076: warning: unused variable 'p'
./dnet.c: In function '__pyx_tp_dealloc_4dnet_arp':
./dnet.c:7081: warning: unused variable 'p'
./dnet.c: In function '__pyx_tp_traverse_4dnet_arp':
./dnet.c:7096: warning: unused variable 'p'
./dnet.c:7095: warning: unused variable 'e'
./dnet.c: In function '__pyx_tp_clear_4dnet_arp':
./dnet.c:7101: warning: unused variable 'p'
./dnet.c: At top level:
./dnet.c:7148: warning: excess elements in struct initializer
./dnet.c:7148: warning: (near initialization for '__pyx_tp_as_number_arp')
./dnet.c:7149: warning: excess elements in struct initializer
./dnet.c:7149: warning: (near initialization for '__pyx_tp_as_number_arp')
./dnet.c:7150: warning: excess elements in struct initializer
./dnet.c:7150: warning: (near initialization for '__pyx_tp_as_number_arp')
./dnet.c:7151: warning: excess elements in struct initializer
./dnet.c:7151: warning: (near initialization for '__pyx_tp_as_number_arp')
./dnet.c:7176: warning: excess elements in struct initializer
./dnet.c:7176: warning: (near initialization for '__pyx_tp_as_buffer_arp')
./dnet.c:7177: warning: excess elements in struct initializer
./dnet.c:7177: warning: (near initialization for '__pyx_tp_as_buffer_arp')
./dnet.c:7180: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
./dnet.c: In function '__pyx_tp_new_4dnet_intf':
./dnet.c:7231: warning: unused variable 'p'
./dnet.c: In function '__pyx_tp_dealloc_4dnet_intf':
./dnet.c:7236: warning: unused variable 'p'
./dnet.c: In function '__pyx_tp_traverse_4dnet_intf':
./dnet.c:7251: warning: unused variable 'p'
./dnet.c:7250: warning: unused variable 'e'
./dnet.c: In function '__pyx_tp_clear_4dnet_intf':
./dnet.c:7256: warning: unused variable 'p'
./dnet.c: At top level:
./dnet.c:7304: warning: excess elements in struct initializer
./dnet.c:7304: warning: (near initialization for '__pyx_tp_as_number_intf')
./dnet.c:7305: warning: excess elements in struct initializer
./dnet.c:7305: warning: (near initialization for '__pyx_tp_as_number_intf')
./dnet.c:7306: warning: excess elements in struct initializer
./dnet.c:7306: warning: (near initialization for '__pyx_tp_as_number_intf')
./dnet.c:7307: warning: excess elements in struct initializer
./dnet.c:7307: warning: (near initialization for '__pyx_tp_as_number_intf')
./dnet.c:7332: warning: excess elements in struct initializer
./dnet.c:7332: warning: (near initialization for '__pyx_tp_as_buffer_intf')
./dnet.c:7333: warning: excess elements in struct initializer
./dnet.c:7333: warning: (near initialization for '__pyx_tp_as_buffer_intf')
./dnet.c:7336: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
./dnet.c: In function '__pyx_tp_new_4dnet_route':
./dnet.c:7387: warning: unused variable 'p'
./dnet.c: In function '__pyx_tp_dealloc_4dnet_route':
./dnet.c:7392: warning: unused variable 'p'
./dnet.c: In function '__pyx_tp_traverse_4dnet_route':
./dnet.c:7407: warning: unused variable 'p'
./dnet.c:7406: warning: unused variable 'e'
./dnet.c: In function '__pyx_tp_clear_4dnet_route':
./dnet.c:7412: warning: unused variable 'p'
./dnet.c: At top level:
./dnet.c:7459: warning: excess elements in struct initializer
./dnet.c:7459: warning: (near initialization for '__pyx_tp_as_number_route')
./dnet.c:7460: warning: excess elements in struct initializer
./dnet.c:7460: warning: (near initialization for '__pyx_tp_as_number_route')
./dnet.c:7461: warning: excess elements in struct initializer
./dnet.c:7461: warning: (near initialization for '__pyx_tp_as_number_route')
./dnet.c:7462: warning: excess elements in struct initializer
./dnet.c:7462: warning: (near initialization for '__pyx_tp_as_number_route')
./dnet.c:7487: warning: excess elements in struct initializer
./dnet.c:7487: warning: (near initialization for '__pyx_tp_as_buffer_route')
./dnet.c:7488: warning: excess elements in struct initializer
./dnet.c:7488: warning: (near initialization for '__pyx_tp_as_buffer_route')
./dnet.c:7491: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
./dnet.c: In function '__pyx_tp_new_4dnet_fw':
./dnet.c:7542: warning: unused variable 'p'
./dnet.c: In function '__pyx_tp_dealloc_4dnet_fw':
./dnet.c:7547: warning: unused variable 'p'
./dnet.c: In function '__pyx_tp_traverse_4dnet_fw':
./dnet.c:7562: warning: unused variable 'p'
./dnet.c:7561: warning: unused variable 'e'
./dnet.c: In function '__pyx_tp_clear_4dnet_fw':
./dnet.c:7567: warning: unused variable 'p'
./dnet.c: At top level:
./dnet.c:7613: warning: excess elements in struct initializer
./dnet.c:7613: warning: (near initialization for '__pyx_tp_as_number_fw')
./dnet.c:7614: warning: excess elements in struct initializer
./dnet.c:7614: warning: (near initialization for '__pyx_tp_as_number_fw')
./dnet.c:7615: warning: excess elements in struct initializer
./dnet.c:7615: warning: (near initialization for '__pyx_tp_as_number_fw')
./dnet.c:7616: warning: excess elements in struct initializer
./dnet.c:7616: warning: (near initialization for '__pyx_tp_as_number_fw')
./dnet.c:7641: warning: excess elements in struct initializer
./dnet.c:7641: warning: (near initialization for '__pyx_tp_as_buffer_fw')
./dnet.c:7642: warning: excess elements in struct initializer
./dnet.c:7642: warning: (near initialization for '__pyx_tp_as_buffer_fw')
./dnet.c:7645: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
./dnet.c: In function '__pyx_tp_new_4dnet_rand':
./dnet.c:7696: warning: unused variable 'p'
./dnet.c: In function '__pyx_tp_dealloc_4dnet_rand':
./dnet.c:7701: warning: unused variable 'p'
./dnet.c: In function '__pyx_tp_traverse_4dnet_rand':
./dnet.c:7716: warning: unused variable 'p'
./dnet.c:7715: warning: unused variable 'e'
./dnet.c: In function '__pyx_tp_clear_4dnet_rand':
./dnet.c:7721: warning: unused variable 'p'
./dnet.c: At top level:
./dnet.c:7771: warning: excess elements in struct initializer
./dnet.c:7771: warning: (near initialization for '__pyx_tp_as_number_rand')
./dnet.c:7772: warning: excess elements in struct initializer
./dnet.c:7772: warning: (near initialization for '__pyx_tp_as_number_rand')
./dnet.c:7773: warning: excess elements in struct initializer
./dnet.c:7773: warning: (near initialization for '__pyx_tp_as_number_rand')
./dnet.c:7774: warning: excess elements in struct initializer
./dnet.c:7774: warning: (near initialization for '__pyx_tp_as_number_rand')
./dnet.c:7799: warning: excess elements in struct initializer
./dnet.c:7799: warning: (near initialization for '__pyx_tp_as_buffer_rand')
./dnet.c:7800: warning: excess elements in struct initializer
./dnet.c:7800: warning: (near initialization for '__pyx_tp_as_buffer_rand')
./dnet.c:7803: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
./dnet.c: In function '__pyx_tp_new_4dnet___rand_xrange':
./dnet.c:7854: warning: unused variable 'p'
./dnet.c: In function '__pyx_tp_dealloc_4dnet___rand_xrange':
./dnet.c:7859: warning: unused variable 'p'
./dnet.c: In function '__pyx_tp_traverse_4dnet___rand_xrange':
./dnet.c:7865: warning: unused variable 'p'
./dnet.c:7864: warning: unused variable 'e'
./dnet.c: In function '__pyx_tp_clear_4dnet___rand_xrange':
./dnet.c:7870: warning: unused variable 'p'
./dnet.c: At top level:
./dnet.c:7913: warning: excess elements in struct initializer
./dnet.c:7913: warning: (near initialization for '__pyx_tp_as_number___rand_xrange')
./dnet.c:7914: warning: excess elements in struct initializer
./dnet.c:7914: warning: (near initialization for '__pyx_tp_as_number___rand_xrange')
./dnet.c:7915: warning: excess elements in struct initializer
./dnet.c:7915: warning: (near initialization for '__pyx_tp_as_number___rand_xrange')
./dnet.c:7916: warning: excess elements in struct initializer
./dnet.c:7916: warning: (near initialization for '__pyx_tp_as_number___rand_xrange')
./dnet.c:7920: warning: initialization from incompatible pointer type
./dnet.c:7933: warning: initialization from incompatible pointer type
./dnet.c:7941: warning: excess elements in struct initializer
./dnet.c:7941: warning: (near initialization for '__pyx_tp_as_buffer___rand_xrange')
./dnet.c:7942: warning: excess elements in struct initializer
./dnet.c:7942: warning: (near initialization for '__pyx_tp_as_buffer___rand_xrange')
./dnet.c:7945: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
./dnet.c: In function '__pyx_tp_new_4dnet_tun':
./dnet.c:7996: warning: unused variable 'p'
./dnet.c: In function '__pyx_tp_dealloc_4dnet_tun':
./dnet.c:8001: warning: unused variable 'p'
./dnet.c: In function '__pyx_tp_traverse_4dnet_tun':
./dnet.c:8016: warning: unused variable 'p'
./dnet.c:8015: warning: unused variable 'e'
./dnet.c: In function '__pyx_tp_clear_4dnet_tun':
./dnet.c:8021: warning: unused variable 'p'
./dnet.c: At top level:
./dnet.c:8082: warning: excess elements in struct initializer
./dnet.c:8082: warning: (near initialization for '__pyx_tp_as_number_tun')
./dnet.c:8083: warning: excess elements in struct initializer
./dnet.c:8083: warning: (near initialization for '__pyx_tp_as_number_tun')
./dnet.c:8084: warning: excess elements in struct initializer
./dnet.c:8084: warning: (near initialization for '__pyx_tp_as_number_tun')
./dnet.c:8085: warning: excess elements in struct initializer
./dnet.c:8085: warning: (near initialization for '__pyx_tp_as_number_tun')
./dnet.c:8110: warning: excess elements in struct initializer
./dnet.c:8110: warning: (near initialization for '__pyx_tp_as_buffer_tun')
./dnet.c:8111: warning: excess elements in struct initializer
./dnet.c:8111: warning: (near initialization for '__pyx_tp_as_buffer_tun')
./dnet.c:8114: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
./dnet.c:8185: warning: return type defaults to 'int'
./dnet.c: In function 'DL_EXPORT':
./dnet.c:8185: error: expected declaration specifiers before 'initdnet'
./dnet.c:8186: error: expected declaration specifiers before 'DL_EXPORT'
./dnet.c:9122: error: storage class specified for parameter '__pyx_filenames'
./dnet.c:9122: error: parameter '__pyx_filenames' is initialized
./dnet.c:9123: warning: initialization from incompatible pointer type
./dnet.c:9125: error: expected declaration specifiers before 'statichere'
./dnet.c:9129: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./dnet.c:9142: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./dnet.c:9150: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./dnet.c:9212: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./dnet.c:9224: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./dnet.c:9228: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./dnet.c:9237: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./dnet.c:9248: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./dnet.c:9258: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from ./dnet.c:9269:
/usr/include/python3.1/frameobject.h:14: error: storage class specified for parameter 'PyTryBlock'
/usr/include/python3.1/frameobject.h:45: error: expected specifier-qualifier-list before 'PyTryBlock'
/usr/include/python3.1/frameobject.h:47: error: storage class specified for parameter 'PyFrameObject'
/usr/include/python3.1/frameobject.h:52: error: storage class specified for parameter 'PyFrame_Type'
/usr/include/python3.1/frameobject.h:56: error: expected declaration specifiers before 'PyFrameObject'
/usr/include/python3.1/frameobject.h:64: error: expected ')' before '*' token
/usr/include/python3.1/frameobject.h:65: error: expected declaration specifiers before 'PyTryBlock'
/usr/include/python3.1/frameobject.h:69: error: expected ')' before '*' token
/usr/include/python3.1/frameobject.h:73: error: expected ')' before '*' token
/usr/include/python3.1/frameobject.h:74: error: expected ')' before '*' token
./dnet.c:9272: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./dnet.c:8185: error: old-style parameter declarations in prototyped function definition
./dnet.c:9324: error: expected '{' at end of input
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
make[1]: *** [python-build] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/libdnet-1.11-r1/work/libdnet-1.11/python'
make: *** [all-recursive] Error 1
 [31;01m*[0m ERROR: dev-libs/libdnet-1.11-r1 failed:
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line  54:  Called src_compile
 [31;01m*[0m   environment, line 6087:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       emake || die "emake failed"
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of 'emerge --info =dev-libs/libdnet-1.11-r1',
 [31;01m*[0m the complete build log and the output of 'emerge -pqv =dev-libs/libdnet-1.11-r1'.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-libs/libdnet-1.11-r1/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-libs/libdnet-1.11-r1/temp/environment'.
 [31;01m*[0m S: '/var/tmp/portage/dev-libs/libdnet-1.11-r1/work/libdnet-1.11'