[rrd-users] Re: RRDtool 1.2.0 Compile problem

Tobias Oetiker oetiker at ee.ethz.ch
Wed Apr 27 23:08:11 MEST 2005


Hi Morris,

try adding the following defines to line 24 of pngsize ...

#ifdef jmpbuf
#undef jmpbuf
#endif

  if (setjmp(png_read_ptr->jmpbuf)){

my guess
is that somehow in one of your system headers there is a
#define jmpbuf __jmpbuf

if you run

  grep  __jmpbuf /usr/include/*

you might find something

cheers
tobi


Today Morris, Chris (Shared Services) wrote:

> Hi,
>
> I am trying to compile RRDtool v 1.2.0 on an AIX 5.1 system.
>
> I have installed the requiste packages but when I run the gmake command I
> get the following error : -
>
>  gcc -DHAVE_CONFIG_H "-DMAKE_TIMESTAMP=\"Wed 27 Apr 15:44:22 2005\"" -I. -I.
> -I..
> -DRRD_DEFAULT_FONT=\"/usr/local/rrdtool-1.2.0/share/rrdtool/fonts/VeraMono.t
> tf\" -I/usr/include/freetype2 -I/usr/include/libart-2.0 -I/usr/local/include
> -I/usr/local/include/freetype2 -I/usr/local/include/libart-2.0
> -I/usr/local/cgilib-0.5 -D_THREAD_SAFE -g -O2 -DPIC -Wall -pedantic -Wshadow
> -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
> -Wnested-externs -Winline -W -c pngsize.c -Wp,-MD,.deps/pngsize.TPlo  -DPIC
> -o .libs/pngsize.o
> pngsize.c: In function `PngSize':
> pngsize.c:25: structure has no member named `__jmpbuf'
> gmake[2]: *** [pngsize.lo] Error 1
> gmake[2]: Leaving directory `/usr/local/rrdtool-1.2.0/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/local/rrdtool-1.2.0'
> gmake: *** [all] Error 2
>
> Can anyone help?
>
> Chris
>
>
>
>
>
> ****************************************************************************
> The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited.
>
> If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither RWE npower nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
> *****************************************************************************
>
> --
> Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
> Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
> Archive     http://lists.ee.ethz.ch/rrd-users
> WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi
>

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker @ ISG.EE, ETL F24.2, ETH, CH-8092 Zurich
 / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/oetiker +41(0)44-632-5286

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list