Bug 13023 - Compilation problem in AIX 5.2
Summary: Compilation problem in AIX 5.2
Status: RESOLVED WORKSFORME
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.4.10
Hardware: PowerPC AIX
: highest blocker
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-31 05:58 UTC by Raj
Modified: 2007-11-01 02:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Raj 2007-10-31 05:58:54 UTC
When compiling 1.4.10 in AIX (gcc 3.3), I am getting below error

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include/freetype2 -I/usr/local/include -I/opt/freeware/include -I/opt/freeware/include/libpng12 -DXTHREADS -I/opt/freeware/include -I/gestconf/project/GNOME_ACL/GNOME/build/sh_build_GNOME/export/power_510_32/usr/include/X11/extensions/ -Wall -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wno-unused-parameter -fno-strict-aliasing -I/opt/freeware/include -g -O2 -MT cairo-png.lo -MD -MP -MF .deps/cairo-png.Tpo -c cairo-png.c  -DPIC -o .libs/cairo-png.o
cairo-png.c: In function `png_simple_error_callback':
cairo-png.c:95: error: structure has no member named `__jmpbuf'
make[2]: *** [cairo-png.lo] Error 1
make[2]: Leaving directory `/vignette_temp/Wireshark_src/Dependent/temp/cairo-1.4.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/vignette_temp/Wireshark_src/Dependent/temp/cairo-1.4.8'
make: *** [all] Error 2
Comment 1 Raj 2007-11-01 02:11:14 UTC
The fix is to modify any ->jmpbufreferences within cairo-png.c to be ->PNG_jmpbuf

(In reply to comment #0)
> When compiling 1.4.10 in AIX (gcc 3.3), I am getting below error
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src
> -I/usr/local/include/freetype2 -I/usr/local/include -I/opt/freeware/include
> -I/opt/freeware/include/libpng12 -DXTHREADS -I/opt/freeware/include
> -I/gestconf/project/GNOME_ACL/GNOME/build/sh_build_GNOME/export/power_510_32/usr/include/X11/extensions/
> -Wall -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
> -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute
> -Wno-unused-parameter -fno-strict-aliasing -I/opt/freeware/include -g -O2 -MT
> cairo-png.lo -MD -MP -MF .deps/cairo-png.Tpo -c cairo-png.c  -DPIC -o
> .libs/cairo-png.o
> cairo-png.c: In function `png_simple_error_callback':
> cairo-png.c:95: error: structure has no member named `__jmpbuf'
> make[2]: *** [cairo-png.lo] Error 1
> make[2]: Leaving directory
> `/vignette_temp/Wireshark_src/Dependent/temp/cairo-1.4.8/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/vignette_temp/Wireshark_src/Dependent/temp/cairo-1.4.8'
> make: *** [all] Error 2



Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.