Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004362OCamlOCaml generalpublic2007-08-13 21:382007-10-25 10:46
Reporterscottr8 
Assigned To 
PrioritynormalSeverityblockReproducibilityalways
StatusclosedResolutionwon't fix 
PlatformOSOS Version
Product Version3.10.0 
Target VersionFixed in Version 
Summary0004362: "make work" fails
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


TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0004135)
scottr8 (reporter)
2007-08-13 21:50

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
(0004200)
xleroy (administrator)
2007-10-25 10:46

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.

- Issue History
Date Modified Username Field Change
2007-08-13 21:38 scottr8 New Issue
2007-08-13 21:50 scottr8 Note Added: 0004135
2007-10-25 10:46 xleroy Note Added: 0004200
2007-10-25 10:46 xleroy Status new => closed
2007-10-25 10:46 xleroy Resolution open => won't fix


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker