From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: weis Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA13191 for caml-redistribution; Mon, 18 May 1998 15:37:33 +0200 (MET DST) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id KAA18822 for ; Mon, 18 May 1998 10:37:56 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.8.7/8.8.5) with ESMTP id KAA19399; Mon, 18 May 1998 10:37:49 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA26729; Mon, 18 May 1998 10:37:49 +0200 (MET DST) Message-ID: <19980518103749.22124@pauillac.inria.fr> Date: Mon, 18 May 1998 10:37:49 +0200 From: Xavier Leroy To: Patrice AUFFRET , caml-list@inria.fr Subject: Re: RE : RE :Graphisme References: <355CB5C2.41E7DD07@hol.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.89.1 In-Reply-To: <355CB5C2.41E7DD07@hol.fr>; from Patrice AUFFRET on Fri, May 15, 1998 at 11:38:11PM +0200 Sender: weis > Je compile mon fichier comme suit : ( le fichier test.ml est mon fichier > source ) > > [root@localhost /ML]# camlc -custom \ > > unix.zo graphics.zo test.ml \ > > -lgraph -lunix -lX11 > > Et il m'affiche comme message d'erreur : > > ld: cannot open -lX11: No such file or directory Sur certains Unix, les bibliothèques X Windows ne se trouvent pas au même endroit que les autres bibliothèques. Essayez quelque chose du genre: camlc -custom unix.zo graphics.zo test.ml -lgraph -lunix -L/usr/X11R6/lib -lX11 ^^^^^^^^^^^^^^ (Dans la partie soulignée, il faut mettre le nom du répertoire qui contient libX11.so sur votre machine.) - Xavier Leroy