Hello, I was trying to install GMP4.1.1 on Cygwin, and there were several problems with the make procedure, which caused it to exit with an error. The following files: aorsmul.c, cfdiv_q_2exp.c, cfdiv_r_2exp.c: mpz, aors.c: mpq, ceilorfloor.c: mpf each had a "double declaration" of a function using the lines below, respectively #define mpz_aorsmul(w,x,y,sub) __gmpz_aorsmul (REGPARM_3_1 (w, x, y, sub)) #define cfdiv_q_2exp(w,u,cnt,dir) __gmpz_cfdiv_q_2exp (REGPARM_3_1 (w,u,cnt,dir)) #define cfdiv_r_2exp(w,u,cnt,dir) __gmpz_cfdiv_r_2exp (REGPARM_3_1 (w,u,cnt,dir)) #define mpq_aors(w,x,y,fun) __gmpq_aors (REGPARM_3_1 (w, x, y, fun)) #define mpf_ceil_or_floor(r,u,dir) __gmpf_ceil_or_floor (REGPARM_2_1 (r, u, dir)) After commenting these out, I was able to successfully run make, but I am having doubts as to whether this was the right thing to do. Please let me know, thanks!
Leonid. -- Vegan Luau: Friday, February 26th; W20-407; free food, Hawaiian music, dancers! facebook.com/event.php?eid=311405399369, events.mit.edu/event.html?id=11606320 Take a look my environmental blog at http://groenester.livejournal.com/. Please make a much-needed donation for the 25th anniversary of Bhopal today: http://www.causes.com/donations/select_donation_method?cause_id=108461. _______________________________________________ bug-gmp mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gmp
