Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[5.0_BETA] build failure after ntp 4.2.4p6 pull-up



With netbsd-5.0 src of just now, I get the following:

In file included from /usr/src/dist/ntp/ntpd/ntp_loopfilter.c:24:
/u2/netbsd-5.0/destdir.amd64/usr/include/util.h:128: error: conflicting types for 'emalloc' /usr/src/dist/ntp/include/ntp_stdlib.h:59: error: previous declaration of 'emalloc' was here
--- ntp_loopfilter.o ---
*** [ntp_loopfilter.o] Error code 1


With the diffs from the following commit applied, 5.0 builds again:
Module Name:    src
Committed By:   christos
Date:           Tue Dec 23 20:49:39 UTC 2008

Modified Files:
        src/dist/ntp/include: ntp_stdlib.h
        src/dist/ntp/libntp: emalloc.c

Log Message:
trust me, malloc's argument is size_t not u_int.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/dist/ntp/include/ntp_stdlib.h
cvs rdiff -r1.2 -r1.3 src/dist/ntp/libntp/emalloc.c
http://mail-index.netbsd.org/source-changes/2008/12/23/msg214414.html
--
    aew

Attachment: PGP.sig
Description: This is a digitally signed message part



Home | Main Index | Thread Index | Old Index