Running bootstrap fixed all compilation issues. Thank you for the speedy and accurate response!
-- @@ron On Wed, Apr 26, 2017 at 4:37 PM, Harlan Stenn <[email protected]> wrote: > [email protected] writes: > > I'm cross-compiling ntp-4.2.8p10 for aarch64 using Debian as the build > machin > > e. I can build it fine with the native compiler, but using the ARM > cross-comp > > iler I get this: > > > > 8<-----------8<------------8< > > make[4]: Leaving directory '/home/asmith/xds/rootfs85- > arm/sandbox/ntp/xbuild/ > > sntp/libopts' > > make[4]: Entering directory '/home/asmith/xds/rootfs85- > arm/sandbox/ntp/xbuild > > /sntp' > > cd /home/asmith/xds/rootfs85-arm/sandbox/ntp/sntp && env > PATH="/home/asmith/ > > xds/rootfs85-arm/sandbox/ntp/xbuild/sntp:/home/asmith/bin:/ > home/asmith/xds/to > > olchain-16.3.0.0/bin:/home/asmith/xds/rootfs85-arm/ > sandbox/xds-scripts/:/home > > /asmith/bin:/home/asmith/bin:/usr/local/bin:/usr/bin:/bin:/ > usr/local/games:/u > > sr/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java- > 8-oracle/db/bin:/us > > r/lib/jvm/java-8-oracle/jre/bin:/sbin:/usr/sbin:/usr/ > local/sbin:/usr/local/bi > > n:/usr/lib/jvm/java-6-sun-1.6.0.03/bin:/usr/NX/bin:/sbin:/ > usr/sbin:/usr/local > > /sbin:/usr/local/bin:/usr/lib/jvm/java-6-sun-1.6.0.03/bin:/usr/NX/bin" > AUTOGE > > N_DNE_DATE=-D autogen -L include -L ag-tpl --writable > -DMAN_SECTION=1sntpmdoc > > -Tagmdoc-cmd.tpl sntp-opts.def > > Error in template /usr/share/autogen/cmd-doc.tlib, line 219 > > DEFINITIONS ERROR in /usr/share/autogen/cmd-doc.tlib line 219 for > sntp- > > opts.mdoc: > > Cannot locate converter for mdoc > > Failing Guile command: = = = = = > > > > (define sec-type (string-upcase (get "ds-type"))) > > (define sec-name (name-to-fname sec-type)) > > (define cvt-fn (find-file (string-append > > (get "ds-format" "man") "2mdoc"))) > > (if (not (defined? 'cvt-fn)) > > (error (sprintf "Cannot locate converter for %s" > > (get "ds-format" "man")))) > > > > (define sec-file (string-append tmp-dir "/SEC/" sec-name)) > > (access? sec-file R_OK) > > > > ================================= > > Makefile:1580: recipe for target '/home/asmith/xds/rootfs85- > arm/sandbox/ntp/s > > ntp/sntp.1sntpmdoc' failed > > make[4]: *** [/home/asmith/xds/rootfs85-arm/sandbox/ntp/sntp/sntp. > 1sntpmdoc] > > Error 2 > > make[4]: Leaving directory '/home/asmith/xds/rootfs85- > arm/sandbox/ntp/xbuild/ > > sntp' > > Makefile:1051: recipe for target 'all-recursive' failed > > make[3]: *** [all-recursive] Error 1 > > make[3]: Leaving directory '/home/asmith/xds/rootfs85- > arm/sandbox/ntp/xbuild/ > > sntp' > > Makefile:679: recipe for target 'all' failed > > make[2]: *** [all] Error 2 > > make[2]: Leaving directory '/home/asmith/xds/rootfs85- > arm/sandbox/ntp/xbuild/ > > sntp' > > Makefile:666: recipe for target 'all-recursive' failed > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory '/home/asmith/xds/rootfs85- > arm/sandbox/ntp/xbuild' > > Makefile:598: recipe for target 'all' failed > > make: *** [all] Error 2 > > Failed > > 8<-----------8<------------8< > > > > Since it works for the native build, I'm wondering what I could be > missing in > > building for ARM64. I can get past this error by commenting the mdoc > portion > > s of sntp-opts.def and the other def files that fail after doing so, but > I'm > > not happy with that kind of hack. > > > > I've used this ARM64 toolchain to build many other projects > successfully. An > > y help appreciated, > > Your timestamps are out of date and "make" is trying to regenerate stuff > that you almost certainly don't need to regenerate. > > Run the "bootstrap" script before you try your configure/build. > -- > Harlan Stenn <[email protected]> > http://networktimefoundation.org - be a member! > _______________________________________________ questions mailing list [email protected] http://lists.ntp.org/listinfo/questions
