- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- trying to compile vsftpd
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
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
05-06-2005 07:40 AM
05-06-2005 07:40 AM
# make
gcc -c sysdeputil.c -O2 -Wall -W -Wshadow -idirafter dummyinc
sysdeputil.c: In function `vsf_sysdep_check_auth':
sysdeputil.c:289: warning: initialization from incompatible pointer type
sysdeputil.c: In function `vsf_sysutil_setproctitle_internal':
sysdeputil.c:827: warning: assignment discards qualifiers from pointer target type
sysdeputil.c: In function `vsf_insert_uwtmp':
sysdeputil.c:1146: warning: implicit declaration of function `updwtmpx'
sysdeputil.c:1146: error: `WTMPX_FILE' undeclared (first use in this function)
sysdeputil.c:1146: error: (Each undeclared identifier is reported only once
sysdeputil.c:1146: error: for each function it appears in.)
sysdeputil.c: In function `vsf_remove_uwtmp':
sysdeputil.c:1166: error: `WTMPX_FILE' undeclared (first use in this function)
*** Error exit code 1
Stop.
Anyone else ever run into this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2005 09:18 AM
05-06-2005 09:18 AM
Re: trying to compile vsftpd
http://mail.gnome.org/archives/gnome-list/1998-November/msg00443.html
Yes, it's old, but it seems that the problem is still actual.
I think you should ask for a patch from developers os vsftpd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2005 10:09 AM
05-06-2005 10:09 AM
Re: trying to compile vsftpd
What you are trying is not very common. Proftpd has been ported to HP-UX and has the bugs pretty much worked out.
If you suceed, perhaps take the time to create a depot version, but beware of security issues and instability. Test heavily before you rely on it.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2005 09:16 PM
05-06-2005 09:16 PM
SolutionTo fix simply edit sysdeputil.c and find the following section. Last line before #endif is what you need to add. This will make vsftpd use wtmp related functions (not wtmpx equivalents).
#ifdef __hpux
#include
#ifdef SF_DISCONNECT
#define VSF_SYSDEP_HAVE_HPUX_SENDFILE
#endif
#include
#include
#ifdef PSTAT_SETCMD
#define VSF_SYSDEP_HAVE_HPUX_SETPROCTITLE
#endif
#undef VSF_SYSDEP_HAVE_UTMPX
#endif
After modifying sysdeputil.c as described vsftpd should compile without any problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2005 04:18 AM
05-07-2005 04:18 AM
Re: trying to compile vsftpd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2005 07:41 PM
11-03-2005 07:41 PM
Re: trying to compile vsftpd
I follow this instructions when I install vsftpd but I have still this error...
The difference is that I work with HPUX 11iv1 and not v2 : this is a probleme?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2005 07:44 PM
11-03-2005 07:44 PM
Re: trying to compile vsftpd
If you are having more problem then post as a separate thread with issues and log informations to get help. If you add question with this thread then, amy has to assign points. :)
Start to create a new thread with your try and issues.
-Muthu