Bug 13189 - Problem compiling cairo 1.5.2
Summary: Problem compiling cairo 1.5.2
Status: RESOLVED INVALID
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.5.2
Hardware: Other All
: medium normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-11 16:46 UTC by Pierre
Modified: 2008-10-10 04:56 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Pierre 2007-11-11 16:46:52 UTC
# make
make  all-recursive
make[1]: Entering directory `/tmp/cairo-1.5.2'
Making all in src
make[2]: Entering directory `/tmp/cairo-1.5.2/src'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -I. -I/usr/local/include/freetype2 -I/usr/local/include   -I/usr/local/include   -D_REENTRANT -I/usr/local/include/directfb   -I/usr/local/include   -I/usr/local/include/libpng12   -I/usr/local/include   -I/usr/local/include   -I/usr/local/include   -I/usr/local/include/pixman-1     -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-long-long -Winline -fno-strict-aliasing -s -O3 -march=i686 -MT libcairo_la-cairo-directfb-surface.lo -MD -MP -MF ".deps/libcairo_la-cairo-directfb-surface.Tpo" -c -o libcairo_la-cairo-directfb-surface.lo `test -f 'cairo-directfb-surface.c' || echo './'`cairo-directfb-surface.c; \
then mv -f ".deps/libcairo_la-cairo-directfb-surface.Tpo" ".deps/libcairo_la-cairo-directfb-surface.Plo"; else rm -f ".deps/libcairo_la-cairo-directfb-surface.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include -D_REENTRANT -I/usr/local/include/directfb -I/usr/local/include -I/usr/local/include/libpng12 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/pixman-1 -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-long-long -Winline -fno-strict-aliasing -s -O3 -march=i686 -MT libcairo_la-cairo-directfb-surface.lo -MD -MP -MF .deps/libcairo_la-cairo-directfb-surface.Tpo -c cairo-directfb-surface.c  -fPIC -DPIC -o .libs/libcairo_la-cairo-directfb-surface.o
cairo-directfb-surface.c:44:26: direct/types.h: No such file or directory
cairo-directfb-surface.c:45:26: direct/debug.h: No such file or directory
cairo-directfb-surface.c:46:27: direct/memcpy.h: No such file or directory
cairo-directfb-surface.c:47:25: direct/util.h: No such file or directory
cairo-directfb-surface.c:71: error: parse error before string constant
cairo-directfb-surface.c:76: warning: return type defaults to `int'
cairo-directfb-surface.c:76: warning: function declaration isn't a prototype
cairo-directfb-surface.c: In function `D_DEBUG_DOMAIN':
cairo-directfb-surface.c:90: warning: structure defined inside parms
cairo-directfb-surface.c:90: error: storage class specified for parameter `cairo_directfb_surface_t'
cairo-directfb-surface.c:104: warning: structure defined inside parms
cairo-directfb-surface.c:104: error: storage class specified for parameter `cairo_directfb_font_cache_t'
cairo-directfb-surface.c:107: error: storage class specified for parameter `cairo_directfb_surface_backend'
cairo-directfb-surface.c:158: error: storage class specified for parameter `_directfb_format_to_content'
cairo-directfb-surface.c:158: error: parse error before '{' token
cairo-directfb-surface.c:158: warning: old-style parameter declaration
cairo-directfb-surface.c:90: error: declaration for parameter "cairo_directfb_surface_t" but no such parameter
cairo-directfb-surface.c:104: error: declaration for parameter "cairo_directfb_font_cache_t" but no such parameter
cairo-directfb-surface.c:107: error: declaration for parameter "cairo_directfb_surface_backend" but no such parameter
cairo-directfb-surface.c:158: error: declaration for parameter "_directfb_format_to_content" but no such parameter
[...]
Comment 1 Chris Wilson 2008-10-10 04:56:23 UTC
This looks like a build environment issue as -I/usr/local/directfb looks sane, but doesn't contain the DirectFB headers...


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.