Version française
Home     About     Download     Resources     Contact us    
Browse thread
OCaml and Leopard
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Gordon Henriksen <gordonhenriksen@m...>
Subject: Re: [Caml-list] OCaml and Leopard
On Nov 18, 2007, at 06:58, Valentyn Kamyshenko wrote:

> looks like I've got yet another compilation problem on Leopard:
>
> gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE  -DTARGET_power - 
> DSYS_rhapsody -O -Wall -DDARWIN_VERSION_6  -D_FILE_OFFSET_BITS=64 - 
> D_REENTRANT  -c signals.c
> In file included from signals.c:31:
> signals_osdep.h: In function 'context_gpr_p':
> signals_osdep.h:137: error: dereferencing pointer to incomplete type
> signals_osdep.h:141: error: dereferencing pointer to incomplete type
> *** Error code 1
>
> Happens even when I try to compile 3.09 version of OCaml (on PPC,  
> Mac OS X v.10.5.1).
> Setting MACOSX_DEPLOYMENT_TARGET to 10.4 helps.


This is exactly the right fix for older releases. There is work  
proceeding on top-of-tree so that subsequent releases will compile for  
Leopard (rather than just on it).

— Gordon