[PATCH] AIX Fix resolv_wrapper.c missing includes and bad directive
Guillaume G Taillon
gtaillon at ca.ibm.com
Tue Mar 1 18:41:38 UTC 2016
Hello,
On AIX make fails with --enable-selftest or --enable-developer
I do not know why but, there are two missing headers <arpa/nameser.h> and
<sys/socket.h> which creates a bunch of errors while building.
"../lib/resolv_wrapper/resolv_wrapper.c", line 191.30: 1506-045 (S)
Undeclared identifier ns_t_invalid.
"../lib/resolv_wrapper/resolv_wrapper.c", line 201.24: 1506-045 (S)
Undeclared identifier AF_INET.
[...]
There is also a statement that is excluded from a directive that looks
like it shouldn't.
"../lib/resolv_wrapper/resolv_wrapper.c", line 1407.32: 1506-022 (S) "_u"
is not a member of "struct state".
https://bugzilla.samba.org/show_bug.cgi?id=11765
gxt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-rwrap-AIX-compatibility-fix-missing-headers-bad-dire.patch
Type: application/octet-stream
Size: 1241 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160301/7a7fbdb9/0001-rwrap-AIX-compatibility-fix-missing-headers-bad-dire.obj>
More information about the samba-technical
mailing list