[Chilli] Build fails on FreeBSD
Sevan / Venture37
venture37 at gmail.com
Mon Aug 27 22:37:41 UTC 2012
Hi Dave,
As requested, built r473 from svn, build fails with following error,
disabling IPv6 support or commenting out line 532 in pkt.h allows the
build to complete sucessfully.
Sevan
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -D_GNU_SOURCE -Wall -Werror -fno-builtin -fno-stric
t-aliasing -O2 -fomit-frame-pointer -funroll-loops -pipe -I../bstring
-DDEFCHILLICONF='"/usr/local/etc/chilli.conf"' -DDEFPIDFIL
E='"/var/run/chilli.pid"' -DDEFSTATEDIR='"/var/run"'
-DSBINDIR='"/usr/local/sbin"' -g -O2 -MT chilli.lo -MD -MP -MF .deps/chi
lli.Tpo -c -o chilli.lo chilli.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -Wall
-Werror -fno-builtin -fno-strict-aliasing -O2 -fomit-frame-p
ointer -funroll-loops -pipe -I../bstring
-DDEFCHILLICONF=\"/usr/local/etc/chilli.conf\"
-DDEFPIDFILE=\"/var/run/chilli.pid\" -DD
EFSTATEDIR=\"/var/run\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -MT
chilli.lo -MD -MP -MF .deps/chilli.Tpo -c chilli.c -fPIC -DPIC
-o .libs/chilli.o
In file included from tun.h:24,
from chilli.h:25,
from chilli.c:20:
pkt.h:532:1: error: "tcp6hdr" redefined
In file included from system.h:155,
from chilli.h:23,
from chilli.c:20:
/usr/include/netinet/tcp.h:44:1: error: this is the location of the
previous definition
gmake[3]: *** [chilli.lo] Error 1
More information about the Chilli
mailing list