[cairo] Compiling under Solaris failed with unrefrenced symbol
Reinhard Sy
sterntaler.10 at googlemail.com
Wed Feb 9 09:11:57 PST 2011
Hello,
I am new to the list - I am trying to compile cairo-1.10.2 under
solaris. But I get the following unreferenced symbols errors:
make
make all-recursive
Making all in src
make all-am
Making all in doc
make all-recursive
Making all in public
make all-am
Making all in util
make all-recursive
Making all in .
Making all in cairo-gobject
CCLD libcairo-gobject.la
Undefined first referenced
symbol in file
g_once_init_enter
.libs/libcairo_gobject_la-cairo-gobject-enums.o
g_once_init_leave
.libs/libcairo_gobject_la-cairo-gobject-enums.o
g_intern_static_string
.libs/libcairo_gobject_la-cairo-gobject-enums.o
g_boxed_type_register_static
.libs/libcairo_gobject_la-cairo-gobject-structs.o
g_enum_register_static
.libs/libcairo_gobject_la-cairo-gobject-enums.o
ld: fatal: Symbol referencing errors. No output written to
.libs/libcairo-gobject.so.2.11000.2
*** Error code 1
The following command caused the error:
echo " CCLD " libcairo-gobject.la;/bin/bash ../../libtool --silent
--tag=CC --mode=link cc -D_REENTRANT
-I/opt/gnu/corelib-1.1_32/include/pixman-1 -I/usr/include/fontconfig
-I/opt/gnu/corelib-1.1_32/include/freetype2
-I/opt/gnu/corelib-1.1_32/include/libpng12
-erroff=E_ENUM_TYPE_MISMATCH_ARG -erroff=E_ENUM_TYPE_MISMATCH_OP
-Wp,-D_FORTIFY_SOURCE=2 -I/opt/gnu/corelib-1.1_32/include/glib-2.0
-I/opt/gnu/corelib-1.1_32/lib/glib-2.0/include/
-I/opt/gnu/corelib-1.1_32/include -D_POSIX_PTHREAD_SEMANTICS
-version-info 11002:2:11000 -no-undefined -o libcairo-gobject.la
-rpath /opt/gnu/corelib-1.1_32/lib
libcairo_gobject_la-cairo-gobject-enums.lo
libcairo_gobject_la-cairo-gobject-structs.lo ../../src/libcairo.la
-lpixman-1 -L/usr/lib -lfontconfig -L/opt/gnu/corelib-1.1_32/lib
-lfreetype -L/opt/gnu/corelib-1.1_32/lib -lpng12 -L/usr/sfw/lib
-lXrender -lz -lz -lXrender -lSM -lICE -lX11 -lsocket
-lnsl -L/opt/gnu/corelib-1.1_32/lib -lglib-2.0 -lm
Here some Env-Vars I set:
export PKG_CONFIG_PATH=/opt/gnu/corelib-1.1_32/lib/pkgconfig
export pixman_CFLAGS="-I/opt/gnu/corelib-1.1_32/include/pixman-1"
export pixman_LIBS="-lpixman-1 "
export glib_LIBS="-L/opt/gnu/corelib-1.1_32/lib -lglib-2.0"
export glib_CFLAGS="-I/opt/gnu/corelib-1.1_32/include/glib-2.0
-I/opt/gnu/corelib-1.1_32/lib/glib-2.0/include/"
export GOBJECT_CFLAGS=$glib_CFLAGS
export GOBJECT_LIBS=$glib_LIBS
export xlib_xrender_LIBS="-L/usr/sfw/lib -lXrender"
export FREETYPE_CFLAGS="-I/opt/gnu/corelib-1.1_32/include/freetype2"
export FREETYPE_LIBS="-L/opt/gnu/corelib-1.1_32/lib -lfreetype"
export FONTCONFIG_CFLAGS="-I/usr/include/fontconfig"
export FONTCONFIG_LIBS="-L/usr/lib -lfontconfig"
Did I miss some importend Environment Variable - My LD_LIBRARY_PATH is
set as follows:
LD_LIBRARY_PATH=/usr/lib:/opt/sybase/OCS-12_5/lib:/usr/lib::/opt/odbc/lib:/opt/gnu/corelib-1.1_32/lib/:/opt/sybase/odbc/lib:/opt/oracle/product/client11/lib32:
Yesterday I have compiled and installed libglib-2.0, does the
unreferenced symbols coming from that library ?
My Machine:
$ uname -a
SunOS rn2tqresv014 5.10 Generic_138888-08 sun4u sparc SUNW,Sun-Fire-V890
Thank for any hint
Reinhard
More information about the cairo
mailing list