Karim Belabas on Sat, 09 Jul 2005 22:47:28 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: pari compilation problems after cygwin updates


* Alain SMEJKAL [2005-07-01 00:35]:
> Since I updated many cygwin packages, I got two (hope no more) unexpected pari compilation problems. I do not really know what happens.
> 
> Major updates as following :
> 
> gcc 3.3.1 => gcc 3.4.4
> fltk 1.1.4-1 => 1.1.4-2
> readline 4.03 => 5.02
> 
> 1) problem related to gcc ? :
> 
> g++ -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-pointer   -I. -I../src/headers -I//include  -o plotfltk.
> o ../src/graph/plotfltk.c
> cc1plus: //include: No such host or network path
> make[1]: *** [plotfltk.o] Error 1
> make[1]: Leaving directory `/home/Administrateur/pari-2.2.11.bill/Ocygwin-i686'
> make: *** [bench] Error 2
> 
> I had to change that in Makefile to allow compilation but do not understand why it was okay before :
> 
> #FLTKDIR    = /
> FLTKDIR    = 
> 
> 
> 2) problem related to readline :
> 
> Creating library file: libpari.dll.a
> default.o:default.c:(.text+0x1578): undefined reference to `_init_readline'
> collect2: ld returned 1 exit status
> make[1]: *** [libpari-2.2.dll] Error 1
> make[1]: Leaving directory `/home/Administrateur/pari-2.2.11.bill/Ocygwin-i686'
> make: *** [bench] Error 2

I have tried to fix both of these in current CVS.

Do the problems go away ?

Cheers,

    Karim.
-- 
Karim Belabas                     Tel: (+33) (0)1 69 15 57 48
Dep. de Mathematiques, Bat. 425   Fax: (+33) (0)1 69 15 60 19
Universite Paris-Sud              http://www.math.u-psud.fr/~belabas/
F-91405 Orsay (France)            http://pari.math.u-bordeaux.fr/  [PARI/GP]