caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Chris Campbell" <cyberdanx@gmail.com>
To: caml-list@yquem.inria.fr
Subject: CamlImages+SDL fails
Date: Mon, 21 Aug 2006 22:18:08 +0100	[thread overview]
Message-ID: <c22844d10608211418yed349e6ye43fdc9336acc5e4@mail.gmail.com> (raw)

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


                 reply	other threads:[~2006-08-21 21:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c22844d10608211418yed349e6ye43fdc9336acc5e4@mail.gmail.com \
    --to=cyberdanx@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).