[...] ^ cmd_args.c:147:6: note: in expansion of macro 'HAVE_OPT' if (HAVE_OPT( VAR )) { ^ ntpd-opts.h:117:47: error: 'INDEX_OPT_DVAR' undeclared (first use in this function) #define DESC(n) (ntpdOptions.pOptDesc[INDEX_OPT_## n]) ^ ntpd-opts.h:119:41: note: in expansion of macro 'DESC' #define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n))) ^ cmd_args.c:161:6: note: in expansion of macro 'HAVE_OPT' if (HAVE_OPT( DVAR )) { ^ ntpd-opts.h:117:47: error: 'INDEX_OPT_SLEW' undeclared (first use in this function) #define DESC(n) (ntpdOptions.pOptDesc[INDEX_OPT_## n]) ^ ntpd-opts.h:119:41: note: in expansion of macro 'DESC' #define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n))) ^ cmd_args.c:173:6: note: in expansion of macro 'HAVE_OPT' if (HAVE_OPT( SLEW )) ^ ntpd-opts.h:117:47: error: 'INDEX_OPT_UPDATEINTERVAL' undeclared (first use in this function) #define DESC(n) (ntpdOptions.pOptDesc[INDEX_OPT_## n]) ^ ntpd-opts.h:119:41: note: in expansion of macro 'DESC' #define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n))) ^ cmd_args.c:176:6: note: in expansion of macro 'HAVE_OPT' if (HAVE_OPT( UPDATEINTERVAL )) { ^ make[3]: *** [cmd_args.o] Error 1 make[3]: Leaving directory `/home/users/builder/rpm/BUILD/ntp-4.2.8/ntpd' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/users/builder/rpm/BUILD/ntp-4.2.8/ntpd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/users/builder/rpm/BUILD/ntp-4.2.8' make: *** [all] Error 2 error: Bad exit status from /tmp/B.f49990/rpm-tmp.11712 (%build) RPM build errors: Bad exit status from /tmp/B.f49990/rpm-tmp.11712 (%build) ended at: Fri Jul 17 17:14:41 2015, done in 01days 00h 05m 07s error: No files produced. mesg: ttyname failed: Inappropriate ioctl for device Begin-PLD-Builder-Info Build-Time: user:208.85s sys:143.99s real:315.72s (faults io:2 non-io:12809224) End-PLD-Builder-Info