Bev Clues <[email protected]> writes: > Hi Arsen, > > Brilliant, configure ran ok, have built with make. There is an error - see > last > rows below: > > Bev > > > /bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -Wcast-qual > -Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow > -Wstrict-prototypes -o ntptime ntptime.o ../libntp/libntp.a > mkdir .libs > gcc -g -O2 -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow > -Winit-self -Wstrict-overflow -Wstrict-prototypes -o ntptime ntptime.o > ../libntp/libntp.a > gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib/isc/include > -I../lib/isc/nothreads/include -I../lib/isc/unix/include -I../sntp/libopts > -g > -O2 -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow > -Winit-self > -Wstrict-overflow -Wstrict-prototypes -MT tickadj.o -MD -MP -MF > .deps/tickadj.Tpo -c -o tickadj.o tickadj.c > tickadj.c: In function ‘main’: > tickadj.c:149:13: error: implicit declaration of function ‘__adjtimex’; did > you > mean ‘adjtimex’? [-Wimplicit-function-declaration] > 149 | if (__adjtimex(&txc) < 0) > | ^~~~~~~~~~ > | adjtimex > make[3]: *** [Makefile:553: tickadj.o] Error 1 > make[3]: Leaving directory '/root/ntp/ntp-4.2.6p3-RC12/util' > make[2]: *** [Makefile:363: all] Error 2 > make[2]: Leaving directory '/root/ntp/ntp-4.2.6p3-RC12/util' > make[1]: *** [Makefile:418: all-recursive] Error 1 > make[1]: Leaving directory '/root/ntp/ntp-4.2.6p3-RC12' > make: *** [Makefile:347: all] Error 2 > root@rp1:~/ntp/ntp-4.2.6p3-RC12#
Well, this is some bug in ntpd, not related to the GNU config.* scripts, or even autoconf. I've never looked at its code so I can't say what or help further, I fear. Note that your version of ntpd is somewhat old - must it be that old or can you use a newer one? -- Arsen Arsenović
signature.asc
Description: PGP signature
