<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/10/46fc13dda1ffeae12796bb8fb46e4220"
  from="Julien Bugaud &lt;julien.bugaud@n...&gt;"
  author="Julien Bugaud"
  date="2003-10-12T23:51:18"
  subject="[Caml-list] Compiling Ocaml 3.07 on Mac OS X 10.3 7B85"
  prev="2003/10/9351c36243545fbbfd25c58b64007c70"
  next="2003/10/5dc6537896d5921da0b4037453cb63ed"
  prev-thread="2003/10/9351c36243545fbbfd25c58b64007c70"
  next-thread="2003/10/33be415cbb4ff3becc6674bfac179a11"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Compiling Ocaml 3.07 on Mac OS X 10.3 7B85">
<msg 
  url="2003/10/46fc13dda1ffeae12796bb8fb46e4220"
  from="Julien Bugaud &lt;julien.bugaud@n...&gt;"
  author="Julien Bugaud"
  date="2003-10-12T23:51:18"
  subject="[Caml-list] Compiling Ocaml 3.07 on Mac OS X 10.3 7B85">
</msg>
</thread>

<contents>
Hello,

I would like to compil Ocaml 3.07 source. My system is Mac OS X 10.3 7B85.

During the compilation process , I get the following errors:

gcc -I../../byterun -O -fno-defer-pop -no-cpp-precomp -Wall -Wno-unused
-D_FILE_OFFSET_BITS=64 -D_REENTRANT  -g   -c -o scheduler.o scheduler.c
scheduler.c:97: error: conflicting types for `thread_t'
/usr/include/mach/mach_types.h:100: error: previous declaration of
`thread_t'
make[1]: *** [scheduler.o] Error 1
make: *** [otherlibraries] Error 2


The compilation of Ocaml 3.06 +27 works.
(./configure -with-pthread
make world opt opt.opt
make install )

For Ocaml 3.07 and 3.07 b2, I tried :
./configure -with-pthread
make world opt opt.opt

./configure -with-pthread
make world.opt

./configure
make world opt opt.opt

The error message is always the same :(

If anyone has any thoughts or ideas..., I would really appreciate it :)

Thanks ;))


Julien Bugaud alias [Neobugs]

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

</contents>

</message>

