You have to do make distclean before going from a 64 bit build to a 32
bit build.

Let me know if this doesn't fix it for you.

Bill.

2010/1/14 Jeff Gilchrist <jeff.gilchr...@gmail.com>:
> On Thu, Jan 14, 2010 at 2:40 PM, Bill Hart <goodwillh...@googlemail.com> 
> wrote:
>
>>> If we are on a 64bit OS and want to build a 32bit mpir library, how
>>> would we do this use:  ./configure ABI=32 ?
>>
>> Yes, I believe this is the correct method. This will force it to check
>> only 32 bit compiler flags.
>
> I just wanted to double check because it is not working.  I get the
> same error on Linux and OSX:
>
> Making all in mpn
> make[2]: Entering directory `/brosto/bro_scratch/work/jeffg/mpir-1.3.0/mpn'
> /bin/sh ../libtool --tag=CC   --mode=compile gcc -std=gnu99
> -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo
> fib_table | sed 's/_$//'`    -m32 -O2 -fomit-frame-pointer
> -mtune=core2 -march=core2 -c -o fib_table.lo fib_table.c
>  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I..
> -DOPERATION_fib_table -m32 -O2 -fomit-frame-pointer -mtune=core2
> -march=core2 -c fib_table.c  -fPIC -DPIC -o .libs/fib_table.o
> In file included from ../gmp-impl.h:116,
>                 from fib_table.c:4:
> ../fib_table.h:4: warning: data definition has no type or storage class
> ../fib_table.h:4: warning: type defaults to 'int' in declaration of 'Error'
> ../fib_table.h:4: warning: type defaults to 'int' in declaration of 'error'
> ../fib_table.h:4: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'data'
> fib_table.c:7: warning: data definition has no type or storage class
> fib_table.c:7: warning: type defaults to 'int' in declaration of 'Error'
> fib_table.c:7: warning: type defaults to 'int' in declaration of 'error'
> fib_table.c:7: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'data'
> make[2]: *** [fib_table.lo] Error 1
> make[2]: Leaving directory `/brosto/bro_scratch/work/jeffg/mpir-1.3.0/mpn'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/brosto/bro_scratch/work/jeffg/mpir-1.3.0'
> make: *** [all] Error 2
>
>
> Jeff.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "mpir-devel" group.
> To post to this group, send email to mpir-de...@googlegroups.com.
> To unsubscribe from this group, send email to 
> mpir-devel+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/mpir-devel?hl=en.
>
>
>
>
-- 
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To post to this group, send email to mpir-de...@googlegroups.com.
To unsubscribe from this group, send email to 
mpir-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/mpir-devel?hl=en.


Reply via email to