Problem in Making GMP 4.3.2
John Dennis
johndennis40 at live.co.uk
Mon Feb 1 10:26:36 CET 2010
On Solaris 10 with SUn Studio 12 , getting following error
ld: fatal: symbol `__gmpz_abs' is multiply-defined:
(file .libs/assert.o type=FUNC; file mpz/.libs/abs.o type=FUNC);
ld: fatal: symbol `__gmpz_fits_uint_p' is multiply-defined:
(file .libs/assert.o type=FUNC; file mpz/.libs/fits_uint.o type=FUNC);
ld: fatal: symbol `__gmpz_fits_ulong_p' is multiply-defined:
(file .libs/assert.o type=FUNC; file mpz/.libs/fits_ulong.o type=FUNC);
ld: fatal: symbol `__gmpz_fits_ushort_p' is multiply-defined:
(file .libs/assert.o type=FUNC; file mpz/.libs/fits_ushort.o type=FUNC);
ld: fatal: symbol `__gmpz_get_ui' is multiply-defined:
(file .libs/assert.o type=FUNC; file mpz/.libs/get_ui.o type=FUNC);
ld: fatal: symbol `__gmpz_getlimbn' is multiply-defined:
(file .libs/assert.o type=FUNC; file mpz/.libs/getlimbn.o type=FUNC);
ld: fatal: symbol `__gmpz_neg' is multiply-defined:
(file .libs/assert.o type=FUNC; file mpz/.libs/neg.o type=FUNC);
ld: fatal: symbol `__gmpz_perfect_square_p' is multiply-defined:
(file .libs/assert.o type=FUNC; file mpz/.libs/perfsqr.o type=FUNC);
ld: fatal: symbol `__gmpz_popcount' is multiply-defined:
(file .libs/assert.o type=FUNC; file mpz/.libs/popcount.o type=FUNC);
ld: fatal: symbol `__gmpz_set_q' is multiply-defined:
(file .libs/assert.o type=FUNC; file mpz/.libs/set_q.o type=FUNC);
ld: fatal: symbol `__gmpz_size' is multiply-defined:
(file .libs/assert.o type=FUNC; file mpz/.libs/size.o type=FUNC);
ld: fatal: symbol `__gmpq_abs' is multiply-defined:
(file .libs/assert.o type=FUNC; file mpq/.libs/abs.o type=FUNC);
ld: fatal: symbol `__gmpq_neg' is multiply-defined:
(file .libs/assert.o type=FUNC; file mpq/.libs/neg.o type=FUNC);
ld: fatal: symbol `__gmpn_add' is multiply-defined:
(file .libs/assert.o type=FUNC; file mpn/.libs/add.o type=FUNC);
ld: fatal: symbol `__gmpn_add_1' is multiply-defined:
(file .libs/assert.o type=FUNC; file mpn/.libs/add_1.o type=FUNC);
ld: fatal: symbol `__gmpn_sub' is multiply-defined:
(file .libs/assert.o type=FUNC; file mpn/.libs/sub.o type=FUNC);
ld: fatal: symbol `__gmpn_sub_1' is multiply-defined:
(file .libs/assert.o type=FUNC; file mpn/.libs/sub_1.o type=FUNC);
ld: fatal: symbol `__gmpn_neg_n' is multiply-defined:
(file .libs/assert.o type=FUNC; file mpn/.libs/neg_n.o type=FUNC);
ld: fatal: symbol `__gmpn_cmp' is multiply-defined:
(file .libs/assert.o type=FUNC; file mpn/.libs/cmp.o type=FUNC);
ld: fatal: File processing errors. No output written to .libs/libgmp.so.3.5.2
*** Error code 1
make: Fatal error: Command failed for target `libgmp.la'
Current working directory /export/home/webadm/gmp-4.3.2
*** Error code 1
The following command caused the error:
set fnord $MAKEFLAGS; amf=$2; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='tests mpn mpz mpq mpf printf scanf cxx mpbsd demos tune doc'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/home/webadm/gmp-4.3.2
*** Error code 1
make: Fatal error: Command failed for target `all'
Can anyone help on this... please
John
_________________________________________________________________
We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now
http://clk.atdmt.com/UKM/go/195013117/direct/01/
More information about the gmp-discuss
mailing list