[cairo] Error in compiling cairo 1.14.2

Ali Sarlak ali.sarlak at aol.com
Wed Mar 25 03:47:29 PDT 2015


Hello,

First of all I wanna know why introducing zlib to cairo configuration 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 says that need zlib.
Any way with this configuration I configured  the cairo (could you please say me what is different between zlib with others?):
 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

make got these errors :

 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
 make[4]: Entering directory `/home/super/Desktop/cairo/cairo-1.14.2/test'
   CC       cairo_test_suite-cairo-test-constructors.o
   CCLD     cairo-test-suite
 /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)
 /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)
 /home/super/Desktop/cairo/target/usr/lib//libEGL.so: undefined reference to `ump_close'
 /home/super/Desktop/cairo/target/usr/lib//libfontconfig.so: undefined reference to `XML_ParserCreate'
 /home/super/Desktop/cairo/target/usr/lib//libEGL.so: undefined reference to `ump_mapped_pointer_get'
 /home/super/Desktop/cairo/target/usr/lib//libfontconfig.so: undefined reference to `XML_GetErrorCode'
 /home/super/Desktop/cairo/target/usr/lib//libfontconfig.so: undefined reference to `XML_SetUserData'
 /home/super/Desktop/cairo/target/usr/lib//libEGL.so: undefined reference to `ump_secure_id_get'
 /home/super/Desktop/cairo/target/usr/lib//libfontconfig.so: undefined reference to `XML_SetDoctypeDeclHandler'
 /home/super/Desktop/cairo/target/usr/lib//libfontconfig.so: undefined reference to `XML_ParseBuffer'
 /home/super/Desktop/cairo/target/usr/lib//libEGL.so: undefined reference to `ump_mapped_pointer_release'
 /home/super/Desktop/cairo/target/usr/lib//libfontconfig.so: undefined reference to `XML_GetCurrentLineNumber'
 /home/super/Desktop/cairo/target/usr/lib//libEGL.so: undefined reference to `ump_reference_add'
 /home/super/Desktop/cairo/target/usr/lib//libEGL.so: undefined reference to `ump_size_get'
 /home/super/Desktop/cairo/target/usr/lib//libfontconfig.so: undefined reference to `XML_ErrorString'
 /home/super/Desktop/cairo/target/usr/lib//libEGL.so: undefined reference to `ump_reference_release'
 /home/super/Desktop/cairo/target/usr/lib//libfontconfig.so: undefined reference to `XML_ParserFree'
 /home/super/Desktop/cairo/target/usr/lib//libEGL.so: undefined reference to `ump_open'
 /home/super/Desktop/cairo/target/usr/lib//libfontconfig.so: undefined reference to `XML_SetElementHandler'
 /home/super/Desktop/cairo/target/usr/lib//libfontconfig.so: undefined reference to `XML_GetBuffer'
 /home/super/Desktop/cairo/target/usr/lib//libfontconfig.so: undefined reference to `XML_SetCharacterDataHandler'
 collect2: error: ld returned 1 exit status
 make[4]: *** [cairo-test-suite] Error 1
 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 My development machine :Ubuntu 14.04 LTS 64bit
CROSS_COMPILE:arm-linux-gnueabihf
TARGET:ARM-CortexA8
COMPILER:LINARO 4.7

Cairo version:1.14.2

 Could you please say me what's wrong I did?
 
Best regards:
 Ali Sarlak
    
    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20150325/d0192bce/attachment.html>


More information about the cairo mailing list