OpenBGPD compilation problem
freebsd at polarismail.com
freebsd at polarismail.com
Wed Dec 2 13:18:05 UTC 2009
Hi Guys,
I can't seem to get OpenBGPD to compile properly on 7.0. I updated the
ports to the latest version using portsnap and when I do a make install I
get the following:
cc -O2 -fno-strict-aliasing -pipe -Wall
-I/usr/ports/net/openbgpd/work/bgpd
-I/usr/ports/net/openbgpd/work/bgpd/../openbsd-compat -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith
-Wcast-qual -Wsign-compare -DCONFFILE="/usr/local/etc/bgpd.conf"
-DIPV6_LINKLOCAL_PEER -c kroute.c
kroute.c: In function 'kroute_find':
kroute.c:905: warning: implicit declaration of function 'RB_PREV'
kroute.c:905: error: 'kroute_tree' undeclared (first use in this
function)
kroute.c:905: error: (Each undeclared identifier is reported only once
kroute.c:905: error: for each function it appears in.)
kroute.c:905: warning: assignment makes pointer from integer without a
cast
kroute.c:911: warning: assignment makes pointer from integer without a
cast
kroute.c: In function 'kroute6_find':
kroute.c:1052: error: 'kroute6_tree' undeclared (first use in this
function)
kroute.c:1052: warning: assignment makes pointer from integer without a
cast
kroute.c:1058: warning: assignment makes pointer from integer without a
cast
kroute.c: In function 'mask2prefixlen6':
kroute.c:1745: warning: cast from pointer to integer of different size
uname -a
FreeBSD xo-firewalla 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24
19:59:52 UTC 2008 i386
any ideas ?
Thank you,
George
More information about the freebsd-questions
mailing list