Can you post the contents of MPIR's config log in
spkg/build/mpir.../src/src thanks.

Bill.

2009/6/3 Jhair <jhair.tocanc...@gmail.com>:
>
> Hello,
>
> I'm trying to compile the sage library which AFAIK uses mpir:
> http://www.sagemath.org/.
>
> I'm getting build errors like:
>
> /usr/bin/ld: i386:x86-64 architecture of input file `mpn/.libs/
> add_n.o' is incompatible with i386 output
>
> If I check the generated file, it says:
>
> $ file ./spkg/build/gmp-mpir-1.1.2/src/mpn/.libs/and_n.o
>
> ./spkg/build/gmp-mpir-1.1.2/src/mpn/.libs/and_n.o: ELF 64-bit LSB
> relocatable, x86-64, version 1 (SYSV), not stripped
>
> However other files look fine (i.e. 32bit):
>
> $ file ./spkg/build/gmp-mpir-1.1.2/src/mpn/.libs/dive_1.o
>
> ./spkg/build/gmp-mpir-1.1.2/src/mpn/.libs/dive_1.o: ELF 32-bit LSB
> relocatable, Intel 80386, version 1 (SYSV), not stripped
>
> I asked the SAGE developers and they say mpir/mpn uses fairy
> sophisticated architecture detection. So I would like to know if
> somehow the detection is ignoring that I'm running a 32 bit kernel on
> a 64bit processor.
>
> Thanks,
>
> Regards,
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To post to this group, send email to mpir-devel@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