pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Fixing lang/ocaml for NetBSD/powerpc?



On Sun, Jan 18, 2009 at 05:17:49PM +0100, Havard Eidnes wrote:
> Hi,
> 
> I've noticed that lang/ocaml fails to build for NetBSD/macppc 4.0
> with the following build failure:
> 
> gcc -O2 -I/usr/include -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE 
> -DTARGET_power -DSYS_elf  -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT 
> -DDB_DBM_HSEARCH -I/usr/include  -c -o signals_asm.o signals_asm.c
> signals_asm.c: In function 'handle_signal':
> signals_asm.c:87: error: 'struct sigcontext' has no member named 'regs'

Reminds me that it doesn't build for arm, either, but with different
errors.

I have a partial fix - one of our Makefile patches is logically broken -,
but run into PLIST problems later, so I didn't commit anything yet.

Regards,
        -is


Home | Main Index | Thread Index | Old Index