From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: *** X-Spam-Status: No, score=3.2 required=5.0 tests=DNS_FROM_RFC_ABUSE, RCVD_IN_BL_SPAMCOP_NET,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id EE1D2BC86 for ; Mon, 21 Aug 2006 23:18:09 +0200 (CEST) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.224]) by nez-perce.inria.fr (8.13.6/8.13.6) with ESMTP id k7LLI8nh004923 for ; Mon, 21 Aug 2006 23:18:09 +0200 Received: by wx-out-0506.google.com with SMTP id s6so1798491wxc for ; Mon, 21 Aug 2006 14:18:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=FYplUP2XgiweumdEixs7qSI5KiLWKrvQiQW5opqg4LkTGApgM857Pu3qTeRjvhE/hRg30nHnE7YUaUe9GqWwZDeWc5s4jei5Hz26sohamzkJCLbVuM8/gNSaUfua0RDZkmeUKjR1le4i9TDCsvCVlCpqvolq9O9qxlmRYByDXXY= Received: by 10.70.52.2 with SMTP id z2mr10348231wxz; Mon, 21 Aug 2006 14:18:08 -0700 (PDT) Received: by 10.70.75.6 with HTTP; Mon, 21 Aug 2006 14:18:08 -0700 (PDT) Message-ID: Date: Mon, 21 Aug 2006 22:18:08 +0100 From: "Chris Campbell" To: caml-list@yquem.inria.fr Subject: CamlImages+SDL fails MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-j-chkmail-Score: MSGID : 44EA2310.000 on nez-perce : j-chkmail score : X : 0/20 1 X-Miltered: at nez-perce with ID 44EA2310.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; camlimages:01 camlimages:01 ocamlfind:01 ocamlopt:01 -package:01 lablgl:01 -warn-error:01 cmi:01 ocamlfind:01 ocamlopt:01 -package:01 lablgl:01 -warn-error:01 cmx:01 cmx:01 Hi, Has anyone used SDL and Camlimages together? This is what I get under godi. Looks like a conflict due to C's flat namespace though I'm not confident in that. Chris *** omake: reading OMakefiles *** omake: finished reading OMakefiles (0.0 sec) - build . sfrFont.o + ocamlfind ocamlopt -package "lablGL,camlimages,sdl" -warn-error A -I . -c sfrFont.ml - build . sfr.cmi + ocamlfind ocamlopt -package "lablGL,camlimages,sdl" -warn-error A -I . -c sfr.ml - build . hiworld.cmx + ocamlfind ocamlopt -package "lablGL,camlimages,sdl" -warn-error A -I . -c hiworld.ml - build . hiworld.opt + ocamlfind ocamlopt -package "lablGL,camlimages,sdl" -warn-error A -I . -o hiworld.opt sfrFont.cmx sfr.cmx hiworld.cmx -linkpkg /opt/sw/ocaml-godi/lib/ocaml/pkg-lib/camlimages/libci_gif.a(gifwrite.o): In function `list_length':gifwrite.c:(.text+0x0): multiple definition of `list_length' /opt/sw/ocaml-godi/lib/ocaml/pkg-lib/sdl/libsdlstub.a(common.o):common.c:(.text+0x91): first defined here /usr/bin/ld: Warning: size of symbol `list_length' changed from 26 in /opt/sw/ocaml-godi/lib/ocaml/pkg-lib/sdl/libsdlstub.a(common.o) to 113 in /opt/sw/ocaml-godi/lib/ocaml/pkg-lib/camlimages/libci_gif.a(gifwrite.o) collect2: ld returned 1 exit status Error during linking