[rrd-developers] Problem building rrdtool 1.2.26

Tobias Oetiker tobi at oetiker.ch
Fri Feb 8 00:37:32 CET 2008


Hi Paul,

please try the 1.2 snapshot from the beta download ...

let me know if this helps


cheers
tobi
Yesterday PAUL WILLIAMSON wrote:

> Hopefully this is the right place to ask this.
>
> I am building rrdtool on a Redhat server with
> kernel 2.4.18-14.  I have met all the prerequisites,
> ran ./configure for rrdtool (completed without
> errors) and when I try a make, I get this:
>
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -DRRD_DEFAULT_FONT=\"/usr/local/rrdtool-1.2.26/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf\" -DNUMVERS=1.2026 -I/usr/include/libart-2.0 -I/usr/local/include/libart-2.0 -I/usr/include/freetype2 -I/usr/local/include/freetype2 -g -O2 -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W -fPIC -DPIC -MT rrd_update.lo -MD -MP -MF .deps/rrd_update.Tpo -c rrd_update.c  -fPIC -DPIC -o .libs/rrd_update.o
> rrd_update.c: In function `_rrd_update':
> rrd_update.c:433: `POSIX_MADV_RANDOM' undeclared (first use in this function)
> rrd_update.c:433: (Each undeclared identifier is reported only once
> rrd_update.c:433: for each function it appears in.)
> make[2]: *** [rrd_update.lo] Error 1
> make[2]: Leaving directory `/tmp/rrdbuild/rrdtool-1.2.26/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/rrdbuild/rrdtool-1.2.26'
> make: *** [all] Error 2
>
> I saw a problem related to POSIX_MADV_RANDOM and Solaris
> that had been closed by Tobi.  This isn't Solaris, so I'm
> hoping there's some other easy solution to this problem.
>
> Thanks,
> Paul
>
> ************************************
> This email may contain privileged and/or confidential information that is intended solely for the use of the addressee.  If you are not the intended recipient or entity, you are strictly prohibited from disclosing, copying, distributing or using any of the information contained in the transmission.  If you received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy.  This communication may contain nonpublic personal information about consumers subject to the restrictions of the Gramm-Leach-Bliley Act and the Sarbanes-Oxley Act.  You may not directly or indirectly reuse or disclose such information for any purpose other than to provide the services for which you are receiving the information.
> There are risks associated with the use of electronic transmission.  The sender of this information does not control the method of transmittal or service providers and assumes no duty or obligation for the security, receipt, or third party interception of this transmission.
> ************************************
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902



More information about the rrd-developers mailing list