Summary: | cairo build problems on HP-UX | ||
---|---|---|---|
Product: | cairo | Reporter: | Christoph Bauer <Christoph.Bauer> |
Component: | general | Assignee: | Carl Worth <cworth> |
Status: | RESOLVED FIXED | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | major | ||
Priority: | high | CC: | bkelly |
Version: | 1.0.2 | ||
Hardware: | PA-RISC (HP) | ||
OS: | HP-UX | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | config.h generated by configure |
Description
Christoph Bauer
2005-11-03 00:51:39 UTC
Created attachment 3688 [details]
config.h generated by configure
The stdint problem occurs on SGI/IRIX too. config.h is like above ok. This error also seems to appear when trying to build netbsd cairo package 1.0.2 on Interix. /usr/include/sys/types.h:159: warning: `uint32_t' previously declared here ../pixman/src/stdint.h:83: warning: redefinition of `int64_t' /usr/include/sys/types.h:167: warning: `int64_t' previously declared here In file included from cairoint.h:180, from cairo.c:38: cairo-wideint.h:60:2: #error Cannot find definitions for fixed-width integral ty pes (uint8_t, uint32_t, etc.) *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/graphics/cairo/work/cairo-1.0.2/src *** Error code 1 diff pixman.h.orig pixman.h 82a83 > #include "config.h" 86c87 < #elif defined (__OpenBSD__) || defined (_AIX) --- > #elif HAVE_INTTYPES_H With the patch above, cairo-1.0.4 build fails with cc -DHAVE_CONFIG_H -I. -I../../src -I.. -I../../src -I../../pixman/src - DXTHREADS -I/T/tools/unix/hp7u11/include -I/opt/libpng/include/libpng12 - I/T/tcl_tk/8.5/add-on-libs/hp7u11/include -I/T/tcl_tk/8.5/add-on- libs/hp7u11/include/freetype2 -Ae +DAportable -c ../../src/cairo.c -Wp,- M.deps/cairo.TPlo +Z -DPIC -o .libs/cairo.o cc: "../../src/cairoint.h", line 254: error 1574: Unknown size for "cairo_clip_mode_t". cc: "../../src/cairo.c", line 299: warning 558: Empty declaration. cc: "../../src/cairo.c", line 325: warning 558: Empty declaration. cc: "../../src/cairo.c", line 971: warning 558: Empty declaration. cc: "../../src/cairo.c", line 998: warning 558: Empty declaration. cc: "../../src/cairo.c", line 1264: warning 558: Empty declaration. cc: "../../src/cairo.c", line 1394: warning 558: Empty declaration. cc: "../../src/cairo.c", line 1561: warning 558: Empty declaration. cc: "../../src/cairo.c", line 1602: warning 558: Empty declaration. cc: "../../src/cairo.c", line 1752: warning 558: Empty declaration. cc: "../../src/cairo.c", line 2297: warning 558: Empty declaration. Very strange, the code looks good. Any ideas? it compiles, if cairo_clip_mode_t is defined as int in cairoint.h: typedef int cairo_clip_mode_t; The original problem was resolved by the defensive manner in which stdint types are now defined in the absence of stdint.h. The second problem is a very bizzarre issue that I'm writing off as a compiler bug... Please can you try compiling the current stable version (1.8.0) on your platform - I don't believe we have anybody who regularly reports build/test issues from HP-UX so I fear our support becoming stale. Thanks. |
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.