<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6603.0">
<TITLE>Compile 32 bit gmp-4.2.1 on sun fire x4100</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>
<P><FONT SIZE=2 FACE="Arial">Hi </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Thanks Marc's help I was able to compile<B> </B></FONT><B><FONT COLOR="#FF0000" SIZE=2 FACE="Arial">64-bit</FONT></B> <FONT SIZE=2 FACE="Arial">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</FONT><B> <FONT COLOR="#FF0000" SIZE=2 FACE="Arial">ABI=32</FONT></B><FONT SIZE=2 FACE="Arial">, the make failed. Again, here is the sysinfo. Any comments ? Thanks!</FONT></P>
<P><B><FONT SIZE=2 FACE="Arial">Server</FONT></B><FONT SIZE=2 FACE="Arial">: Sun Fire x4100.</FONT>
</P>
<P><B><FONT SIZE=2 FACE="Arial">OS</FONT></B><FONT SIZE=2 FACE="Arial">: Solaris 10 on x86 (release January 2006)</FONT>
</P>
<P><B><FONT SIZE=2 FACE="Arial">GMP</FONT></B><FONT SIZE=2 FACE="Arial">:gmp-4.2.1</FONT>
</P>
<P><B><FONT SIZE=2 FACE="Arial">GCC</FONT></B><FONT SIZE=2 FACE="Arial">: gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)</FONT>
</P>
<P><B><FONT SIZE=2 FACE="Arial">Output of uname –a</FONT></B>
<BR><FONT SIZE=2 FACE="Arial"> SunOS hostname 5.10 Generic_118844-26 i86pc i386 i86pc</FONT>
</P>
<P><B><FONT SIZE=2 FACE="Arial">Output of ./config.guess</FONT></B>
<BR><FONT SIZE=2 FACE="Arial"> x86_64-pc-solaris2.10</FONT>
</P>
<P><B><FONT SIZE=2 FACE="Arial">Output of ./configfsf.guess</FONT></B>
<BR><FONT SIZE=2 FACE="Arial"> i386-pc-solaris2.10 </FONT>
<BR><B><FONT SIZE=2 FACE="Arial">Output the last line of make</FONT></B>
</P>
<P><FONT SIZE=2 FACE="Arial"></FONT> <FONT SIZE=2 FACE="Courier New">make all-recursive</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Making all in tests</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Making all in .</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Making all in devel</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Making all in mpn</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Making all in mpz</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Making all in mpq</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Making all in mpf</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Making all in rand</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Making all in misc</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Making all in cxx</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Making all in mpbsd</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Making all in mpn</FONT>
<BR><FONT SIZE=2 FACE="Courier New">/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. </FONT>
<BR><FONT SIZE=2 FACE="Courier New">-D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo fib_table | sed 's/_$//'` </FONT>
<BR><FONT SIZE=2 FACE="Courier New"> -m32 -O2 -fomit-frame-pointer -mtune=k8 -march=k8 -c -o fib_table.lo </FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c</FONT>
<BR><FONT SIZE=2 FACE="Courier New">gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. </FONT>
<BR><FONT SIZE=2 FACE="Courier New">-DOPERATION_fib_table -m32 -O2 -fomit-frame-pointer -mtune=k8 -march=k8 </FONT>
<BR><FONT SIZE=2 FACE="Courier New">-c fib_table.c -fPIC -DPIC -o .libs/fib_table.o</FONT>
<BR><FONT SIZE=2 FACE="Courier New">In file included from ../gmp-impl.h:104,</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> from fib_table.c:4:</FONT>
<BR><FONT SIZE=2 FACE="Courier New">../fib_table.h:4: error: syntax error before "data"</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:7: error: syntax error before "data"</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:61: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:62: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:63: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:64: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:65: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:66: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:67: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:68: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:69: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:70: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:71: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:72: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:73: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:74: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:75: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:76: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:77: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:78: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:79: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:80: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:81: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:82: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:83: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:84: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:85: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:86: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:87: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:88: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:89: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:90: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:91: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:92: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:93: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:94: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:95: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:96: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:97: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:98: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:99: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:100: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:101: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:102: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:103: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:104: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:105: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fib_table.c:106: warning: integer constant is too large for "long" type</FONT>
<BR><FONT SIZE=2 FACE="Courier New">*** Error code 1</FONT>
<BR><FONT SIZE=2 FACE="Courier New">make: Fatal error: Command failed for target `fib_table.lo' Current working directory /mcc/baoning/gmp-4.2.1/mpn</FONT>
<BR><FONT SIZE=2 FACE="Courier New">*** Error code 1</FONT>
<BR><FONT SIZE=2 FACE="Courier New">The following command caused the error:</FONT>
<BR><FONT SIZE=2 FACE="Courier New">set fnord $MAKEFLAGS; amf=$2; \</FONT>
<BR><FONT SIZE=2 FACE="Courier New">dot_seen=no; \</FONT>
<BR><FONT SIZE=2 FACE="Courier New">target=`echo all-recursive | sed s/-recursive//`; \</FONT>
<BR><FONT SIZE=2 FACE="Courier New">list='tests mpn mpz mpq mpf printf scanf cxx mpbsd demos tune doc'; for </FONT>
<BR><FONT SIZE=2 FACE="Courier New">subdir in $list; do \</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> echo "Making $target in $subdir"; \</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> if test "$subdir" = "."; then \</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> dot_seen=yes; \</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> local_target="$target-am"; \</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> else \</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> local_target="$target"; \</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> fi; \</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> (cd $subdir && make $local_target) \</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done; \ if test "$dot_seen" = "no"; then \</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> make "$target-am" || exit 1; \</FONT>
<BR><FONT SIZE=2 FACE="Courier New">fi; test -z "$fail"</FONT>
<BR><FONT SIZE=2 FACE="Courier New">make: Fatal error: Command failed for target `all-recursive' Current working directory /mcc/baoning/gmp-4.2.1</FONT>
<BR><FONT SIZE=2 FACE="Courier New">*** Error code 1</FONT>
<BR><FONT SIZE=2 FACE="Courier New">make: Fatal error: Command failed for target `all'</FONT>
<BR><B><FONT SIZE=2 FACE="Arial"> </FONT></B>
</P>
<BR>
<P><FONT FACE="Arial" SIZE=2 COLOR="#000000"> <<DMC File - CGD fichier>> </FONT>
</BODY>
</HTML>