macos help
delta trinity
deltatrinity@hotmail.com
Sun, 16 Feb 2003 20:18:13 -0500
Can it be possible that this dot in the unresolved symbols have someething
to do with the error?
>From: "Rolando Abarca (aka funkaster)" <rabarca@ing.uchile.cl>
>To: gmp-discuss@swox.com
>Subject: Re: macos help
>Date: Sun, 16 Feb 2003 17:01:54 -0300 (CLST)
>
>sorry, this is the exact error output. The other one wasn't linking
>against libgmp.
>
># Error: File ":gmp_test.o"
># Reference to unresolved symbol ".__gmp_printf"
># Error: File "::gmp-4.1.2:macos:libgmp.4.1.2"
># Reference to unresolved symbol ".__gmp_tmp_mark"
># Error: File "::gmp-4.1.2:macos:libgmp.4.1.2"
># Reference to unresolved symbol ".__gmp_tmp_alloc"
># Error: File "::gmp-4.1.2:macos:libgmp.4.1.2"
># Reference to unresolved symbol ".__gmp_tmp_free"
>
>regards,
>ra.-
>
>#include <stdio.h> /* square root by Newton's zero-finder method */
>#include <float.h> /* by Rolando Abarca rabarca at ing.uchile.cl */
>int main(int c, char* v[]){if (c==2){long d=atol(v[1]);double r1,r2=0;
>double E=DBL_MIN;for(r1=(1+d)/2;((r1-r2>0)?r1-r2:r2-r1)>E;){r2=r1;r1=(
>r2+d/r2)/2;}printf("%.15f\n",r1);}else printf(" usage: fsqrt <n>\n");}
>
>_______________________________________________
>gmp-discuss mailing list
>gmp-discuss@swox.com
>https://gmplib.org/mailman/listinfo/gmp-discuss
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963