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 MAA00210; Sat, 15 Dec 2001 12:08:42 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id MAA30052 for ; Sat, 15 Dec 2001 12:08:41 +0100 (MET) Received: from smtprt15.wanadoo.fr (smtprt13.wanadoo.fr [193.252.19.223]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id fBFB8fv23844 for ; Sat, 15 Dec 2001 12:08:41 +0100 (MET) Received: from mel-rta8.wanadoo.fr (193.252.19.79) by smtprt15.wanadoo.fr; 15 Dec 2001 12:08:41 +0100 Received: from debian (80.8.74.136) by mel-rta8.wanadoo.fr; 15 Dec 2001 12:08:37 +0100 Received: from moi by debian with local (Exim 3.33 #1 (Debian)) id 16FCDe-0000Zy-00 for ; Sat, 15 Dec 2001 11:39:02 +0100 To: caml-list@inria.fr Subject: Re: [Caml-list] Unable to comile lablgl References: <20011215114822.A11131@adept.co.za> From: Remi VANICAT Date: 15 Dec 2001 11:39:02 +0100 In-Reply-To: <20011215114822.A11131@adept.co.za> Message-ID: <873d2cepix.dlv@wanadoo.fr> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Johann Spies writes: > The following happened when I tried to compile lablgl: > > js-11:45:07-/usr/local/src/lablGL-0.97$make > ocamlmktop -I . -I `ocamlc -where`/labltk -o lablgltop \ > -dllpath `ocamlc -where`/labltk -dllpath `ocamlc > -where`/lablGL \ > labltk.cma lablgl.cma togl.cma > Error on dynamically loaded library: ./dlltogl.so: undefined > symbol: XmuLookupStandardColormap > make: *** [lablgltop] Error 2 > ------------------------------ > > And I have no idea how to fix it. Can somebody help me with > this please? yes, you should in the Makefile.config change # Where to find X headers XINCLUDES = -I/usr/X11R6/include # X libs (for broken RTLD_GLOBAL: e.g. FreeBSD 4.0) # XLIBS = -L/usr/X11R6/lib -lXext -lXmu -lX11 into # Where to find X headers XINCLUDES = -I/usr/X11R6/include # X libs (for broken RTLD_GLOBAL: e.g. FreeBSD 4.0) XLIBS = -L/usr/X11R6/lib -lXext -lXmu -lX11 At least it worked for me... -- Rémi Vanicat vanicat@labri.u-bordeaux.fr http://dept-info.labri.u-bordeaux.fr/~vanicat ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr