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#


---
Bev Clues, Clues Communications Ltd t/a Clues & Co
T +44 (0) 1206 763301
M +44 (0) 7715 421139
W www.clues.co.uk

On 2025-11-25 09:16, Arsen Arsenović wrote:
Bev Clues <[email protected]> writes:

Hi Arsen,

Thanks. System is Raspberry-Pi running o/s Raspian which is a linux
system. Results are below:

Bev

root@rp1:~/ntp/ntp-4.2.6p3-RC12# bash config.guess
aarch64-unknown-linux-gnu
root@rp1:~/ntp/ntp-4.2.6p3-RC12#

with:
./configure --host=aarch64-unknown-linux-gnu
result is (last few rows):

config.guess timestamp = 2005-07-08

uname -m = aarch64
uname -r = 6.12.47+rpt-rpi-v8
uname -s = Linux
uname -v = #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1 (2025-09-16)

/usr/bin/uname -p = unknown
/bin/uname -X     =

hostinfo               =
/bin/universe          =
/usr/bin/arch -k       =
/bin/arch              = aarch64
/usr/bin/oslevel       =
/usr/convex/getsysinfo =

UNAME_MACHINE = aarch64
UNAME_RELEASE = 6.12.47+rpt-rpi-v8
UNAME_SYSTEM  = Linux
UNAME_VERSION = #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1 (2025-09-16)
configure: error: cannot guess build type; you must specify one
configure: error: ./configure failed for sntp
root@rp1:~/ntp/ntp-4.2.6p3-RC12#

Ah, duh.  Sorry, also pass "--build=aarch64-unknown-linux-gnu".

My bad.

  • ntpd Bev Clues
    • Re: ntpd Patches for the config.guess and config.sub scripts
      • Re: ntpd Bev Clues
        • Re: ntpd Arsen Arsenović
          • Re: n... Bev Clues
            • ... Arsen Arsenović
              • ... Bev Clues
                • ... Arsen Arsenović
                • ... Bev Clues
                • ... Arsen Arsenović
                • ... Bev Clues
                • ... Patches for the config.guess and config.sub scripts
                • ... Bev Clues
                • ... Jacob Bachmeyer
                • ... Bev Clues
                • ... Bev Clues
                • ... Jacob Bachmeyer
                • ... Bev Clues

Reply via email to