[ntp:bugs] [Bug 717] ntpd 4.2.3p51 problems compiling libopts
bugzilla at ntp.isc.org
bugzilla at ntp.isc.org
Wed Oct 4 15:41:58 UTC 2006
http://bugs.ntp.isc.org/717
----------------------------------------------------------------------------
Additional Comments From bruce.korb at gmail.com (Bruce Korb)
Submitted on 2006-10-04 15:41
options.h contains this:
#define OPTIONS_STRUCT_VERSION 110596
#define OPTIONS_VERSION_STRING "27:4:3"
#define OPTIONS_MINIMUM_VERSION 98304
#define OPTIONS_MIN_VER_STRING "24:0:0"
your generated header should contain:
#define AO_TEMPLATE_VERSION 110596
#if (AO_TEMPLATE_VERSION < OPTIONS_MINIMUM_VERSION) \
|| (AO_TEMPLATE_VERSION > OPTIONS_STRUCT_VERSION)
# error option template version mismatches autoopts/options.h header
Choke Me.
#endif
That is supposed to do the job. Please check your "OPTIONS_STRUCT_VERSION"
in the installed header. It should be less than 110596:
vers_curr=$(expr '(' $AO_CURRENT '*' 4096 ')' + $AO_REVISION)
OR: (24 * 4096) + 4
the previous should be (24 * 4096) + 3 (or 2, I forget).
--
Bruce Korb <bruce.korb at gmail.com>
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the bugs
mailing list