[rrd-developers] rrd_open.c: mremap not portable, /trunk build broken
Tobias Oetiker
tobi at oetiker.ch
Wed Oct 15 07:31:36 CEST 2008
Hi Kevin,
Yesterday kevin brintnall wrote:
> r1601 breaks the build in /trunk on FreeBSD, Solaris, and probably others:
>
> rrd_open.c: In function 'rrd_write':
> rrd_open.c:571: warning: implicit declaration of function 'mremap'
> rrd_open.c:571: warning: nested extern declaration of 'mremap'
> rrd_open.c:571: error: 'MREMAP_MAYMOVE' undeclared (first use in this function)
> rrd_open.c:571: error: (Each undeclared identifier is reported only once
> rrd_open.c:571: error: for each function it appears in.)
> rrd_open.c:571: warning: assignment makes pointer from integer without a cast
oops thanks for picking this up ... I have reverted r1601 and r1606
@daniel, please resubmit without mremap dependency ...
cheers
tobi
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
More information about the rrd-developers
mailing list