Jean-Marc Sac-Epée on Fri, 26 Oct 2001 15:42:49 +0200


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

(pas d'objet)


Hi,
I have Pari-2.2.1 installed on Twenty computers.
Today, I installed Pari-2.2.1 on a new computer, but this time, when I tried to compile a program, I obtain


/usr//bin/ld: cannot find -lpari
collect2: ld returned 1 exit status
make: *** [essai3] Erreur 1


I really don't understand what  the problem is!  My Makefile is simply


CC = cc
INCDIR = /usr/local/include/pari
LIBDIR = /usr/local/lib
CFLAGS = -O -I$(INCDIR)  -L$(LIBDIR)

all:    essai3

essai3:        essai3.c
        $(CC) $(CFLAGS) -o essai3 essai3.c -lpari -lm


Is there something wrong? I do not think so because this program and this Makefile are OK on others computers!


JM


-- 
Jean-Marc Sac-Epée, Ingénieur de Recherches,    ("\-''-/").___..--''"`-.
Laboratoire de Mathématiques, Université de Metz,(`@_ @  )   `-.  (     ).`-.__.`)
Tél 03 87 54 72 69                                (_Y_.)'  ._   )  `._ `. `-..-''
Fax 03 87 31 52 73                                 `--'_..-_/  /--'_.' ,'
mail jmse@poncelet.univ-metz.fr