[Bug 501] New: -current broken on AIX: conflicting types for gai_strerror
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Sat Feb 22 16:28:15 EST 2003
http://bugzilla.mindrot.org/show_bug.cgi?id=501
Summary: -current broken on AIX: conflicting types for
gai_strerror
Product: Portable OpenSSH
Version: -current
Platform: Other
OS/Version: AIX
Status: NEW
Severity: normal
Priority: P2
Component: Miscellaneous
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: dtucker at zip.com.au
Recent additions to fake-getaddrinfo cause compile errors on AIX.
The new code defines gai_strerror as returning "const char *". AIX 4.3.3
and 5.1 (and RFCs 2133 and 2553) define it returning "char *".
This mismatch causes the following error. The definition of gai_strerror is
buried in /usr/include/netdb.h, there doesn't seem to be any easy way of
excluding it.
gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I..
-I../../openbsd-compat -I../../openbsd-compat/..
-I/usr/local/ssl/include -I/usr/local/include -DHAVE_CONFIG_H -c
../../openbsd-compat/bsd-arc4random.c
In file included from ../../openbsd-compat/openbsd-compat.h:39,
from ../../includes.h:169,
from ../../openbsd-compat/bsd-arc4random.c:25:
../../openbsd-compat/fake-getaddrinfo.h:40: conflicting types for
`gai_strerror´
/usr/include/netdb.h:377: previous declaration of `gai_strerror´
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-unix-dev
mailing list