caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Where is __ctype_b defined?
@ 2003-07-05 19:53 Tomek Grzejszczyk
  2003-07-07 12:23 ` Xavier Leroy
  0 siblings, 1 reply; 2+ messages in thread
From: Tomek Grzejszczyk @ 2003-07-05 19:53 UTC (permalink / raw)
  To: caml-list

Hi,
	I'am trying to compile mldonkey, but the compilation fails during linking 
with the following message:

ocamlopt.opt -inline 10 -linkall  -o mlnet       unix.cmxa str.cmxa 
-cclib -lz -ccopt "-pthread"   -I build    build/cdk.cmxa 
build/common.cmxa    build/client.cmxa    build/core.cmxa 
build/driver.cmxa    src/daemon/common/commonMain.cmx

/usr/lib/ocaml/libstr.a(regex.o)(.text+0x1288): In function `regex_compile':
: undefined reference to `__ctype_b'

Maybe I've some mising files in my ocaml distribution or broken 
dependencies between my ocaml packets, but to check it I need to know 
where is __ctype_b symbol defined.

Thanks for help,
Tomek Grzejszczyk

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] Where is __ctype_b defined?
  2003-07-05 19:53 [Caml-list] Where is __ctype_b defined? Tomek Grzejszczyk
@ 2003-07-07 12:23 ` Xavier Leroy
  0 siblings, 0 replies; 2+ messages in thread
From: Xavier Leroy @ 2003-07-07 12:23 UTC (permalink / raw)
  To: Tomek Grzejszczyk; +Cc: caml-list

> Maybe I've some mising files in my ocaml distribution or broken 
> dependencies between my ocaml packets, but to check it I need to know 
> where is __ctype_b symbol defined.

Definitely not in OCaml; most probably in libc (the C library).

My guess is that you're using OCaml binaries that were compiled
against a given version of the C library, and using them with a
different, incompatible C library.  The solution is to recompile OCaml
from sources.

- Xavier Leroy

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-07 12:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-05 19:53 [Caml-list] Where is __ctype_b defined? Tomek Grzejszczyk
2003-07-07 12:23 ` Xavier Leroy

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