Hi! Dunno what happened but I nearly shit myself last night!
Read about the CVE-2014-9295 vulnerability and soon started looking for solutions for Snow Leopard 10.6.8. Found this thread Disabling NTP on OS X Lion or older and then read also this other thread http://ift.tt/1xeVluj
Since I had no backup of my system yet, I usually test applications and fixes first by booting from my old HDD in which SL is nearly configured like the one on the internal SSD. In both the HDD and the SSD have Mac OS X 10.6.8 (10K549) installed as well as XCode Version 3.2.6 (1761). The two system are nearly specular. The only differences are:
1) a different AV software (Sophos Aanti-Virus v.9.2.2 on my HDD and Kaspersky Internet Security for Mac v.14.0.1.46e on my SSD); 2) some Mac OS X IPFW rules active on system boot on my SSD, configured via WaterProof GUI utility (basically are ready ruleset, so nothing written by me).
That said, on my HDD I first launched this two command:
sudo cp /usr/sbin/ntpd /usr/sbin/ntpd.bak
sudo mv /usr/sbin/ntpd /usr/sbin/ntpd.old
then I followed the "macissues" instructions and everything went SMOOTHLY.
Later I realized that maybe I should have backed up more, so when I moved to do it again but on my SSD, I first launched these commands:
sudo launchctl unload /System/Library/LaunchDaemons/org.ntp.ntpd.plist
sudo mv /usr/sbin/ntpd /usr/sbin/ntpd.old
sudo mv /usr/sbin/ntpdate /usr/sbin/ntpdate.old
sudo mv /usr/sbin/ntpdc /usr/sbin/ntpdc.old
sudo mv /usr/sbin/ntptrace /usr/sbin/ntptrace.old
sudo mv /usr/bin/sntp /usr/bin/sntp.old
sudo mv /usr/bin/ntp-keygen /usr/bin/ntp-keygen.old
sudo mv /usr/bin/ntpq /usr/bin/ntpq.old
then carried on always following the same "macissues" instructions.
Well… after a 6-HOUR NIGHTMARE (SIX HOURS!!!) and after had found a kinda solution through my smartphone… (sorry but I'm a noob (dummy) in Apple OS X command line) I managed to kill the running process with ctrl+C, renamed all the the *old-files by removing .old and reload ntpd.
Please find the log of what happened…
Any idea? What went wrong on the second time? Thanks. Mo
Last login: Sun Jan 18 21:05:11 on console
MacBook-Pro-di-*:~ *$ what /usr/sbin/ntpd
/usr/sbin/ntpd
MacBook-Pro-di-*:~ *$ ntpd --version
ntpd - NTP daemon program - Ver. 4.2.4p4
MacBook-Pro-di-*:~ $ sudo launchctl unload /System/Library/LaunchDaemons/org.ntp.ntpd.plist Password: MacBook-Pro-di-:~ $ sudo mv /usr/sbin/ntpd /usr/sbin/ntpd.old MacBook-Pro-di-:~ $ sudo mv /usr/sbin/ntpdate /usr/sbin/ntpdate.old MacBook-Pro-di-:~ $ sudo mv /usr/sbin/ntpdc /usr/sbin/ntpdc.old MacBook-Pro-di-:~ $ sudo mv /usr/sbin/ntptrace /usr/sbin/ntptrace.old MacBook-Pro-di-:~ $ sudo mv /usr/bin/sntp /usr/bin/sntp.old MacBook-Pro-di-:~ $ sudo mv /usr/bin/ntp-keygen /usr/bin/ntp-keygen.old MacBook-Pro-di-:~ *$ sudo mv /usr/bin/ntpq /usr/bin/ntpq.old
MacBook-Pro-di-*:~ *$ cd ~/Downloads/ntp-4.2.8
MacBook-Pro-di-*:ntp-4.2.8 *$ patch -p0 <~/Downloads/patch-ntpd-ntp_io.c.diff
patching file ntpd/ntp_io.c
MacBook-Pro-di-*:ntp-4.2.8 *$ ./configure --prefix=/usr
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... sntp/libevent/build-aux/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking build system type... x86_64-apple-darwin10.8.0 checking host system type... x86_64-apple-darwin10.8.0 checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define EXTENSIONS... yes checking whether gcc and cc understand -c and -o together... yes checking for gcc option to accept ISO C89... (cached) none needed checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether gcc needs -traditional... no checking if gcc can handle #warning... yes checking if gcc supports attribute((...))... yes checking if gcc can handle -Wstrict-overflow... yes checking if gcc can handle -Winit-self... yes
[...DUE TO 30000 CHARACTERS BODY SIZE LIMIT, FORCED TO DELETE A LOT OF LINES, CIRCA 62958 CHARACTERS...]
checking if linker supports omitting unused code and data... no configure: creating ./config.status config.status: creating libevent.pc config.status: creating libevent_openssl.pc config.status: creating libevent_pthreads.pc config.status: creating Makefile config.status: creating config.h config.status: creating evconfig-private.h config.status: executing depfiles commands config.status: executing libtool commands
MacBook-Pro-di-*:ntp-4.2.8 *$ make
Compiling with GCC now generates lots of new warnings.
Don't be concerned. They're just warnings.
Don't send bug reports about the warnings, either.
Feel free to send patches that fix these warnings, though.
cd ./html && \ ../scripts/build/checkHtmlFileDates [ ! -r ./../COPYRIGHT ] \ || [ check-COPYRIGHT-submake -nt ./../COPYRIGHT ] \ || make check-COPYRIGHT-submake cd ../libntp && make libntp.a CC systime.o systime.c: In function ‘step_systime’: systime.c:463: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) systime.c:461: warning: assuming signed overflow does not occur when simplifying conditional to constant CC a_md5encrypt.o CC adjtime.o CC atoint.o CC atolfp.o CC atouint.o CC audio.o CC authkeys.o CC authreadkeys.o CC authusekey.o CC bsd_strerror.o CC buftvtots.o CC caljulian.o CC caltontp.o CC calyearstart.o CC clocktime.o CC clocktypes.o CC decodenetnum.o CC dofptoa.o CC dolfptoa.o CC emalloc.o CC findconfig.o CC getopt.o CC hextoint.o CC hextolfp.o CC humandate.o CC icom.o CC iosignal.o CC lib_strbuf.o CC machines.o CC mktime.o CC modetoa.o CC mstolfp.o CC msyslog.o CC netof.o CC ntp_calendar.o CC ntp_crypto_rnd.o CC ntp_intres.o CC ntp_libopts.o CC ntp_lineedit.o CC ntp_random.o CC ntp_rfc2553.o CC ntp_worker.o CC numtoa.o CC numtohost.o CC octtoint.o CC prettydate.o CC recvbuff.o CC refnumtoa.o CC snprintf.o CC socket.o CC socktoa.o CC socktohost.o CC ssl_init.o CC statestr.o CC strdup.o CC strl_obsd.o CC syssignal.o CC timetoa.o CC timevalops.o CC uglydate.o CC vint64ops.o CC work_fork.o CC work_thread.o CC ymd2yd.o CC assertions.o CC buffer.o CC backtrace-emptytbl.o CC backtrace.o ./../lib/isc/backtrace.c: In function ‘isc_backtrace_getsymbolfromindex’: ./../lib/isc/backtrace.c:214: warning: declaration of ‘index’ shadows a global declaration /usr/include/string.h:125: warning: shadowed declaration is here CC condition.o CC dir.o CC error.o CC errno2result.o CC event.o CC file.o CC inet_ntop.o ./../lib/isc/inet_ntop.c: In function ‘isc_net_ntop’: ./../lib/isc/inet_ntop.c:124: warning: ‘cur.len’ may be used uninitialized in this function ./../lib/isc/inet_ntop.c:124: note: ‘cur.len’ was declared here ./../lib/isc/inet_ntop.c:124: warning: ‘best.len’ may be used uninitialized in this function ./../lib/isc/inet_ntop.c:124: note: ‘best.len’ was declared here CC inet_pton.o CC interfaceiter.o CC lib.o CC log.o CC md5.o CC msgcat.o CC net.o CC netaddr.o CC netscope.o CC ondestroy.o CC random.o CC result.o CC stdio.o CC stdtime.o CC strerror.o CC task.o CC thread.o CC time.o CC sha1.o CC sockaddr.o AR libntp.a /usr/bin/ranlib: file: libntp.a(snprintf.o) has no symbols /usr/bin/ranlib: file: libntp.a(strl_obsd.o) has no symbols /usr/bin/ranlib: file: libntp.a(timevalops.o) has no symbols /usr/bin/ranlib: file: libntp.a(condition.o) has no symbols ranlib: file: libntp.a(snprintf.o) has no symbols ranlib: file: libntp.a(strl_obsd.o) has no symbols ranlib: file: libntp.a(timevalops.o) has no symbols ranlib: file: libntp.a(condition.o) has no symbols cd libopts && make libopts.la GEN stdnoreturn.h CC libopts_la-libopts.lo In file included from libopts.c:24: enum.c: In function 'enum_err': enum.c:112: warning: embedded '\0' in format enum.c:135: warning: embedded '\0' in format enum.c:148: warning: embedded '\0' in format enum.c:155: warning: embedded '\0' in format enum.c: In function 'optionEnumerationVal': enum.c:307: warning: embedded '\0' in format In file included from libopts.c:27: find.c: In function 'opt_ambiguities': find.c:114: warning: embedded '\0' in format find.c:119: warning: embedded '\0' in format find.c: In function 'opt_set': find.c:219: warning: embedded '\0' in format find.c: In function 'opt_find_short': find.c:432: warning: embedded '\0' in format In file included from libopts.c:30: makeshell.c: In function 'optionParseShell': makeshell.c:147: warning: embedded '\0' in format makeshell.c:157: warning: embedded '\0' in format makeshell.c:166: warning: embedded '\0' in format makeshell.c:178: warning: embedded '\0' in format makeshell.c:184: warning: embedded '\0' in format makeshell.c:195: warning: embedded '\0' in format makeshell.c: In function 'emit_var_text': makeshell.c:230: warning: embedded '\0' in format makeshell.c: In function 'emit_usage': makeshell.c:373: warning: embedded '\0' in format makeshell.c:381: warning: embedded '\0' in format makeshell.c:383: warning: embedded '\0' in format makeshell.c:386: warning: embedded '\0' in format makeshell.c: In function 'emit_wrapup': makeshell.c:436: warning: embedded '\0' in format makeshell.c: In function 'emit_action': makeshell.c:532: warning: embedded '\0' in format makeshell.c:535: warning: embedded '\0' in format makeshell.c:538: warning: embedded '\0' in format makeshell.c:539: warning: embedded '\0' in format makeshell.c:544: warning: embedded '\0' in format makeshell.c:545: warning: embedded '\0' in format makeshell.c:547: warning: embedded '\0' in format makeshell.c:551: warning: embedded '\0' in format makeshell.c:555: warning: embedded '\0' in format makeshell.c:557: warning: embedded '\0' in format makeshell.c:564: warning: embedded '\0' in format makeshell.c:565: warning: embedded '\0' in format makeshell.c:568: warning: embedded '\0' in format makeshell.c:569: warning: embedded '\0' in format makeshell.c:572: warning: embedded '\0' in format makeshell.c: In function 'emit_inaction': makeshell.c:582: warning: embedded '\0' in format makeshell.c:586: warning: embedded '\0' in format makeshell.c:589: warning: embedded '\0' in format makeshell.c:591: warning: embedded '\0' in format makeshell.c: In function 'emit_flag': makeshell.c:614: warning: embedded '\0' in format makeshell.c: In function 'emit_match_expr': makeshell.c:689: warning: embedded '\0' in format makeshell.c:699: warning: embedded '\0' in format In file included from libopts.c:31: nested.c: In function 'emit_special_char': nested.c:926: warning: embedded '\0' in format In file included from libopts.c:33: pgusage.c: In function 'open_tmp_usage': pgusage.c:49: warning: embedded '\0' in format pgusage.c: In function 'mk_pager_cmd': pgusage.c:90: warning: embedded '\0' in format In file included from libopts.c:34: putshell.c: In function 'optionQuoteString': putshell.c:190: warning: embedded '\0' in format putshell.c: In function 'print_enumeration': putshell.c:277: warning: embedded '\0' in format putshell.c:283: warning: embedded '\0' in format putshell.c:288: warning: embedded '\0' in format putshell.c: In function 'print_membership': putshell.c:298: warning: embedded '\0' in format putshell.c:315: warning: embedded '\0' in format putshell.c: In function 'print_stacked_arg': putshell.c:330: warning: embedded '\0' in format putshell.c:334: warning: embedded '\0' in format putshell.c:337: warning: embedded '\0' in format putshell.c: In function 'optionPutShell': putshell.c:375: warning: embedded '\0' in format putshell.c:403: warning: embedded '\0' in format putshell.c:442: warning: embedded '\0' in format putshell.c:452: warning: embedded '\0' in format putshell.c:472: warning: embedded '\0' in format putshell.c:484: warning: embedded '\0' in format putshell.c:491: warning: embedded '\0' in format putshell.c:493: warning: embedded '\0' in format In file included from libopts.c:37: save.c: In function 'prt_value': save.c:351: warning: embedded '\0' in format save.c:366: warning: embedded '\0' in format save.c:386: warning: embedded '\0' in format save.c:392: warning: embedded '\0' in format save.c:397: warning: embedded '\0' in format save.c: In function 'prt_string': save.c:411: warning: embedded '\0' in format save.c:439: warning: embedded '\0' in format save.c: In function 'prt_val_list': save.c:459: warning: embedded '\0' in format save.c:463: warning: embedded '\0' in format save.c: In function 'prt_nested': save.c:503: warning: embedded '\0' in format save.c: In function 'open_sv_file': save.c:556: warning: embedded '\0' in format In file included from libopts.c:44: usage.c: In function 'print_usage_details': usage.c:352: warning: embedded '\0' in format usage.c:357: warning: embedded '\0' in format usage.c: In function 'print_one_paragraph': usage.c:437: warning: embedded '\0' in format CCLD libopts.la libtool: link: warning: -version-info/-version-number' is ignored for convenience libraries cp ./deps-ver .deps/deps-ver cd . && \ ./scripts/build/checkChangeLog make all-recursive Making all in scripts Making all in build make[3]: Nothing to be done for
all'. Making all in calc_tickadj ../../config.status --file=calc_tickadj.+:./calc_tickadj.mdoc.in config.status: creating calc_tickadj.+ mv calc_tickadj.+ calc_tickadj. Making all in ntp-wait ../../config.status --file=ntp-wait.8+:./ntp-wait.mdoc.in config.status: creating ntp-wait.8+ mv ntp-wait.8+ ntp-wait.8 Making all in ntpsweep ../../config.status --file=ntpsweep.1+:./ntpsweep.mdoc.in config.status: creating ntpsweep.1+ mv ntpsweep.1+ ntpsweep.1 Making all in ntptrace ../../config.status --file=ntptrace.8+:./ntptrace.mdoc.in config.status: creating ntptrace.8+ mv ntptrace.8+ ntptrace.8 Making all in lib make[3]: Nothing to be done for all'. make[3]: Nothing to be done for
all-am'. Making all in include Making all in isc make[3]: Nothing to be done for all'. make[3]: Nothing to be done for
all-am'. Making all in libntp cp ../deps-ver .deps/deps-ver make all-am make[3]: Nothing to be done for all-am'. Making all in libparse cp ../deps-ver .deps/deps-ver make all-am make[3]: Nothing to be done for
all-am'. Making all in ntpd cp ../deps-ver .deps/deps-ver make all-am CC cmd_args.o CC ntp_control.o ntp_control.c: In function ‘ctl_error’: ntp_control.c:851: warning: integer overflow in expression ntp_control.c:851: warning: integer overflow in expression ntp_control.c: In function ‘ctl_putsys’: ntp_control.c:1868: warning: declaration of ‘ss’ shadows a previous local ntp_control.c:1717: warning: shadowed declaration is here ntp_control.c:1869: warning: declaration of ‘len’ shadows a previous local ntp_control.c:1718: warning: shadowed declaration is here ntp_control.c:1870: warning: declaration of ‘k’ shadows a previous local ntp_control.c:1720: warning: shadowed declaration is here ntp_control.c:1880: warning: assignment discards qualifiers from pointer target type ntp_control.c:1720: warning: unused variable ‘k’ ntp_control.c:1719: warning: unused variable ‘firstvarname’ ntp_control.c:1718: warning: unused variable ‘len’ CC ntp_crypto.o CC ntp_filegen.o CC ntp_leapsec.o CC ntp_loopfilter.o ntp_loopfilter.c: In function ‘local_clock’: ntp_loopfilter.c:336: warning: unused variable ‘ntp_adj_ret’ ntp_loopfilter.c: In function ‘set_freq’: ntp_loopfilter.c:943: warning: unused variable ‘ntp_adj_ret’ ntp_loopfilter.c: At top level: ntp_loopfilter.c:189: warning: ‘file_name’ defined but not used CC ntp_monitor.o CC ntp_peer.o CC ntp_proto.o ntp_proto.c: In function ‘pool_xmit’: ntp_proto.c:3602: warning: cast to pointer from integer of different size ntp_proto.c: In function ‘pool_name_resolved’: ntp_proto.c:3708: warning: cast from pointer to integer of different size CC ntp_refclock.o CC ntp_request.o ntp_request.c: In function ‘req_ack’: ntp_request.c:264: warning: integer overflow in expression ntp_request.c:264: warning: integer overflow in expression CC ntp_restrict.o CC ntp_signd.o CC ntp_timer.o CC ntp_util.o CC refclock_acts.o CC refclock_arbiter.o CC refclock_arc.o CC refclock_as2201.o CC refclock_atom.o CC refclock_bancomm.o CC refclock_chronolog.o CC refclock_chu.o CC refclock_conf.o CC refclock_datum.o CC refclock_dumbclock.o CC refclock_fg.o CC refclock_gpsdjson.o refclock_gpsdjson.c: In function ‘process_tpv’: refclock_gpsdjson.c:857: warning: declaration of ‘log2’ shadows a global declaration /usr/include/architecture/i386/math.h:307: warning: shadowed declaration is here CC refclock_gpsvme.o CC refclock_heath.o CC refclock_hopfser.o CC refclock_hopfpci.o CC refclock_hpgps.o CC refclock_irig.o CC refclock_jjy.o CC refclock_jupiter.o CC refclock_leitch.o CC refclock_local.o CC refclock_mx4200.o CC refclock_neoclock4x.o CC refclock_nmea.o refclock_nmea.c: In function ‘eval_gps_time’: refclock_nmea.c:1783: warning: declaration of ‘recv’ shadows a global declaration /usr/include/sys/socket.h:604: warning: shadowed declaration is here CC refclock_oncore.o CC refclock_palisade.o CC refclock_parse.o CC refclock_pcf.o CC refclock_pst.o CC refclock_ripencc.o CC refclock_shm.o CC refclock_tpro.o CC refclock_true.o CC refclock_tt560.o CC refclock_ulink.o CC refclock_wwv.o CC refclock_wwvb.o CC refclock_zyfer.o CC refclock_tsyncpci.o AR libntpd.a /usr/bin/ranlib: file: libntpd.a(ntp_signd.o) has no symbols /usr/bin/ranlib: file: libntpd.a(refclock_parse.o) has no symbols ranlib: file: libntpd.a(ntp_signd.o) has no symbols ranlib: file: libntpd.a(refclock_parse.o) has no symbols CC ntp_config.o CC ntp_io.o ntp_io.c: In function ‘fetch_timestamp’: ntp_io.c:3324: warning: format ‘%06ld’ expects type ‘long int’, but argument 3 has type ‘__darwin_suseconds_t’ CC ntp_parser.o CC ntp_scanner.o CC ntpd.o CC ntpd-opts.o env CSET=cat ../sntp/scm-rev
../scripts/build/mkver ntpd Version env CCACHE_DISABLE=1 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 -Wall -Wcast-align -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow -D_P1003_1B_VISIBLE -Wno-strict-prototypes -g -O2 -c version.c -o version.o CCLD ntpd ../config.status --file=ntp.conf.5+:./ntp.conf.mdoc.in config.status: creating ntp.conf.5+ mv ntp.conf.5+ ntp.conf.5 ../config.status --file=ntp.keys.5+:./ntp.keys.mdoc.in config.status: creating ntp.keys.5+ mv ntp.keys.5+ ntp.keys.5 ../config.status --file=ntpd.8+:./ntpd.mdoc.in config.status: creating ntpd.8+ mv ntpd.8+ ntpd.8 Making all in ntpdate cp ../deps-ver .deps/deps-ver make all-am CC ntpdate.o env CSET=cat ../sntp/scm-rev
../scripts/build/mkver ntpdate Version env CCACHE_DISABLE=1 gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib/isc/include -I../lib/isc/nothreads/include -I../lib/isc/unix/include -Wall -Wcast-align -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow -D_P1003_1B_VISIBLE -Wno-strict-prototypes -g -O2 -c version.c -o version.o CCLD ntpdate Making all in ntpdc gcc -E -I. -I.. -I../include -I../lib/isc/include -I../lib/isc/nothreads/include -I../lib/isc/unix/include -I../sntp/libopts ./nl_in.c | ./nl.pl > nl.c CC ntpdc-layout.o CCLD ntpdc-layout ./ntpdc-layout > layout.here cmp ./layout.std layout.here && echo stamp > check-layout cp ../deps-ver .deps/deps-ver make all-am CC ntpdc.o CC ntpdc_ops.o CC ntpdc-opts.o env CSET=cat ../sntp/scm-rev
../scripts/build/mkver ntpdc Version env CCACHE_DISABLE=1 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 -Wall -Wcast-align -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow -D_P1003_1B_VISIBLE -Wno-strict-prototypes -g -O2 -c version.c -o version.o CCLD ntpdc ../config.status --file=ntpdc.8+:./ntpdc.mdoc.in config.status: creating ntpdc.8+ mv ntpdc.8+ ntpdc.8 Making all in ntpq cp ../deps-ver .deps/deps-ver make all-am CC libntpq_a-libntpq.o CC libntpq_a-libntpq_subs.o AR libntpq.a CC ntpq.o CC ntpq-subs.o CC ntpq-opts.o env CSET=cat ../sntp/scm-rev
../scripts/build/mkver ntpq Version env CCACHE_DISABLE=1 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 -Wall -Wcast-align -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow -D_P1003_1B_VISIBLE -Wno-strict-prototypes -g -O2 -c version.c -o version.o CCLD ntpq ../config.status --file=ntpq.8+:./ntpq.mdoc.in config.status: creating ntpq.8+ mv ntpq.8+ ntpq.8 Making all in ntpsnmpd cp ../deps-ver .deps/deps-ver make all-am CC netsnmp_daemonize.o CC ntpsnmpd.o CC ntpSnmpSubagentObject.o CC ntpsnmpd-opts.o CCLD ntpsnmpd ../config.status --file=ntpsnmpd.8+:./ntpsnmpd.mdoc.in config.status: creating ntpsnmpd.8+ mv ntpsnmpd.8+ ntpsnmpd.8 Making all in parseutil cp ../deps-ver .deps/deps-ver make all-am make[3]: Nothing to be done for all-am'. Making all in adjtimed cp ../deps-ver .deps/deps-ver make all-am make[3]: Nothing to be done for
all-am'. Making all in clockstuff cp ../deps-ver .deps/deps-ver make all-am CC propdelay.o CCLD propdelay Making all in kernel Making all in sys make[3]: Nothing to be done for all'. make[3]: Nothing to be done for
all-am'. Making all in util cp ../deps-ver .deps/deps-ver make all-am CC ntp-keygen.o CC ntp-keygen-opts.o ntp-keygen-opts.c: In function ‘doOptImbits’: ntp-keygen-opts.c:1050: warning: cast discards qualifiers from pointer target type ntp-keygen-opts.c: In function ‘doOptModulus’: ntp-keygen-opts.c:1109: warning: cast discards qualifiers from pointer target type env CSET=cat ../sntp/scm-rev
../scripts/build/mkver ntp-keygen Version env CCACHE_DISABLE=1 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 -Wall -Wcast-align -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow -D_P1003_1B_VISIBLE -Wno-strict-prototypes -g -O2 -c version.c -o version.o CCLD ntp-keygen ../config.status --file=ntp-keygen.8+:./ntp-keygen.mdoc.in config.status: creating ntp-keygen.8+ mv ntp-keygen.8+ ntp-keygen.8 Making all in sntp [ ! -r ./../COPYRIGHT ] \ || [ check-COPYRIGHT-submake -nt ./../COPYRIGHT ] \ || make check-COPYRIGHT-submake make all-recursive Making all in include make[4]: Nothing to be done for all'. Making all in scripts make[4]: Nothing to be done for
all'. Making all in libevent GEN include/event2/event-config.h make all-am CC buffer.lo CC bufferevent.lo CC bufferevent_filter.lo CC bufferevent_pair.lo CC bufferevent_ratelim.lo CC bufferevent_sock.lo CC event.lo event.c: In function 'event_process_active_single_queue': event.c:1573: warning: ISO C90 forbids mixed declarations and code event.c:1587: warning: ISO C90 forbids mixed declarations and code CC evmap.lo CC evthread.lo CC evutil.lo CC evutil_rand.lo CC evutil_time.lo CC listener.lo CC log.lo CC select.lo CC poll.lo CC kqueue.lo CC signal.lo
CC evdns.lo
^Cmake[5]: *** [evdns.lo] Error 1
make[4]: *** [all] Interrupt
make[3]: *** [all-recursive] Interrupt
make[2]: *** [all] Interrupt
make[1]: *** [all-recursive] Interrupt
make: *** [all] Interrupt
MacBook-Pro-di-*:ntp-4.2.8 *$
Aucun commentaire:
Enregistrer un commentaire