[ntp:questions] OpenBSD NTP compile problem

Brendan Hoffmann bthammy at netscape.com
Tue Nov 25 20:15:27 UTC 2003


Hey guys, I keep getting this error upon compiling (full ouput):

Making all in scripts
Making all in include
Making all in isc
Making all in ElectricFence
Making all in libntp
source='systime.c' object='systime.o' libtool=no 
depfile='.deps/systime.Po' tmpdepfile='.deps/systime.TPo'  depmode=gcc 
/bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include 
-I../include   -I/usr/include  -g -O2 -Wall -Wcast-qual 
-Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -c 
`test -f 'systime.c' || echo './'`systime.c
In file included from ../include/ntp_fp.h:10,
                  from systime.c:8:
../include/ntp_rfc2553.h:177: redefinition of `struct sockaddr_storage'
In file included from /usr/include/netinet/in.h:502,
                  from ../include/ntp_fp.h:11,
                  from systime.c:8:
/usr/include/netinet6/in6.h:116: redefinition of `struct in6_addr'
/usr/include/netinet6/in6.h:139: redefinition of `struct sockaddr_in6'
*** Error code 1

Stop in /home/brendan/ntp-4.2.0/libntp.
*** Error code 1

Stop in /home/brendan/ntp-4.2.0 (line 321 of Makefile).
*** Error code 1

Stop in /home/brendan/ntp-4.2.0 (line 260 of Makefile).

----------------------------------------------------------------------

Any help is much appreciated!  Thanks!
-Brendan




More information about the questions mailing list