[parsec-users] glib compilation error

Mahin Mahmoodi mahmoodi at psc.edu
Wed Mar 26 23:22:39 EDT 2008


Hi,

Icc compiler generates the following undefined references.  Any idea where
the following symbols are defined?

Thanks,
Mahin

.................
/parsec-1.0/./pkgs/libs/glib/src/gobject/glib-genmarshal.c(856): remark
#181: argument is incompatible with corresponding format string conversion
        g_fprintf (bout, "%u.%u.%u", GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION,
GLIB_MICRO_VERSION);

/bin/sh ../libtool --mode=link /opt/intel/cc/10.1.008/bin/icc
-gcc-name=/usr/bin/gcc -I/usr/include/c++/4.1.2 -O3 -funroll-loops -prefetch
-DPARSEC_VERSION=1.0 -Wall  -L/opt/intel/cc/10.1.008/lib64
-L/opt/intel/cc/10.1.008/lib -o glib-genmarshal  glib-genmarshal.o
../glib/libglib-2.0.la
mkdir .libs
/opt/intel/cc/10.1.008/bin/icc -gcc-name=/usr/bin/gcc
-I/usr/include/c++/4.1.2 -O3 -funroll-loops -prefetch -DPARSEC_VERSION=1.0
-Wall -o glib-genmarshal glib-genmarshal.o  -L/opt/intel/cc/10.1.008/lib64
-L/opt/intel/cc/10.1.008/lib ../glib/.libs/libglib-2.0.a
../glib/.libs/libglib-2.0.a(gatomic.o): In function
`g_atomic_pointer_compare_and_exchange':
/usr/users/1/mahmoodi/parsec-1.0/./pkgs/libs/glib/src/glib/gatomic.c:(.text+
0x122): undefined reference to `__sync_bool_compare_and_swap'
../glib/.libs/libglib-2.0.a(gatomic.o): In function
`g_atomic_int_compare_and_exchange':
/usr/users/1/mahmoodi/parsec-1.0/./pkgs/libs/glib/src/glib/gatomic.c:(.text+
0x1a2): undefined reference to `__sync_bool_compare_and_swap'
../glib/.libs/libglib-2.0.a(gatomic.o): In function `g_atomic_int_add':
/usr/users/1/mahmoodi/parsec-1.0/./pkgs/libs/glib/src/glib/gatomic.c:(.text+
0x222): undefined reference to `__sync_fetch_and_add'
../glib/.libs/libglib-2.0.a(gatomic.o): In function
`g_atomic_int_exchange_and_add':
/usr/users/1/mahmoodi/parsec-1.0/./pkgs/libs/glib/src/glib/gatomic.c:(.text+
0x2a2): undefined reference to `__sync_fetch_and_add'
make[2]: *** [glib-genmarshal] Error 1
make[2]: Leaving directory
`/parsec-1.0/pkgs/libs/glib/obj/ia64-linux.icc/gobject'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/parsec-1.0/pkgs/libs/glib/obj/ia64-linux.icc'
make: *** [all] Error 2
[PARSEC] Error: 'env make' failed.



More information about the parsec-users mailing list