[cairo] Error in compiling cairo 1.14.2

Bryce Harrington bryce at osg.samsung.com
Mon Mar 23 09:10:30 PDT 2015


On Mon, Mar 23, 2015 at 10:37:01AM -0400, Ali Sarlak wrote:
> Hi
> I got the error on ulongf in cairo-script-operators.c file as you see "error: unknown type name 'uLongf'"
> 

Maybe you have some more context for us?  E.g. what platform are you
building on, and what platform are you cross compiling for?

> output of make:
> 
> make[5]: Entering directory `/home/super/Desktop/cairo/cairo-1.14.2/test/pdiff'
> make[5]: Nothing to be done for `all-am'.
> make[5]: Leaving directory `/home/super/Desktop/cairo/cairo-1.14.2/test/pdiff'
> make[4]: Leaving directory `/home/super/Desktop/cairo/cairo-1.14.2/test/pdiff'
> Making all in .
> make[4]: Entering directory `/home/super/Desktop/cairo/cairo-1.14.2/test'
> cd ../util/cairo-script && make  libcairo-script-interpreter.la
> make[5]: Entering directory `/home/super/Desktop/cairo/cairo-1.14.2/util/cairo-script'
>   CC       libcairo_script_interpreter_la-cairo-script-operators.lo
> cairo-script-operators.c: In function 'inflate_string':
> cairo-script-operators.c:1758:5: error: unknown type name 'uLongf'
> cairo-script-operators.c: In function '_image_read_raw':
> cairo-script-operators.c:2976:16: warning: unused variable 'out' [-Wunused-variable]
> make[5]: *** [libcairo_script_interpreter_la-cairo-script-operators.lo] Error 1
> make[5]: Leaving directory `/home/super/Desktop/cairo/cairo-1.14.2/util/cairo-script'
> make[4]: *** [../util/cairo-script/libcairo-script-interpreter.la] Error 2
> make[4]: Leaving directory `/home/super/Desktop/cairo/cairo-1.14.2/test'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/super/Desktop/cairo/cairo-1.14.2/test'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/super/Desktop/cairo/cairo-1.14.2/test'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/super/Desktop/cairo/cairo-1.14.2'
> make: *** [all] Error 2
> 
> and my configure is :
> ./configure --prefix=/home/super/Desktop/cairo/target/opt --host=${CROSS_COMPILE} --enable-egl --enable-glesv2 --enable-ps=no --enable-pdf=no --enable-gobject=no --enable-trace=no --enable-interpreter=no
> 
> could anyone help me 
> thanks
> 
> 

> -- 
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo



More information about the cairo mailing list