[cairo] problem building cairo 1.10.0 for x86_64 on Mac OS X 10.5 (Leopard)

Kevin Layer layer at franz.com
Mon Nov 1 16:36:19 PDT 2010


I'm trying to build the universal version of gtk2, and in the process
it tries to build cairo and gets the following error.  Is this a known
problem?

I have the latest Xcode for Leopard installed.  3.1.4.  The rest of
the system is up to date, as well.

Thanks.

...
:info:build   CC     cairo-svg-surface.lo
:info:build /bin/sh ../libtool --silent --tag=CC   --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I..  -I. -D_REENTRANT   -I/opt/local/include/pixman-1      -I/opt/local/include   -I/opt/local/include/freetype2 -I/opt/local/include   -I/opt/local/include/libpng12   -I/opt/local/include   -I/opt/local/include     -Wall -Wextra -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Werror-implicit-function-declaration -Wnested-externs -Wpointer-arith -Wwrite-strings -Wsign-compare -Wstrict-prototypes -Wmissing-prototypes -Wpacked -Wswitch-enum -Wbad-function-cast -Wstrict-aliasing=2 -Winit-self -Wno-missing-field-initializers -Wno-unused-parameter -Wno-long-long -Winline -fno-strict-aliasing -fno-common -Wp,-D_FORTIFY_SOURCE=2                 -I/opt/local/include  -pipe -O2 -arch x86_64 -c -o cairo-svg-surface.lo cairo-svg-surface.c
:info:build cairo-pdf-surface.c: In function '_cairo_pdf_surface_write_patterns_and_smask_groups':
:info:build cairo-pdf-surface.c:2137: warning: 'interpolate' may be used uninitialized in this function
:info:build   CCLD   libcairo.la
:info:build Undefined symbols:
:info:build   "___umodti3", referenced from:
:info:build       __cairo_uint128_divrem in cairo-wideint.o
:info:build   "___udivti3", referenced from:
:info:build       __cairo_uint128_divrem in cairo-wideint.o
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
:info:build make[3]: *** [libcairo.la] Error 1
:info:build make[2]: *** [all] Error 2
:info:build make[1]: *** [all-recursive] Error 1
:info:build make: *** [all] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/work/cairo-1.10.0-x86_64" && /usr/bin/make -j4 all " returned error 2
:error:build Target org.macports.build returned: shell command failed
:debug:build Backtrace: shell command failed
    while executing
"$procedure $targetname"
:info:build Warning: the following items did not execute (for cairo): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for cairo is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/main.log
# 




More information about the cairo mailing list