From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE autolearn=disabled version=3.1.3 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id CF066BC6B for ; Sat, 3 Nov 2007 14:34:15 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAPMULEfAXQInh2dsb2JhbACCPjWLfAIBCAop X-IronPort-AV: E=Sophos;i="4.21,366,1188770400"; d="scan'208";a="3860076" Received: from concorde.inria.fr ([192.93.2.39]) by mail2-smtp-roc.national.inria.fr with ESMTP; 03 Nov 2007 14:34:15 +0100 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id lA3DYCx4017029 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Sat, 3 Nov 2007 14:34:15 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAPgVLEfRVca/i2dsb2JhbACCPjWLfAIBCAIGExEF X-IronPort-AV: E=Sophos;i="4.21,366,1188770400"; d="scan'208";a="18896892" Received: from rv-out-0910.google.com ([209.85.198.191]) by mail4-smtp-sop.national.inria.fr with ESMTP; 03 Nov 2007 14:34:10 +0100 Received: by rv-out-0910.google.com with SMTP id f5so855025rvb for ; Sat, 03 Nov 2007 06:34:09 -0700 (PDT) Received: by 10.142.90.8 with SMTP id n8mr759090wfb.1194096849662; Sat, 03 Nov 2007 06:34:09 -0700 (PDT) Received: by 10.142.164.7 with HTTP; Sat, 3 Nov 2007 06:34:09 -0700 (PDT) Message-ID: <71767b800711030634h3363d35av64a4b5a49e318090@mail.gmail.com> Date: Sat, 3 Nov 2007 09:34:09 -0400 From: "Ralph Douglass" To: "Nathaniel Gray" Subject: Re: [Caml-list] OCaml and Leopard Cc: "Joel Reymont" , "caml-list List" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13713_22410262.1194096849665" References: <100AE1A2-D155-4821-84D0-DCEDE74FE9EF@gmail.com> X-Miltered: at concorde with ID 472C78D4.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 --prefix:01 ocaml:01 cvs:01 asmrun:01 dynlink:01 gcc:01 byterun:01 -dnative:01 -dtarget:01 -wall:01 pointer:01 pointer:01 cheers:01 beginner's:01 ------=_Part_13713_22410262.1194096849665 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline sudo su - cd ~//Downloads/godi-bootstrap-20061228 ./bootstrap --prefix /opt/local/godi export PATH=/opt/local/godi/bin:/opt/local/godi/sbin:$PATH export MACOSX_DEPLOYMENT_TARGET=10.4 ./boostrap_stage2 Enjoy. On 11/2/07, Nathaniel Gray wrote: > > On Nov 2, 2007 12:24 PM, Joel Reymont wrote: > > I'm having trouble compiling OCaml from CVS on Mac OSX Leopard. > > > > Any suggestions on how to troubleshoot this? > > I got the same problem building 3.10 on godi. > > > > --- > > > > + cd asmrun > > + make all meta.o dynlink.o > > ... > > gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_i386 - > > DSYS_macosx -O -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o > > signals_asm.o signals_asm.c > > signals_asm.c: In function 'segv_handler': > > signals_asm.c:193: error: dereferencing pointer to incomplete type > > signals_asm.c:193: error: dereferencing pointer to incomplete type > > signals_asm.c: In function 'caml_init_signals': > > signals_asm.c:241: error: storage size of 'stk' isn't known > > signals_asm.c:241: warning: unused variable 'stk' > > make: *** [signals_asm.o] Error 1 > > This makes me think maybe there's a system header file that's moved, > though I haven't looked in any detail yet. > > Cheers, > -n8 > > -- > >>>-- Nathaniel Gray -- Caltech Computer Science ------> > >>>-- Mojave Project -- http://mojave.cs.caltech.edu --> > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > -- Ralph ------=_Part_13713_22410262.1194096849665 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline sudo su -
cd ~/<you>/Downloads/godi-bootstrap-20061228
./bootstrap --prefix /opt/local/godi
export PATH=/opt/local/godi/bin:/opt/local/godi/sbin:$PATH
export MACOSX_DEPLOYMENT_TARGET=10.4
./boostrap_stage2

Enjoy.


On 11/2/07, Nathaniel Gray <n8gray@gmail.com> wrote:
On Nov 2, 2007 12:24 PM, Joel Reymont <joelr1@gmail.com> wrote:
> I'm having trouble compiling OCaml from CVS on Mac OSX Leopard.
>
> Any suggestions on how to troubleshoot this?

I got the same problem building 3.10 on godi.


> ---
>
> + cd asmrun
> + make all meta.o dynlink.o
> ...
> gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_i386 -
> DSYS_macosx  -O -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT   -c -o
> signals_asm.o signals_asm.c
> signals_asm.c: In function 'segv_handler':
> signals_asm.c:193: error: dereferencing pointer to incomplete type
> signals_asm.c:193: error: dereferencing pointer to incomplete type
> signals_asm.c: In function 'caml_init_signals':
> signals_asm.c:241: error: storage size of 'stk' isn't known
> signals_asm.c:241: warning: unused variable 'stk'
> make: *** [signals_asm.o] Error 1

This makes me think maybe there's a system header file that's moved,
though I haven't looked in any detail yet.

Cheers,
-n8

--
>>>-- Nathaniel Gray -- Caltech Computer Science ------>
>>>-- Mojave Project -- http://mojave.cs.caltech.edu -->

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs



--
Ralph ------=_Part_13713_22410262.1194096849665--