Hello! > While trying to install Midnight Commander on HP-UX 11i, I am getting > errors in the "make" portion. Running ./configure seems to have worked > fine. However, I get the messages below when running make. What do I need > to do to fix this? Thanks for any help...
Try moving "#include <netdb.h>" below other includes. My guess is that it's included too early. Tentative patch is attached. If you still cannot get ftpfs to compile, try --without-vfs flag to disable VFS support. I don't think that make is related to the problem is any way. -- Regards, Pavel Roskin
--- vfs/ftpfs.c +++ vfs/ftpfs.c @@ -56,7 +56,6 @@ What to do with this? #include <config.h> #include <sys/types.h> /* POSIX-required by sys/socket.h and netdb.h */ -#include <netdb.h> /* struct hostent */ #include <sys/socket.h> /* AF_INET */ #include <netinet/in.h> /* struct in_addr */ #ifdef HAVE_SETSOCKOPT @@ -68,6 +67,7 @@ What to do with this? #include <arpa/ftp.h> #include <arpa/telnet.h> #include <sys/param.h> +#include <netdb.h> /* struct hostent */ #include "utilvfs.h"