Hi Riccardo,

Am 21.06.2015 um 00:34 schrieb Riccardo Mottola <[email protected]>:
> in my effort to update cairo, on solaris 10 I get the following problem:
> 
> source='any2ppm.c' object='any2ppm-any2ppm.o' libtool=no \
> DEPDIR=.deps depmode=none /bin/bash ../build/depcomp \
> /opt/solarisstudio12.3/bin/cc -DHAVE_CONFIG_H -I. -I..  -I. -I./pdiff 
> -I../boilerplate -I../util/cairo-missing -I../util/cairo-script -I../src 
> -I../src -D_REENTRANT -I/opt/csw/include/pixman-1       -I/opt/csw/include 
> -I/opt/csw/include/freetype2   -I/opt/csw/include/freetype2 
> -I/opt/csw/include    -I/opt/csw/include/libpng16   -D_REENTRANT 
> -D_POSIX_PTHREAD_SEMANTICS -DXTHREADS -DXUSE_MTSAFE_API -I/opt/csw/include   
> -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DXTHREADS -DXUSE_MTSAFE_API 
> -I/opt/csw/include -erroff=E_ENUM_TYPE_MISMATCH_ARG 
> -erroff=E_ENUM_TYPE_MISMATCH_OP -Wp,-D_FORTIFY_SOURCE=2                     
> -I/opt/csw/include -D_REENTRANT -D_PTHREADS -D_POSIX_PTHREAD_SEMANTICS 
> -DXTHREADS -DXUSE_MTSAFE_API -I/opt/csw/include/poppler/glib 
> -I/opt/csw/include/poppler -I/opt/csw/include/glib-2.0 
> -I/opt/csw/lib/glib-2.0/include -I/opt/csw/include/cairo -I/opt/csw/include 
> -I/opt/csw/include/pixman-1 -I/opt/csw/include/freetype2 
> -I/opt/csw/include/libpng16 -I/opt/csw/include   -xO3 -m32 -xarch=sparc 
> -xc99=all -D_POSIX_PTHREAD_SEMANTICS -c -o any2ppm-any2ppm.o `test -f 
> 'any2ppm.c' || echo './'`any2ppm.c
> "/opt/csw/include/glib-2.0/gobject/gparam.h", line 157: warning: integer 
> overflow detected: op "<<"
> "/opt/csw/include/poppler/glib/poppler-structure-element.h", line 253: 
> warning: typedef redeclared: PopplerTextSpan
> "any2ppm.c", line 72: cannot find include file: <librsvg/rsvg.h>
> "any2ppm.c", line 74: cannot find include file: <librsvg/rsvg-cairo.h>
> "any2ppm.c", line 423: undefined symbol: RsvgHandle
> "any2ppm.c", line 423: undefined symbol: handle
> "any2ppm.c", line 424: undefined symbol: RsvgDimensionData
> <...>
> 
> the referenced headers do exist:
> rmottola@unstable10s [unstable10s]:/opt/csw/include > find . -name rsvg.h
> ./librsvg-2.0/librsvg/rsvg.h
> 
> Any clues? SVG seems to get detected during configure.

Probably the pkgconfig is wrong. The include says
  #include <librsvg/rsvg.h>
where these are located in
  /opt/csw/include/librsvg-2.0
which is not added with -I, hence it is not found. I guess you must track down 
where it is
included and what is happening there.


Best regards

  — Dago

-- 
"You don't become great by trying to be great, you become great by wanting to 
do something,
and then doing it so hard that you become great in the process." - xkcd #896

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to