Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Chris Campbell <cyberdanx@g...>
Subject: CamlImages+SDL fails
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