Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

[FreeBSD] Compilation NTPns

4 réponses
Avatar
Eric Masson
'Lut,

Afin de redonner une seconde vie à un NET4501, j'essaye de créer une
image nanobsd qui embarque un serveur ntp codé par le sieur phk, ntpns.
Les archives sont dispo ici :
http://phk.freebsd.dk/NTPns/phkrel/

J'ai donc tenté la compilation sur une 6.3 & une 7.4.

Dans les deux cas, la méthode est la suivante compilation et
installation de Libphk puis de Configkit sans erreur.

Lors de la compilation de ntpns, cc (gcc) s'arrête pour cause de
références non résolues dans libphk (voir le script du build)

Une idée sur la cause et la manière de résoudre le problème, svp ?

Merci d'avance
Script started on Sat Aug 15 14:18:21 2015
===> isc (all)
Warning: Object directory not changed from original /usr/home/emss/NTPns/isc
cc -O2 -fno-strict-aliasing -pipe -Wall -Wmissing-prototypes -I/usr/home/emss/NTPns/isc/../include -I/usr/home/emss/NTPns/isc/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -c ev_connects.c
cc -O2 -fno-strict-aliasing -pipe -Wall -Wmissing-prototypes -I/usr/home/emss/NTPns/isc/../include -I/usr/home/emss/NTPns/isc/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -c ev_files.c
cc -O2 -fno-strict-aliasing -pipe -Wall -Wmissing-prototypes -I/usr/home/emss/NTPns/isc/../include -I/usr/home/emss/NTPns/isc/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -c ev_streams.c
cc -O2 -fno-strict-aliasing -pipe -Wall -Wmissing-prototypes -I/usr/home/emss/NTPns/isc/../include -I/usr/home/emss/NTPns/isc/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -c ev_timers.c
cc -O2 -fno-strict-aliasing -pipe -Wall -Wmissing-prototypes -I/usr/home/emss/NTPns/isc/../include -I/usr/home/emss/NTPns/isc/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -c assertions.c
cc -O2 -fno-strict-aliasing -pipe -Wall -Wmissing-prototypes -I/usr/home/emss/NTPns/isc/../include -I/usr/home/emss/NTPns/isc/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -c eventlib.c
cc -O2 -fno-strict-aliasing -pipe -Wall -Wmissing-prototypes -I/usr/home/emss/NTPns/isc/../include -I/usr/home/emss/NTPns/isc/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -c heap.c
cc -O2 -fno-strict-aliasing -pipe -Wall -Wmissing-prototypes -I/usr/home/emss/NTPns/isc/../include -I/usr/home/emss/NTPns/isc/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -c memcluster.c
building static eventlib library
ranlib libeventlib.a
===> dcf77 (all)
Warning: Object directory not changed from original /usr/home/emss/NTPns/dcf77
configkit dcf77_cfg.ck
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/dcf77/../include -I/usr/home/emss/NTPns/dcf77/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c dcf77_cfg.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/dcf77/../include -I/usr/home/emss/NTPns/dcf77/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c dcf77.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/dcf77/../include -I/usr/home/emss/NTPns/dcf77/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c dcf77_blame.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/dcf77/../include -I/usr/home/emss/NTPns/dcf77/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c dcf77_timegram.c
building static ntpns.dcf77 library
ranlib libntpns.dcf77.a
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/dcf77/../include -I/usr/home/emss/NTPns/dcf77/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c dcf77_cfg.c -o dcf77_cfg.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/dcf77/../include -I/usr/home/emss/NTPns/dcf77/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c dcf77.c -o dcf77.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/dcf77/../include -I/usr/home/emss/NTPns/dcf77/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c dcf77_blame.c -o dcf77_blame.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/dcf77/../include -I/usr/home/emss/NTPns/dcf77/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c dcf77_timegram.c -o dcf77_timegram.So
building shared library ntpns.dcf77
===> oncore (all)
Warning: Object directory not changed from original /usr/home/emss/NTPns/oncore
configkit oncore_cfg.ck
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore_cfg.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore_serial.c
sort < /usr/home/emss/NTPns/oncore/oncore.request.txt | /usr/home/emss/NTPns/oncore/a.tcl oncore_request > oncore_request.c_tmp
mv oncore_request.c_tmp oncore_request.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore_request.c
sort < /usr/home/emss/NTPns/oncore/oncore.response.txt | /usr/home/emss/NTPns/oncore/a.tcl oncore_response > oncore_response.c_tmp
mv oncore_response.c_tmp oncore_response.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore_response.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore_state.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore_msg.c
building static ntpns.oncore library
ranlib libntpns.oncore.a
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore_cfg.c -o oncore_cfg.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore.c -o oncore.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore_serial.c -o oncore_serial.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore_request.c -o oncore_request.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore_response.c -o oncore_response.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore_state.c -o oncore_state.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore_msg.c -o oncore_msg.So
building shared library ntpns.oncore
===> ntpv4 (all)
Warning: Object directory not changed from original /usr/home/emss/NTPns/ntpv4
configkit ntpv4_cfg.ck
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/home/emss/NTPns/ntpv4 -I/usr/local/include -I/usr/home/emss/NTPns/ntpv4/../include -I/usr/home/emss/NTPns/ntpv4/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c ntpv4_cfg.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/home/emss/NTPns/ntpv4 -I/usr/local/include -I/usr/home/emss/NTPns/ntpv4/../include -I/usr/home/emss/NTPns/ntpv4/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c ntpv4.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/home/emss/NTPns/ntpv4 -I/usr/local/include -I/usr/home/emss/NTPns/ntpv4/../include -I/usr/home/emss/NTPns/ntpv4/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c packet.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/home/emss/NTPns/ntpv4 -I/usr/local/include -I/usr/home/emss/NTPns/ntpv4/../include -I/usr/home/emss/NTPns/ntpv4/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c proto.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/home/emss/NTPns/ntpv4 -I/usr/local/include -I/usr/home/emss/NTPns/ntpv4/../include -I/usr/home/emss/NTPns/ntpv4/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c partner.c
building static ntpns.ntpv4 library
ranlib libntpns.ntpv4.a
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/home/emss/NTPns/ntpv4 -I/usr/local/include -I/usr/home/emss/NTPns/ntpv4/../include -I/usr/home/emss/NTPns/ntpv4/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c ntpv4_cfg.c -o ntpv4_cfg.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/home/emss/NTPns/ntpv4 -I/usr/local/include -I/usr/home/emss/NTPns/ntpv4/../include -I/usr/home/emss/NTPns/ntpv4/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c ntpv4.c -o ntpv4.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/home/emss/NTPns/ntpv4 -I/usr/local/include -I/usr/home/emss/NTPns/ntpv4/../include -I/usr/home/emss/NTPns/ntpv4/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c packet.c -o packet.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/home/emss/NTPns/ntpv4 -I/usr/local/include -I/usr/home/emss/NTPns/ntpv4/../include -I/usr/home/emss/NTPns/ntpv4/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c proto.c -o proto.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/home/emss/NTPns/ntpv4 -I/usr/local/include -I/usr/home/emss/NTPns/ntpv4/../include -I/usr/home/emss/NTPns/ntpv4/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c partner.c -o partner.So
building shared library ntpns.ntpv4
===> main (all)
Warning: Object directory not changed from original /usr/home/emss/NTPns/main
configkit ntpns_cfg.ck
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c ntpns_cfg.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c config.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c load.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c log.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c main.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c pll.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c pllmath.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c pps-api.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c mumble.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c rrrd.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c record.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c resolver.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c shmem.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c source.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c telnet.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c timestamp.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c watch.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC=\"856fbe8e7b5d18f6b4ebb1cf459b9cb3\" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -o ntpns ntpns_cfg.o config.o load.o log.o main.o pll.o pllmath.o pps-api.o mumble.o rrrd.o record.o resolver.o shmem.o source.o telnet.o timestamp.o watch.o /usr/lib/libm.a -L../isc -leventlib -L../dcf77 -lntpns.dcf77 -L../ntpv4 -lntpns.ntpv4 -L../oncore -lntpns.oncore -L/usr/local/lib -lconfigkit -lphk
/usr/local/lib/libphk.a(phk_expr.o)(.data+0x4): undefined reference to `tan'
/usr/local/lib/libphk.a(phk_expr.o)(.data+0x14): undefined reference to `sin'
/usr/local/lib/libphk.a(phk_expr.o)(.data+0x1c): undefined reference to `round'
/usr/local/lib/libphk.a(phk_expr.o)(.data+0x2c): undefined reference to `log10'
/usr/local/lib/libphk.a(phk_expr.o)(.data+0x3c): undefined reference to `floor'
/usr/local/lib/libphk.a(phk_expr.o)(.data+0x4c): undefined reference to `exp2'
/usr/local/lib/libphk.a(phk_expr.o)(.data+0x5c): undefined reference to `exp'
/usr/local/lib/libphk.a(phk_expr.o)(.data+0x64): undefined reference to `cos'
*** Error code 1

Stop in /usr/home/emss/NTPns/main.
*** Error code 1

Stop in /usr/home/emss/NTPns.

Script done on Sat Aug 15 14:18:26 2015

--
EF> Je veux savoir si tout ce monde a posté sur les groupes votés.
Tu veux montrer quelque chose de précis, ou tu cherches seulement à
t'enfoncer encore un peu plus?
-+-AG in : <http://www.le-gnu.net> - Parlez lui avec tendresse -+-

4 réponses

Avatar
doctor
In article ,
Eric Masson wrote:
'Lut,

Afin de redonner une seconde vie à un NET4501, j'essaye de créer une
image nanobsd qui embarque un serveur ntp codé par le sieur phk, ntpns.
Les archives sont dispo ici :
http://phk.freebsd.dk/NTPns/phkrel/

J'ai donc tenté la compilation sur une 6.3 & une 7.4.

Dans les deux cas, la méthode est la suivante compilation et
installation de Libphk puis de Configkit sans erreur.

Lors de la compilation de ntpns, cc (gcc) s'arrête pour cause de
références non résolues dans libphk (voir le script du build)

Une idée sur la cause et la manière de résoudre le problème, svp ?

Merci d'avance
Script started on Sat Aug 15 14:18:21 2015
===> isc (all)
Warning: Object directory not changed from original /usr/home/emss/NTPns/isc
cc -O2 -fno-strict-aliasing -pipe -Wall -Wmissing-prototypes -I/usr/home/emss/NTPns/isc/../include -I/usr/home/emss/NTPns/isc/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -c ev_connects.c
cc -O2 -fno-strict-aliasing -pipe -Wall -Wmissing-prototypes -I/usr/home/emss/NTPns/isc/../include -I/usr/home/emss/NTPns/isc/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -c ev_files.c
cc -O2 -fno-strict-aliasing -pipe -Wall -Wmissing-prototypes -I/usr/home/emss/NTPns/isc/../include -I/usr/home/emss/NTPns/isc/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -c ev_streams.c
cc -O2 -fno-strict-aliasing -pipe -Wall -Wmissing-prototypes -I/usr/home/emss/NTPns/isc/../include -I/usr/home/emss/NTPns/isc/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -c ev_timers.c
cc -O2 -fno-strict-aliasing -pipe -Wall -Wmissing-prototypes -I/usr/home/emss/NTPns/isc/../include -I/usr/home/emss/NTPns/isc/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -c assertions.c
cc -O2 -fno-strict-aliasing -pipe -Wall -Wmissing-prototypes -I/usr/home/emss/NTPns/isc/../include -I/usr/home/emss/NTPns/isc/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -c eventlib.c
cc -O2 -fno-strict-aliasing -pipe -Wall -Wmissing-prototypes -I/usr/home/emss/NTPns/isc/../include -I/usr/home/emss/NTPns/isc/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -c heap.c
cc -O2 -fno-strict-aliasing -pipe -Wall -Wmissing-prototypes -I/usr/home/emss/NTPns/isc/../include -I/usr/home/emss/NTPns/isc/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -c memcluster.c
building static eventlib library
ranlib libeventlib.a
===> dcf77 (all)
Warning: Object directory not changed from original /usr/home/emss/NTPns/dcf77
configkit dcf77_cfg.ck
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/dcf77/../include -I/usr/home/emss/NTPns/dcf77/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c dcf77_cfg.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/dcf77/../include -I/usr/home/emss/NTPns/dcf77/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c dcf77.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/dcf77/../include -I/usr/home/emss/NTPns/dcf77/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c dcf77_blame.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/dcf77/../include -I/usr/home/emss/NTPns/dcf77/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c dcf77_timegram.c
building static ntpns.dcf77 library
ranlib libntpns.dcf77.a
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/dcf77/../include -I/usr/home/emss/NTPns/dcf77/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c dcf77_cfg.c -o dcf77_cfg.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/dcf77/../include -I/usr/home/emss/NTPns/dcf77/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c dcf77.c -o dcf77.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/dcf77/../include -I/usr/home/emss/NTPns/dcf77/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c dcf77_blame.c -o dcf77_blame.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/dcf77/../include -I/usr/home/emss/NTPns/dcf77/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c dcf77_timegram.c -o dcf77_timegram.So
building shared library ntpns.dcf77
===> oncore (all)
Warning: Object directory not changed from original /usr/home/emss/NTPns/oncore
configkit oncore_cfg.ck
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore_cfg.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore_serial.c
sort < /usr/home/emss/NTPns/oncore/oncore.request.txt | /usr/home/emss/NTPns/oncore/a.tcl oncore_request > oncore_request.c_tmp
mv oncore_request.c_tmp oncore_request.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore_request.c
sort < /usr/home/emss/NTPns/oncore/oncore.response.txt | /usr/home/emss/NTPns/oncore/a.tcl oncore_response > oncore_response.c_tmp
mv oncore_response.c_tmp oncore_response.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore_response.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore_state.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore_msg.c
building static ntpns.oncore library
ranlib libntpns.oncore.a
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore_cfg.c -o oncore_cfg.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore.c -o oncore.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore_serial.c -o oncore_serial.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore_request.c -o oncore_request.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore_response.c -o oncore_response.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore_state.c -o oncore_state.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I/usr/home/emss/NTPns/oncore/../include -I/usr/home/emss/NTPns/oncore/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c oncore_msg.c -o oncore_msg.So
building shared library ntpns.oncore
===> ntpv4 (all)
Warning: Object directory not changed from original /usr/home/emss/NTPns/ntpv4
configkit ntpv4_cfg.ck
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/home/emss/NTPns/ntpv4 -I/usr/local/include -I/usr/home/emss/NTPns/ntpv4/../include -I/usr/home/emss/NTPns/ntpv4/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c ntpv4_cfg.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/home/emss/NTPns/ntpv4 -I/usr/local/include -I/usr/home/emss/NTPns/ntpv4/../include -I/usr/home/emss/NTPns/ntpv4/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c ntpv4.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/home/emss/NTPns/ntpv4 -I/usr/local/include -I/usr/home/emss/NTPns/ntpv4/../include -I/usr/home/emss/NTPns/ntpv4/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c packet.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/home/emss/NTPns/ntpv4 -I/usr/local/include -I/usr/home/emss/NTPns/ntpv4/../include -I/usr/home/emss/NTPns/ntpv4/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c proto.c
cc -O2 -fno-strict-aliasing -pipe -I. -I/usr/home/emss/NTPns/ntpv4 -I/usr/local/include -I/usr/home/emss/NTPns/ntpv4/../include -I/usr/home/emss/NTPns/ntpv4/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c partner.c
building static ntpns.ntpv4 library
ranlib libntpns.ntpv4.a
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/home/emss/NTPns/ntpv4 -I/usr/local/include -I/usr/home/emss/NTPns/ntpv4/../include -I/usr/home/emss/NTPns/ntpv4/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c ntpv4_cfg.c -o ntpv4_cfg.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/home/emss/NTPns/ntpv4 -I/usr/local/include -I/usr/home/emss/NTPns/ntpv4/../include -I/usr/home/emss/NTPns/ntpv4/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c ntpv4.c -o ntpv4.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/home/emss/NTPns/ntpv4 -I/usr/local/include -I/usr/home/emss/NTPns/ntpv4/../include -I/usr/home/emss/NTPns/ntpv4/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c packet.c -o packet.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/home/emss/NTPns/ntpv4 -I/usr/local/include -I/usr/home/emss/NTPns/ntpv4/../include -I/usr/home/emss/NTPns/ntpv4/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c proto.c -o proto.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I. -I/usr/home/emss/NTPns/ntpv4 -I/usr/local/include -I/usr/home/emss/NTPns/ntpv4/../include -I/usr/home/emss/NTPns/ntpv4/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c partner.c -o partner.So
building shared library ntpns.ntpv4
===> main (all)
Warning: Object directory not changed from original /usr/home/emss/NTPns/main
configkit ntpns_cfg.ck
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c ntpns_cfg.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c config.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c load.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c log.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c main.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c pll.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c pllmath.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c pps-api.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c mumble.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c rrrd.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c record.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c resolver.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c shmem.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c source.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c telnet.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c timestamp.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c watch.c
cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -o ntpns ntpns_cfg.o config.o load.o log.o main.o pll.o pllmath.o pps-api.o mumble.o rrrd.o record.o resolver.o shmem.o source.o telnet.o timestamp.o watch.o /usr/lib/libm.a -L../isc -leventlib -L../dcf77 -lntpns.dcf77 -L../ntpv4 -lntpns.ntpv4 -L../oncore -lntpns.oncore -L/usr/local/lib -lconfigkit -lphk
/usr/local/lib/libphk.a(phk_expr.o)(.data+0x4): undefined reference to `tan'
/usr/local/lib/libphk.a(phk_expr.o)(.data+0x14): undefined reference to `sin'
/usr/local/lib/libphk.a(phk_expr.o)(.data+0x1c): undefined reference to `round'
/usr/local/lib/libphk.a(phk_expr.o)(.data+0x2c): undefined reference to `log10'
/usr/local/lib/libphk.a(phk_expr.o)(.data+0x3c): undefined reference to `floor'
/usr/local/lib/libphk.a(phk_expr.o)(.data+0x4c): undefined reference to `exp2'
/usr/local/lib/libphk.a(phk_expr.o)(.data+0x5c): undefined reference to `exp'
/usr/local/lib/libphk.a(phk_expr.o)(.data+0x64): undefined reference to `cos'
*** Error code 1

Stop in /usr/home/emss/NTPns/main.
*** Error code 1

Stop in /usr/home/emss/NTPns.

Script done on Sat Aug 15 14:18:26 2015




Ajouter -lm .

--
EF> Je veux savoir si tout ce monde a posté sur les groupes votés.
Tu veux montrer quelque chose de précis, ou tu cherches seulement à
t'enfoncer encore un peu plus?
-+-AG in : <http://www.le-gnu.net> - Parlez lui avec tendresse -+-




--
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism
Time for Stephen to move on on Oct 19 2015!!
Avatar
Eric Masson
(The Doctor) writes:

'Lut,

Ajouter -lm .



Déjà fait, cela ne change rien à l'erreur de compilation

--
Pourriez vous me dire comment réaliser un fichier autoexecutable ou
plus presisement le fichier .exe que l'on met dedans !
-+- T in Guide du Neuneu Usenet : autoexécution de neuneu -+-
Avatar
Bruno Ducrot
Bonjour,

On 2015-08-15, Eric Masson wrote:
'Lut,

Afin de redonner une seconde vie à un NET4501, j'essaye de créer une
image nanobsd qui embarque un serveur ntp codé par le sieur phk, ntpns.
Les archives sont dispo ici :
http://phk.freebsd.dk/NTPns/phkrel/

J'ai donc tenté la compilation sur une 6.3 & une 7.4.



...

cc -export-dynamic -static -I/usr/local/include -I. -I/usr/home/emss/NTPns/main/../include -I/usr/home/emss/NTPns/main/../ -DMAGIC="856fbe8e7b5d18f6b4ebb1cf459b9cb3" -pthread -DNTPNS_MAJOR=1 -DNTPNS_MINOR=6 -I/usr/local/include -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -o ntpns ntpns_cfg.o config.o load.o log.o main.o pll.o pllmath.o pps-api.o mumble.o rrrd.o record.o resolver.o shmem.o source.o telnet.o timestamp.o watch.o /usr/lib/libm.a -L../isc -leventlib -L../dcf77 -lntpns.dcf77 -L../ntpv4 -lntpns.ntpv4 -L../oncore -lntpns.oncore -L/usr/local/lib -lconfigkit -lphk
/usr/local/lib/libphk.a(phk_expr.o)(.data+0x4): undefined reference to `tan'
/usr/local/lib/libphk.a(phk_expr.o)(.data+0x14): undefined reference to `sin'



/usr/lib/libm.a ne me semble pas à la bonne place, et est statique de toute
façon. Faudrait le virer et rajouter '-lm' juste après '-lphk'.

A plus,

--
Bruno Ducrot

A quoi ca sert que Ducrot hisse des carcasses ?
Avatar
Eric Masson
Bruno Ducrot writes:

'Lut Bruno,

/usr/lib/libm.a ne me semble pas à la bonne place, et est statique de toute
façon. Faudrait le virer et rajouter '-lm' juste après '-lphk'.



Excellent, merci beaucoup.

J'avais déjà rajouté -lm mais cela me semblait en contradiction avec la
présence de libm.a, mais vu que je suis une bille en développement C, je
ne savais pas si l'invocation de cc servait à créer un binaire statique
ou pas (auquel cas, l'ajout d'une lib dynamique dans la commande me
semblait un poil étrange).

--
Tu peux être plus claire ?


il veut te sauter patate !
-+-in: GNU - Les patates se sautent, les téléphones sans fils -+-