oguzy / shellinabox

Automatically exported from code.google.com/p/shellinabox
Other
0 stars 0 forks source link

gethostbyname_r some errors on AIX 6.1 #272

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 manuel.k...@gmail.com on 5 Dec 2014 at 3:56