Karim BELABAS on Tue, 4 Feb 2003 18:00:46 +0100 (MET) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: CVS doesn't compile (was Re: realprecision bug) |
On Tue, 4 Feb 2003, Walter Neumann wrote: > The current CVS dies early in the make with: > > /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -fomit-frame-pointer > -DBOTH_GNUPLOT_AND_X11 -I. -I../src/headers -o kernel.o level0.s > /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -fomit-frame-pointer > -DBOTH_GNUPLOT_AND_X11 -I. -I../src/headers -o mp.o mp.c > mp.c:1289: parse error before '*' token > mp.c: In function `dvmdiu': > mp.c:1290: number of arguments doesn't match prototype > ../src/headers/paridecl.h:1090: prototype declaration > mp.c:1291: `y' undeclared (first use in this function) > mp.c:1291: (Each undeclared identifier is reported only once > mp.c:1291: for each function it appears in.) > mp.c:1295: `x' undeclared (first use in this function) > mp.c:1296: `rem' undeclared (first use in this function) > make[1]: *** [mp.o] Error 1 > make[1]: Leaving directory `/home/neumann/CVS/pari/Olinux-i686' > make: *** [gp] Error 2 [ We investigated this via private email. ] The problem was due to Oxxx/mp.c not being rebuilt. This file is concatenated from many smaller files in src/kernel/*; these were updated by cvs but, for some reason, 'make' failed to take notice [ probably incorrect timestamps ]. Removing Oxxx/mp.c solved the problem. 'make clean' did not solve it since mp.c had been forgotten from the list of files to be deleted [ I added it ]. Karim. -- Karim Belabas Tel: (+33) (0)1 69 15 57 48 Dép. de Mathématiques, Bât. 425 Fax: (+33) (0)1 69 15 60 19 Université Paris-Sud Email: Karim.Belabas@math.u-psud.fr F-91405 Orsay (France) http://www.math.u-psud.fr/~belabas/ -- PARI/GP Home Page: http://www.parigp-home.de/