You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 4362 Reporter: scottr8 Status: closed (set by @xavierleroy on 2007-10-25T08:46:06Z) Resolution: won't fix Priority: normal Severity: block Version: 3.10.0 Category: ~DO NOT USE (was: OCaml general) Monitored by: scottr8
Bug description
"make world" fails as follows:
make[1]: Entering directory /software/unison/install/ocaml-3.10.0/otherlibs/unix' gcc -I../../byterun -O -fno-defer-pop -Wall -D_XOPEN_SOURCE=500 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o accept.o 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 make[1]: *** [accept.o] Error 1 make[1]: Leaving directory /software/unison/install/ocaml-3.10.0/otherlibs/unix'
make: *** [otherlibraries] Error 2
Environment:
AIX 5.2 gcc 3.3.2 GNU make 3.80
The text was updated successfully, but these errors were encountered:
Tried using xlc_r and "make world fails as follows:
make[1]: Entering directory /software/unison/install/ocaml-3.10.0/otherlibs/unix' xlc_r -I../../byterun -O -D_XOPEN_SOURCE=500 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o accept.o accept.c "socketaddr.h", line 28.10: 1506-007 (S) "struct sockaddr_in6" is undefined. "socketaddr.h", line 47.36: 1506-310 (I) The type "struct in6_addr" was introduced in a parameter list, and will go out of scope at the end of the function declaration or definition. make[1]: *** [accept.o] Error 1 make[1]: Leaving directory /software/unison/install/ocaml-3.10.0/otherlibs/unix'
make: *** [otherlibraries] Error 2
System include files in AIX are often organized differently than in more mainstream systems like Linux or BSD. I can't track the source of the problem by lack of access to an AIX machine. One workaround, if you don't need IPv6, is to manually edit config/s.h after running "configure", removing the
"#define HAS_IPV6" line.
Original bug ID: 4362
Reporter: scottr8
Status: closed (set by @xavierleroy on 2007-10-25T08:46:06Z)
Resolution: won't fix
Priority: normal
Severity: block
Version: 3.10.0
Category: ~DO NOT USE (was: OCaml general)
Monitored by: scottr8
Bug description
"make world" fails as follows:
make[1]: Entering directory
/software/unison/install/ocaml-3.10.0/otherlibs/unix' gcc -I../../byterun -O -fno-defer-pop -Wall -D_XOPEN_SOURCE=500 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o accept.o accept.c In file included from accept.c:25: socketaddr.h:28: error: field
s_inet6' has incomplete typesocketaddr.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 make[1]: *** [accept.o] Error 1 make[1]: Leaving directory
/software/unison/install/ocaml-3.10.0/otherlibs/unix'make: *** [otherlibraries] Error 2
Environment:
AIX 5.2 gcc 3.3.2 GNU make 3.80
The text was updated successfully, but these errors were encountered: