Ticket #119 (closed defect: fixed)
RRD 1.2.23 / AIX 5.3 / GCC 4.0
| Reported by: | human | Owned by: | oetiker |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | misc | Version: | 1.2.23 |
| Keywords: | compile aix | Cc: |
Description
Hi,
I'm getting this error below during the "make". I've research pngsize.c and looked at line 23. Changes are included which was previously reported as addressing this problem.
Please let me know if you need additinoal info.
Thanks - Scott
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DRRD_DEFAULT_FONT=\"/usr/local/rrdtool-1.2.23/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf\" -DNUMVERS=1.2023 -D_THREAD_SAFE -I/usr/include/libart-2.0 -I/usr/include/freetype2 -g -O2 -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W -DPIC -MT pngsize.lo -MD -MP -MF .deps/pngsize.Tpo -c pngsize.c -DPIC -o .libs/pngsize.o pngsize.c: In function 'PngSize?': pngsize.c:33: error: 'struct png_struct_def' has no member named 'jmpbuf' make: 1254-004 The error code from the last command is 1.
Stop. make: 1254-004 The error code from the last command is 1.
Stop. make: 1254-004 The error code from the last command is 2.
Stop.
Change History
comment:2 Changed 4 years ago by human
- Status changed from closed to reopened
- Resolution fixed deleted
After this suggestion, it still has issues. I'll keep checking this ticket for addtional suggestions
Thanks in advance - Scott
# make
make all-recursive
Making all in src
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DRRD_DEFAULT_FONT=\"/usr/local/rrdtool-1.2.23/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf\" -DNUMVERS=1.2023 -D_THREAD_SAFE -I/usr/include/libart-2.0 -I/usr/include/freetype2 -g -O2 -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W -DPIC -MT pngsize.lo -MD -MP -MF ".deps/pngsize.Tpo" -c -o pngsize.lo pngsize.c; then mv -f ".deps/pngsize.Tpo" ".deps/pngsize.Plo"; else rm -f ".deps/pngsize.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DRRD_DEFAULT_FONT=\"/usr/local/rrdtool-1.2.23/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf\" -DNUMVERS=1.2023 -D_THREAD_SAFE -I/usr/include/libart-2.0 -I/usr/include/freetype2 -g -O2 -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W -DPIC -MT pngsize.lo -MD -MP -MF .deps/pngsize.Tpo -c pngsize.c -DPIC -o .libs/pngsize.o
pngsize.c: In function 'PngSize?': pngsize.c:29: error: 'struct png_struct_def' has no member named 'jmpbuf' make: 1254-004 The error code from the last command is 1.
Stop. make: 1254-004 The error code from the last command is 1.
Stop. make: 1254-004 The error code from the last command is 2.
Stop.
comment:3 Changed 4 years ago by human
Hi Scott See http://oss.oetiker.ch/rrdtool-trac/ticket/122 for a solution. According to Tobi the fix will be in v1.2.25
hth Hajo



Hi Reporter,
I have notes here that aix redefines the word jmpbuf ... within pngsize.c we try to counter that, but it may be that things work better if we don't depending on whether the redefinition is active for the png header file or not ... try removing
from pngsize.c
cheers tobi