Hi,
I just download last lftp (i.e. v4.5.5) end try to compile on HP-UX 11.31.
On configure i have following error :
NetAccess.cc:36: error: conflicting declaration 'typedef int socklen_t'
/usr/include/sys/types.h:473: error: 'socklen_t' has a previous declaration as
'typedef size_t socklen_t'
NetAccess.cc: In member function 'const char* NetAccess::CheckHangup(const
pollfd*, int)':
NetAccess.cc:116: error: invalid conversion from 'socklen_t*' to 'int*'
NetAccess.cc:116: error: initializing argument 5 of 'int getsockopt(int, int,
int, void*, int*)'
Makefile:2225: recipe for target 'NetAccess.lo' failed
gmake[1]: *** [NetAccess.lo] Error 1
(with make or gmake same error)
And i find none thread on it on lftp list archives..
I try to change /usr/include/sys/types.h to force
typedef int socklen_t;
(instead of existing typedef size_t socklen_t;)
-Ok bad, but just to test someting ;oP-
But I have another errors after.
So can this version (i.e. v4.5.5) be compiled on HP-UX 11.31 ?
Or which version may I use ?
Thanks for your help.
Regards,
---
Sergio DA SILVA.
_______________________________________________
lftp-devel mailing list
[email protected]
http://univ.uniyar.ac.ru/mailman/listinfo/lftp-devel