Version française
Home     About     Download     Resources     Contact us    
Browse thread
Problem compiling Ocaml 3.08.3 on AIX 5.2
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jerome Simeon <simeon@u...>
Subject: Problem compiling Ocaml 3.08.3 on AIX 5.2
I am having trouble building ocaml 3.08 on AIX 5.2.
The compiler is gcc is 3.3.2.

Things get bad compiling the Unix library. See message below.

As anybody has seen that problem before and can help?

Thanks,
- Jerome

        for i in unix str num dynlink bigarray systhreads threads graph 
dbm; do
 (cd otherlibs/$i; make RUNTIME= all) || exit $?;  done
        gcc -I../../byterun -O -fno-defer-pop -Wall -D_XOPEN_SOURCE=500 
-D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c accept.c
In file included from accept.c:25:
socketaddr.h:28: error: field `s_inet6' has incomplete type
socketaddr.h:47: warning: `struct in6_addr' declared inside parameter list
socketaddr.h:47: warning: its scope is only this definition or 
declaration, which is probably not what you want
m