Re: [Fink-users] linker problems with mpfr

2008-03-30 Thread S. Newhouse
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 ? >

Re: [Fink-users] linker problems with mpfr

2008-03-30 Thread Jean-François Mertens
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 ..

Re: [Fink-users] linker problems with mpfr

2008-03-30 Thread S. Newhouse
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_

Re: [Fink-users] linker problems with mpfr

2008-03-30 Thread Alexander Hansen
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

[Fink-users] linker problems with mpfr

2008-03-30 Thread S. Newhouse
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