caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* CamlImages+SDL fails
@ 2006-08-21 21:18 Chris Campbell
  0 siblings, 0 replies; only message in thread
From: Chris Campbell @ 2006-08-21 21:18 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-08-21 21:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-21 21:18 CamlImages+SDL fails Chris Campbell

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).