From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA08449; Mon, 24 Nov 2003 18:34:49 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 SAA08718 for ; Mon, 24 Nov 2003 18:34:48 +0100 (MET) Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com [62.253.162.45]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id hAOHYg106076 for ; Mon, 24 Nov 2003 18:34:42 +0100 (MET) Received: from ntlworld.com ([80.4.69.150]) by mta05-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20031124173436.PRUO13700.mta05-svc.ntlworld.com@ntlworld.com> for ; Mon, 24 Nov 2003 17:34:36 +0000 Message-ID: <3FC24131.6090409@ntlworld.com> Date: Mon, 24 Nov 2003 17:34:41 +0000 From: "chris.danx" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031014 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: caml-list@inria.fr Subject: Re: [Caml-list] Building camlimages programs on deb (and linux) References: <3FC15079.5030306@ntlworld.com> <20031124010805.GB1467@localhost> In-Reply-To: <20031124010805.GB1467@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Loop: caml-list@inria.fr X-Spam: no; 0.00; ntlworld:99 caml-list:01 camlimages:01 issac:01 trotts:01 usr:01 usr:01 libx:01 libx:01 xlib:01 xlib:01 ocamlc:01 chris:01 chris:01 -lx:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Issac Trotts wrote: > $ grep XDefaultScreen /usr/X11R6/lib/* > Binary file /usr/X11R6/lib/libX11.a matches > Binary file /usr/X11R6/lib/libX11.so matches > Binary file /usr/X11R6/lib/libX11.so.6 matches > Binary file /usr/X11R6/lib/libX11.so.6.2 matches > Binary file /usr/X11R6/lib/libXpm.a matches > Binary file /usr/X11R6/lib/libXpm.so matches > Binary file /usr/X11R6/lib/libXpm.so.4 matches > Binary file /usr/X11R6/lib/libXpm.so.4.11 matches > > so maybe it will work if you include -lX11 in your link line. I tried your suggestion, but it didn't work. :( It's defined in Xlib.h, so I included Xlib in the link options, but it didn't complete the link (same error). ocamlc `camlimages-config` -cclib "-L/usr/X11R6/lib -L/usr/X11R6/lib/X11 -lX11 -lXlib -lxvthumb -lXpm -lpng -lfreetype -lz -ljpeg -lgif" monochrome.ml Wonder if the lib is mangled? I'll do an update to see... Cheers, Chris ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners