Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gethostbyname_r some errors on AIX 6.1 #272

Open
GoogleCodeExporter opened this issue Mar 16, 2015 · 0 comments
Open

gethostbyname_r some errors on AIX 6.1 #272

GoogleCodeExporter opened this issue Mar 16, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. ./configure && make

What is the expected output? What do you see instead?

libhttp/ssl.c:707:7: warning: passing argument 3 of 'gethostbyname_r' from 
incompatible pointer type [enabled by default]
/usr/include/netdb.h:433:12: note: expected 'struct hostent_data *' but 
argument is of type 'char *'
libhttp/ssl.c:707:7: error: too many arguments to function 'gethostbyname_r'
/usr/include/netdb.h:433:12: note: declared here
libhttp/ssl.c:712:11: warning: implicit declaration of function 'hstrerror' 
[-Wimplicit-function-declaration]
libhttp/ssl.c:712:11: warning: format '%s' expects argument of type 'char *', 
but argument 2 has type 'int' [-Wformat]
make: The error code from the last command is 1.


What version of the product are you using? On what operating system?

shellinabox-2.14

AIX 6.1 on PPC



looks like a different implementation of the wrapper

Original issue reported on code.google.com by [email protected] on 5 Dec 2014 at 3:56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant