Compile 32 bit gmp-4.2.1 on sun fire x4100
Ning.Bao at statcan.ca
Ning.Bao at statcan.ca
Mon Jan 8 21:25:22 CET 2007
Hi
Thanks Marc's help I was able to compile 64-bit gmp-4.2.1 on sun fire
x4100 soalris10, but I have to back to 32 bit gmp-4.2.1 because our
Clamav is 32 bit which only works with 32-bit gmp-4.2.1. When I tried to
use ABI=32, the make failed. Again, here is the sysinfo. Any comments ?
Thanks!
Server: Sun Fire x4100.
OS: Solaris 10 on x86 (release January 2006)
GMP:gmp-4.2.1
GCC: gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
Output of uname -a
SunOS hostname 5.10 Generic_118844-26 i86pc i386 i86pc
Output of ./config.guess
x86_64-pc-solaris2.10
Output of ./configfsf.guess
i386-pc-solaris2.10
Output the last line of make
make all-recursive
Making all in tests
Making all in .
Making all in devel
Making all in mpn
Making all in mpz
Making all in mpq
Making all in mpf
Making all in rand
Making all in misc
Making all in cxx
Making all in mpbsd
Making all in mpn
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo fib_table | sed 's/_$//'`
-m32 -O2 -fomit-frame-pointer -mtune=k8 -march=k8 -c -o fib_table.lo
fib_table.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..
-DOPERATION_fib_table -m32 -O2 -fomit-frame-pointer -mtune=k8 -march=k8
-c fib_table.c -fPIC -DPIC -o .libs/fib_table.o
In file included from ../gmp-impl.h:104,
from fib_table.c:4:
../fib_table.h:4: error: syntax error before "data"
fib_table.c:7: error: syntax error before "data"
fib_table.c:61: warning: integer constant is too large for "long" type
fib_table.c:62: warning: integer constant is too large for "long" type
fib_table.c:63: warning: integer constant is too large for "long" type
fib_table.c:64: warning: integer constant is too large for "long" type
fib_table.c:65: warning: integer constant is too large for "long" type
fib_table.c:66: warning: integer constant is too large for "long" type
fib_table.c:67: warning: integer constant is too large for "long" type
fib_table.c:68: warning: integer constant is too large for "long" type
fib_table.c:69: warning: integer constant is too large for "long" type
fib_table.c:70: warning: integer constant is too large for "long" type
fib_table.c:71: warning: integer constant is too large for "long" type
fib_table.c:72: warning: integer constant is too large for "long" type
fib_table.c:73: warning: integer constant is too large for "long" type
fib_table.c:74: warning: integer constant is too large for "long" type
fib_table.c:75: warning: integer constant is too large for "long" type
fib_table.c:76: warning: integer constant is too large for "long" type
fib_table.c:77: warning: integer constant is too large for "long" type
fib_table.c:78: warning: integer constant is too large for "long" type
fib_table.c:79: warning: integer constant is too large for "long" type
fib_table.c:80: warning: integer constant is too large for "long" type
fib_table.c:81: warning: integer constant is too large for "long" type
fib_table.c:82: warning: integer constant is too large for "long" type
fib_table.c:83: warning: integer constant is too large for "long" type
fib_table.c:84: warning: integer constant is too large for "long" type
fib_table.c:85: warning: integer constant is too large for "long" type
fib_table.c:86: warning: integer constant is too large for "long" type
fib_table.c:87: warning: integer constant is too large for "long" type
fib_table.c:88: warning: integer constant is too large for "long" type
fib_table.c:89: warning: integer constant is too large for "long" type
fib_table.c:90: warning: integer constant is too large for "long" type
fib_table.c:91: warning: integer constant is too large for "long" type
fib_table.c:92: warning: integer constant is too large for "long" type
fib_table.c:93: warning: integer constant is too large for "long" type
fib_table.c:94: warning: integer constant is too large for "long" type
fib_table.c:95: warning: integer constant is too large for "long" type
fib_table.c:96: warning: integer constant is too large for "long" type
fib_table.c:97: warning: integer constant is too large for "long" type
fib_table.c:98: warning: integer constant is too large for "long" type
fib_table.c:99: warning: integer constant is too large for "long" type
fib_table.c:100: warning: integer constant is too large for "long" type
fib_table.c:101: warning: integer constant is too large for "long" type
fib_table.c:102: warning: integer constant is too large for "long" type
fib_table.c:103: warning: integer constant is too large for "long" type
fib_table.c:104: warning: integer constant is too large for "long" type
fib_table.c:105: warning: integer constant is too large for "long" type
fib_table.c:106: warning: integer constant is too large for "long" type
*** Error code 1
make: Fatal error: Command failed for target `fib_table.lo' Current
working directory /mcc/baoning/gmp-4.2.1/mpn
*** 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 /mcc/baoning/gmp-4.2.1
*** Error code 1
make: Fatal error: Command failed for target `all'
<<DMC File - CGD fichier>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gmplib.org/list-archives/gmp-bugs/attachments/20070108/6fb3bd8b/attachment.html
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: AttribDMC.txt
Url: http://gmplib.org/list-archives/gmp-bugs/attachments/20070108/6fb3bd8b/attachment.txt
More information about the gmp-bugs
mailing list