[cairo] build issue cairo-1.6.4 on solaris-10

malay halder halder.malay at gmail.com
Mon May 26 05:13:44 PDT 2008


 I am trying to build CAIRO-1.6.4 on a solaris-10 machine...but its failing
in the build stage

***********the error mssges

nested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute
-Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations
-Wdeclaration-after-statement -Wold-style-definition
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes
-Wno-long-long -Winline -fno-strict-aliasing
-I/tools/openbin/zlib/1.2.3/sparc-sun-solaris8/include
-I/tools/openbin/libpng/1.2.12/sparc-sun-solaris8/include
-I/tools/openbin/freetype/2.1.10/sparc-sun-solaris8/include
-I/tools/openbin/xrender/0.8.3/sparc-sun-solaris8/include
-I/tools/openbin/fontconfig/2.3.2/sparc-sun-solaris8/include
-I/tools/openbin/expat/2.0.1/sparc-sun-solaris8/include
-I/tools/openbin/pixman/0.10.0/sparc-sun-solaris10/include
-I/tools/openbin/gcc/4.2.2/sparc-sun-solaris10/include
-I/tools/openbin/binutils/2.16.1/sparc-sun-solaris10/include -MT
libcairo_la-cairo-ps-surface.lo -MD -MP -MF
.deps/libcairo_la-cairo-ps-surface.Tpo -c
/users/toolsrd/ws/si_ctoolrd/gtk/production/sources/cairo-1.6.4/src/cairo-ps-surface.c
-fPIC -DPIC -o .libs/libcairo_la-cairo-ps-surface.o
/users/toolsrd/ws/si_ctoolrd/gtk/production/sources/cairo-1.6.4/src/cairo-ps-surface.c:
*In function '_cairo_ps_surface_emit_header':*
/users/toolsrd/ws/si_ctoolrd/gtk/production/sources/cairo-1.6.4/src/cairo-ps-surface.c:110:
*error: too few arguments to function 'ctime_r'
gmake[3]: *** [libcairo_la-cairo-ps-surface.lo] Error 1*
gmake[3]: Leaving directory
`/users/toolsrd/ws/si_ctoolrd/gtk/production/objects/cairo-1.6.4/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/users/toolsrd/ws/si_ctoolrd/gtk/production/objects/cairo-1.6.4'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/users/toolsrd/ws/si_ctoolrd/gtk/production/objects/cairo-1.6.4'
*** Error code 2
dmake: Fatal error: Command failed for target `build-cairo'

************

*my machine info :-*

System = SunOS
Node = csbu061
Release = 5.10
KernelID = Generic_118833-24
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1

**************
*configure and build options:-
*
PKG_CONFIG_PATH="/tools/openbin/gcc/4.2.2/sparc-sun-solaris10/lib/pkgconfig:/tools/openbin/pixman/0.10.0/sparc-sun-solaris10/lib/pkgconfig:/tools/openbin/libpng/1.2.12/sparc-sun-solaris8/lib/pkgconfig:/tools/openbin/freetype/2.1.10/sparc-sun-solaris8/lib/pkgconfig:/tools/openbin/xrender/0.8.3/sparc-sun-solaris8/lib/pkgconfig:/tools/openbin/fontconfig/2.3.2/sparc-sun-solaris8/lib/pkgconfig";
export PKG_CONFIG_PATH; \

PATH=/tools/openbin/gcc/4.2.2/sparc-sun-solaris10/bin:/tools/openbin/binutils/2.16.1/sparc-sun-solaris10/bin:/tools/openbin/pkgconfig/0.15.0/sparc-sun-solaris8/bin:/tools/openbin/freetype/2.1.10/sparc-sun-solaris8/bin:/users/mramacha/work/php/bin:/users/rdlogche/chebin:/tools/rdp:/usr/include:/users/toolsrd/bin:/users/rdlogche/col_solaris:/usr/sbin:/usr/dt/bin:/usr/include:/usr/openwin/bin:/usr/bin:/opt/AnswerBook:/users/ddts/bin:/users/dhs3too/dhs/sco/bin:/usr/ccs/bin:/users/dhs3too/dhs/vrb:/users/dhs3too/dhs/bin:/users/dhs3too/dhs/make:/tools/workshop6.2/bin:/users/dhs3too/dhs/java/java/bin:/users/dhs3too/dhs/xalan/bin;
export PATH && \
        CC=/tools/openbin/gcc/4.2.2/sparc-sun-solaris10/bin/gcc
CXX=/tools/openbin/gcc/4.2.2/sparc-sun-solaris10/bin/g++
MAKE=/tools/openbin/make/3.80/sparc-sun-solaris8/bin/gmake \
        CFLAGS="  -I/tools/openbin/zlib/1.2.3/sparc-sun-solaris8/include
-I/tools/openbin/libpng/1.2.12/sparc-sun-solaris8/include
-I/tools/openbin/freetype/2.1.10/sparc-sun-solaris8/include
-I/tools/openbin/xrender/0.8.3/sparc-sun-solaris8/include
-I/tools/openbin/fontconfig/2.3.2/sparc-sun-solaris8/include
-I/tools/openbin/expat/2.0.1/sparc-sun-solaris8/include
-I/tools/openbin/pixman/0.10.0/sparc-sun-solaris10/include
-I/tools/openbin/gcc/4.2.2/sparc-sun-solaris10/include
-I/tools/openbin/binutils/2.16.1/sparc-sun-solaris10/include" \
        CPPFLAGS="  -I/tools/openbin/zlib/1.2.3/sparc-sun-solaris8/include
-I/tools/openbin/libpng/1.2.12/sparc-sun-solaris8/include
-I/tools/openbin/freetype/2.1.10/sparc-sun-solaris8/include
-I/tools/openbin/xrender/0.8.3/sparc-sun-solaris8/include
-I/tools/openbin/fontconfig/2.3.2/sparc-sun-solaris8/include
-I/tools/openbin/expat/2.0.1/sparc-sun-solaris8/include
-I/tools/openbin/pixman/0.10.0/sparc-sun-solaris10/include
-I/tools/openbin/gcc/4.2.2/sparc-sun-solaris10/include
-I/tools/openbin/binutils/2.16.1/sparc-sun-solaris10/include" \
        LDFLAGS="  -L/tools/openbin/zlib/1.2.3/sparc-sun-solaris8/lib
-L/tools/openbin/libpng/1.2.12/sparc-sun-solaris8/lib
-L/tools/openbin/freetype/2.1.10/sparc-sun-solaris8/lib
-L/tools/openbin/xrender/0.8.3/sparc-sun-solaris8/lib
-L/tools/openbin/fontconfig/2.3.2/sparc-sun-solaris8/lib
-L/tools/openbin/expat/2.0.1/sparc-sun-solaris8/lib
-L/tools/openbin/pixman/0.10.0/sparc-sun-solaris10/lib
-L/tools/openbin/gcc/4.2.2/sparc-sun-solaris10/lib
-L/tools/openbin/binutils/2.16.1/sparc-sun-solaris10/lib
-R/tools/openbin/zlib/1.2.3/sparc-sun-solaris8/lib
-R/tools/openbin/libpng/1.2.12/sparc-sun-solaris8/lib
-R/tools/openbin/freetype/2.1.10/sparc-sun-solaris8/lib
-R/tools/openbin/xrender/0.8.3/sparc-sun-solaris8/lib
-R/tools/openbin/fontconfig/2.3.2/sparc-sun-solaris8/lib
-R/tools/openbin/expat/2.0.1/sparc-sun-solaris8/lib
-R/tools/openbin/pixman/0.10.0/sparc-sun-solaris10/lib
-R/tools/openbin/gcc/4.2.2/sparc-sun-solaris10/lib
-R/tools/openbin/binutils/2.16.1/sparc-sun-solaris10/lib" \

/users/toolsrd/ws/si_ctoolrd/gtk/production/sources/cairo-1.6.4/configure \
                --prefix=/tools/openbin/cairo/1.6.4/sparc-sun-solaris10 \
                --enable-png \
                --enable-ps \
                --enable-pdf \
                --enable-freetype
touch configured-cairo
cd /users/toolsrd/ws/si_ctoolrd/gtk/production/objects/cairo-1.6.4 &&
/tools/openbin/make/3.80/sparc-sun-solaris8/bin/gmake
CC=/tools/openbin/gcc/4.2.2/sparc-sun-solaris10/bin/gcc
CXX=/tools/openbin/gcc/4.2.2/sparc-sun-solaris10/bin/g++ LDFLAGS="
-L/tools/openbin/zlib/1.2.3/sparc-sun-solaris8/lib
-L/tools/openbin/libpng/1.2.12/sparc-sun-solaris8/lib
-L/tools/openbin/freetype/2.1.10/sparc-sun-solaris8/lib
-L/tools/openbin/xrender/0.8.3/sparc-sun-solaris8/lib
-L/tools/openbin/fontconfig/2.3.2/sparc-sun-solaris8/lib
-L/tools/openbin/expat/2.0.1/sparc-sun-solaris8/lib
-L/tools/openbin/pixman/0.10.0/sparc-sun-solaris10/lib
-L/tools/openbin/gcc/4.2.2/sparc-sun-solaris10/lib
-L/tools/openbin/binutils/2.16.1/sparc-sun-solaris10/lib
-R/tools/openbin/zlib/1.2.3/sparc-sun-solaris8/lib
-R/tools/openbin/libpng/1.2.12/sparc-sun-solaris8/lib
-R/tools/openbin/freetype/2.1.10/sparc-sun-solaris8/lib
-R/tools/openbin/xrender/0.8.3/sparc-sun-solaris8/lib
-R/tools/openbin/fontconfig/2.3.2/sparc-sun-solaris8/lib
-R/tools/openbin/expat/2.0.1/sparc-sun-solaris8/lib
-R/tools/openbin/pixman/0.10.0/sparc-sun-solaris10/lib
-R/tools/openbin/gcc/4.2.2/sparc-sun-solaris10/lib
-R/tools/openbin/binutils/2.16.1/sparc-sun-solaris10/lib
-R/tools/openbin/gcc/4.2.2/sparc-sun-solaris10/lib"
****************

*Compiler Gcc -4.2.2 build on the same machine..*
Configured with:
/users/toolsrd/ws/si_ctoolrd/gcc/production/sources/gcc-4.2.2/configure
--prefix=/tools/openbin/gcc/4.2.2/sparc-sun-solaris10/V3 --disable-nls
--enable-shared --enable-threads=posix
--with-ld=/tools/openbin/binutils/2.16.1/sparc-sun-solaris10/bin/ld
--with-gnu-ld
--with-as=/tools/openbin/binutils/2.16.1/sparc-sun-solaris10/bin/as
--with-gnu-as --enable-languages=c,c++
Thread model: posix
gcc version 4.2.2
*****************

##please point out if i am doing any thing wrong...any help will be most
appreciated

regards

Malay halder




-- 
Malay halder
halder.malay at gmail.com
9940029636
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20080526/b2e7edff/attachment.html 


More information about the cairo mailing list