Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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

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
- build . sfr.cmi
+ ocamlfind ocamlopt -package "lablGL,camlimages,sdl" -warn-error A -I
. -c
- build . hiworld.cmx
+ ocamlfind ocamlopt -package "lablGL,camlimages,sdl" -warn-error A -I
. -c
- 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