English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
CamlImages+SDL fails
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-08-21 (21:18)
From: Chris Campbell <cyberdanx@g...>
Subject: CamlImages+SDL fails

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.


*** 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
In function `list_length':gifwrite.c:(.text+0x0): multiple definition
of `list_length'
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