On Mar 10, 11:48am, agcarver+netbsd%acarver.net@localhost (AGC) wrote:
-- Subject: Re: ntpd wedged by libc?
| On 3/10/2012 00:31, Dave Hart wrote:
|> On Sat, Mar 10, 2012 at 07:05, AGC<agcarver+netbsd%acarver.net@localhost>
wrote:
|>> snprintf.c:1108: error: expected '=', ',', ';', 'asm' or '__attribute__'
|>> before '*' token
|>> snprintf.c:1108: error: 'puch' undeclared (first use in this function)
|>
|> Change line 1108 to:
|>
|> const unsigned char *puch;
|
| Made it a little farther this time but still failed:
|
| ../libntp/libntp.a(snprintf.o): In function `fmtflt':
| /usr/src/ntp-dev-4.2.7p259/libntp/snprintf.c:1152: undefined reference
| to `dtoa'
| /usr/src/ntp-dev-4.2.7p259/libntp/snprintf.c:1152: undefined reference
| to `freedtoa'
| *** Error code 1
-- End of excerpt from AGC
Try __dtoa and __freedtoa