Bug 7744 - Compile troubles on AIX
Summary: Compile troubles on AIX
Status: RESOLVED DUPLICATE of bug 4475
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.2.0
Hardware: x86 (IA32) AIX
: high normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-03 01:03 UTC by Christoph Bauer
Modified: 2008-10-10 13:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Christoph Bauer 2006-08-03 01:03:08 UTC
Hi,

I had to modify cairo-1.2.0 to have a successfully compilation on AIX.

cairo-png.c

Here I get an error because a system include defines jmpbuf to
__jmpbuf which is also used (as name in struct) in a macro in png.h.

The solution here is simple: include png.h after cairoint.h. Then
the field in the struct-definition is renamed as well.

Furthermore I had to add "-lz -lpthread" to link options.

make check fails then with

"../../test/cairo-test.c", line 1638.18: 1506-275 (S) Unexpected text 
old_segfault_handler encountered.

Compiler:  VisualAge C++ Professional / C for AIX Compiler, Version 6
Comment 1 Behdad Esfahbod 2006-08-17 19:05:25 UTC
Fixed the png and signal problems.  Remains -lpthread.
Comment 2 Chris Wilson 2008-10-10 13:58:23 UTC
Duping, so that I have the pthread configuring/linking issues in one bug.

*** This bug has been marked as a duplicate of bug 4475 ***


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.