Compiling error, "cannot find -lgmp"

Bruno Couto bccp79 at hotmail.com
Mon Oct 3 15:41:46 CEST 2005


Thanks for the help, but I tried this way and I got "gmp.h - File not found" 
back. I think it could be expected since there are no /include or /lib 
directories inside usr/local/gmp-4.1.4...
Any other ideas???
Thanks a lot.


>From: Patrick Pelissier <patrick.pelissier at gmail.com>
>Reply-To: Patrick Pelissier <patrick.pelissier at gmail.com>
>To: Bruno Couto <bccp79 at hotmail.com>
>CC: gmp-bugs at swox.com
>Subject: Re: Compiling error, "cannot find -lgmp"
>Date: Sat, 1 Oct 2005 10:46:33 +0200
>
> > gcc -o test test.c -I /usr/local/gmp-4.1.4 -L /usr/local/gmp-4.1.4 -lgmp
> > but for both I got a "cannot find -lgmp"
>  gcc -o test test.c -I /usr/local/gmp-4.1.4/include -L
>/usr/local/gmp-4.1.4/lib -lgmp
>
>--
>  Patrick Pelissier

_________________________________________________________________
MSN Messenger: converse online com seus amigos .  
http://messenger.msn.com.br



More information about the gmp-bugs mailing list