- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Compiling vsftpd 3.0.2 on HPUX 11.31 (IA 64)
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2014 05:14 AM
01-07-2014 05:14 AM
Compiling vsftpd 3.0.2 on HPUX 11.31 (IA 64)
Hello.
I tried to compile vsftpd 3.0.2 on HPUX environment (HPUX 11.31).
I received an error:
cc1: warnings being treated as errors
sysutil.c: In function 'vsf_sysutil_accept_timeout':
sysutil.c:1721: warning: passing argument 3 of 'accept' from incompatible pointer type
sysutil.c: In function 'vsf_sysutil_connect_timeout':
sysutil.c:1806: warning: passing argument 5 of 'getsockopt' from incompatible pointer type
sysutil.c: In function 'vsf_sysutil_getsockname':
sysutil.c:1832: warning: passing argument 3 of 'getsockname' from incompatible pointer type
sysutil.c: In function 'vsf_sysutil_getpeername':
sysutil.c:1857: warning: passing argument 3 of 'getpeername' from incompatible pointer type
*** Error exit code 1
Any solution?
Regards
Wojtek Pilecki
- Tags:
- sftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2014 09:23 PM
01-08-2014 09:23 PM
Re: Compiling vsftpd 3.0.2 on HP-UX 11.31 (IA 64)
Looking at accept(2), it appears there are three types for that addrlen, based on the standard.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2014 09:26 AM
01-09-2014 09:26 AM
Re: Compiling vsftpd 3.0.2 on HP-UX 11.31 (IA 64)
Hi,
What compile options are you using?
and what is the type of pointer passed?
Do you compile in 32 or 64 bits?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2014 10:35 AM
01-13-2014 10:35 AM
Re: Compiling vsftpd 3.0.2 on HP-UX 11.31 (IA 64)
Yes, using compiler in 32bit mode is better in my cause.
Thank You.
But I get another error:
cc1: warnings being treated as errors
tcpwrap.c: In function 'vsf_tcp_wrapper_ok':
tcpwrap.c:32: warning: implicit declaration of function 'fromhost'
*** Error exit code 1
I veryfied all *.h and *.c files in vsftpd pack.
There is no definition of function 'fromhost'.
Any ideas?
Regards
W.P.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2014 07:16 PM
01-13-2014 07:16 PM
Re: Compiling vsftpd 3.0.2 on HP-UX 11.31 (IA 64)
>tcpwrap.c: In function 'vsf_tcp_wrapper_ok':
Is there conditional compilation that will exclude this code?
This explains fromhost:
http://www.opensource.apple.com/source/tcp_wrappers/tcp_wrappers-6/tcp_wrappers/fromhost.c