Jean-François Mertens wrote:
> On 31 Mar 2008, at 03:55, S. Newhouse wrote:
>
>> [EMAIL PROTECTED] MPFR]$ cc -o sample sample.c -lmpfr
>> /usr/bin/ld: Undefined symbols:
>> ___gmpfr_out_str
>>
>>
>
> and how does the linker know where to find "-lmpfr" ?
> Would a "-L/sw/lib" not help ?
>
On 31 Mar 2008, at 03:55, S. Newhouse wrote:
> [EMAIL PROTECTED] MPFR]$ cc -o sample sample.c -lmpfr
> /usr/bin/ld: Undefined symbols:
> ___gmpfr_out_str
>
and how does the linker know where to find "-lmpfr" ?
Would a "-L/sw/lib" not help ?
JF Mertens
PS: I'm sure there is a FAQ about this ..
Alexander Hansen wrote:
> On Mar 30, 2008, at 7:23 PM, S. Newhouse wrote:
>
>
>> Hello,
>> I am running Mac OSX 10.4.11
>> I tried to install gmp and mpfr and get the following error messages
>> when trying to compile a simple example.
>>
>>
>>
>> /usr/bin/ld: Undefined symbols:
>> ___gmpfr_out_
On Mar 30, 2008, at 7:23 PM, S. Newhouse wrote:
> Hello,
> I am running Mac OSX 10.4.11
> I tried to install gmp and mpfr and get the following error messages
> when trying to compile a simple example.
>
>
>
> /usr/bin/ld: Undefined symbols:
> ___gmpfr_out_str
> _mpfr_add
> _mpfr_clear
> _mpfr_di
Hello,
I am running Mac OSX 10.4.11
I tried to install gmp and mpfr and get the following error messages
when trying to compile a simple example.
/usr/bin/ld: Undefined symbols:
___gmpfr_out_str
_mpfr_add
_mpfr_clear
_mpfr_div
_mpfr_init2
_mpfr_mul_ui
_mpfr_set_d
collect2: ld returned 1 exit s