<font color='midnightblue' size='4' face='Georgia, Times New Roman, Times, Serif'>Hi<font size="4">,<br>
Thanks for your answer,but first of all why introducing zlib to cairo configure is specific I mean that I use *.pc file for all of require library such as openglesv2, freetype, fontconfig and etc but for zlib I try to use package config but cairo can't configure it say that need zlib any way with this configuration I configured the cairo (could you please say me what is different between zlib with others?):<br>
<br>
./configure --prefix=/home/super/Desktop/cairo/target/opt --host=${CROSS_COMPILE} --enable-egl --enable-glesv2 CFLAGS="-I/home/super/Desktop/cairo/target/usr/include/" LIBS="-L/home/super/Desktop/cairo/target/usr/lib/ -lz"<br>
<br>
but with make I got these errors :<br>
<br>
make[4]: Entering directory `/home/super/Desktop/cairo/cairo-1.14.2/test'<br>
CC cairo_test_suite-cairo-test-constructors.o<br>
CCLD cairo-test-suite<br>
/home/super/Desktop/cubie/toolchain/gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: warning: libexpat.so.1, needed by /home/super/Desktop/cairo/target/usr/lib//libfontconfig.so, not found (try using -rpath or -rpath-link)<br>
/home/super/Desktop/cubie/toolchain/gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: warning: libUMP.so.3, needed by /home/super/Desktop/cairo/target/usr/lib//libEGL.so, not found (try using -rpath or -rpath-link)<br>
/home/super/Desktop/cairo/target/usr/lib//libEGL.so: undefined reference to `ump_close'<br>
/home/super/Desktop/cairo/target/usr/lib//libfontconfig.so: undefined reference to `XML_ParserCreate'<br>
/home/super/Desktop/cairo/target/usr/lib//libEGL.so: undefined reference to `ump_mapped_pointer_get'<br>
/home/super/Desktop/cairo/target/usr/lib//libfontconfig.so: undefined reference to `XML_GetErrorCode'<br>
/home/super/Desktop/cairo/target/usr/lib//libfontconfig.so: undefined reference to `XML_SetUserData'<br>
/home/super/Desktop/cairo/target/usr/lib//libEGL.so: undefined reference to `ump_secure_id_get'<br>
/home/super/Desktop/cairo/target/usr/lib//libfontconfig.so: undefined reference to `XML_SetDoctypeDeclHandler'<br>
/home/super/Desktop/cairo/target/usr/lib//libfontconfig.so: undefined reference to `XML_ParseBuffer'<br>
/home/super/Desktop/cairo/target/usr/lib//libEGL.so: undefined reference to `ump_mapped_pointer_release'<br>
/home/super/Desktop/cairo/target/usr/lib//libfontconfig.so: undefined reference to `XML_GetCurrentLineNumber'<br>
/home/super/Desktop/cairo/target/usr/lib//libEGL.so: undefined reference to `ump_reference_add'<br>
/home/super/Desktop/cairo/target/usr/lib//libEGL.so: undefined reference to `ump_size_get'<br>
/home/super/Desktop/cairo/target/usr/lib//libfontconfig.so: undefined reference to `XML_ErrorString'<br>
/home/super/Desktop/cairo/target/usr/lib//libEGL.so: undefined reference to `ump_reference_release'<br>
/home/super/Desktop/cairo/target/usr/lib//libfontconfig.so: undefined reference to `XML_ParserFree'<br>
/home/super/Desktop/cairo/target/usr/lib//libEGL.so: undefined reference to `ump_open'<br>
/home/super/Desktop/cairo/target/usr/lib//libfontconfig.so: undefined reference to `XML_SetElementHandler'<br>
/home/super/Desktop/cairo/target/usr/lib//libfontconfig.so: undefined reference to `XML_GetBuffer'<br>
/home/super/Desktop/cairo/target/usr/lib//libfontconfig.so: undefined reference to `XML_SetCharacterDataHandler'<br>
collect2: error: ld returned 1 exit status<br>
make[4]: *** [cairo-test-suite] Error 1<br>
make[4]: Leaving directory `/home/super/Desktop/cairo/cairo-1.14.2/test'<br>
make[3]: *** [all-recursive] Error 1<br>
make[3]: Leaving directory `/home/super/Desktop/cairo/cairo-1.14.2/test'<br>
make[2]: *** [all] Error 2<br>
make[2]: Leaving directory `/home/super/Desktop/cairo/cairo-1.14.2/test'<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory `/home/super/Desktop/cairo/cairo-1.14.2'<br>
make: *** [all] Error 2<br>
<br>
Could you please say me what's wrong I did?<br>
<br>
Thanks in advance and best regards:<br>
Ali Sarlak<br>
</font>
<div> <br>
</div>
<div> <br>
</div>
<div> <br>
</div>
<div style="font-family:arial,helvetica;font-size:10pt;color:black">-----Original Message-----<br>
From: RAVI NANJUNDAPPA <nravi.n@samsung.com><br>
To: Ali Sarlak <ali.sarlak@aol.com>; cairo <cairo@cairographics.org><br>
Sent: Tue, Mar 24, 2015 4:44 am<br>
Subject: Re: [cairo] Error in compiling cairo 1.14.2<br>
<br>
<div id="AOLMsgPart_1_fd54bd75-aeb6-4786-b3f5-65a236173fde" style="margin: 0px;font-family: Tahoma, Verdana, Arial, Sans-Serif;font-size: 12px;color: #000;background-color: #fff;">
<pre style="font-size: 9pt;"><tt>Hi,
(re-sending the mail in plain-text format. Bad my mail settings.)
Please
check if you have the zlib.h file in your cross compilation environment.
I
guess that's the cause for the build error.
Thanks and Best Regards,
N
Ravi
------- Original Message -------
Sender : Ali
Sarlak<<a href="mailto:ali.sarlak@aol.com">ali.sarlak@aol.com</a>>
Date : Mar 24, 2015 12:38 (GMT+05:00)
Title :
[cairo] Error in compiling cairo 1.14.2
Hi
I got the error on ulongf in
cairo-script-operators.c file as you see "error: unknown type name
'uLongf'"
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
and also I use Ubuntu 14.04 LTS as a development
machine and I cross compiling for an ARM-CortexA8 (CubieBoard A10)
and also my
compiler prefix is : arm-linux-gnueabihf (Linaro Toolchain 4.7)
can anyone
help me pls.</tt></pre>
</div>
<!-- end of AOLMsgPart_1_fd54bd75-aeb6-4786-b3f5-65a236173fde -->
</div>
</font>