- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- compile of vsftpd 2.0.3 on HP-UX 11.11
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
12-01-2005 01:37 AM
12-01-2005 01:37 AM
i am compiling vsftpd 2.0.3 on HP-UX 11.11. I am getting the following error message
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.
I looked into two threads on ITRC which describes what to do, but it is not working for me.
I am not a programmer. Can someone please help me in this regard.
Thanks
PAd
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 01:53 AM
12-01-2005 01:53 AM
Re: compile of vsftpd 2.0.3 on HP-UX 11.11
I'm not a great compiler either.
vsftp was designed for Linux. Probably the only way to fix it is to make code changes to accomodate HP-UX.
Did you read the instructions and at least make sure the suitable compilers and libraries (gcc,gtk+) re installed on the system.
You can probably find the pre-requisites in:
http://hpux.connect.org.uk/
If you go to http://software.hp.com
you can get Proftpd, from the Internet Expres s package, and install that without compiling.
HP-UX also comes with the wu-fptd ftp server which works well, though its not the most secure in the world.
You could also use secure shell, which now ships as part of the OS or can be had at software.hp.com and use it as a secure replacement for ftp traffic. There are secure ftp clients available for Windows at no charge.
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
12-01-2005 01:04 PM
12-01-2005 01:04 PM
Re: compile of vsftpd 2.0.3 on HP-UX 11.11
$ find /usr/include -exec grep -l WTMPX_FILE {} \;
$
you might see if the folks at http://hpux.cs.utah.edu/ (a mirror of http://hpux.connect.org.uk/) happen to have a precompiled binary. You might also look at the HP Internet Express bits (software.hp.com) as the stuff may be there (not sure though).
What were the two threads that described what to do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 04:27 PM
12-01-2005 04:27 PM
Solution#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 <<< add this line
#endif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2005 01:18 AM
12-02-2005 01:18 AM
Re: compile of vsftpd 2.0.3 on HP-UX 11.11
Thank you all for the quick response. The response from Ermin was very helpfull.
Compile was successfull for sysdeputil.c.
But i am getting this error now
gcc -c sysdeputil.c -O2 -Wall -W -Wshadow -idirafter dummyinc
sysdeputil.c: In function `vsf_sysdep_check_auth':
sysdeputil.c:290: warning: initialization from incompatible pointer type
sysdeputil.c: In function `vsf_sysutil_setproctitle_internal':
sysdeputil.c:828: warning: assignment discards qualifiers from pointer target type
gcc -o vsftpd main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o tunables.o ftpdataio.o secbuf.o ls.o postprivparent.o logging.o str.o netstr.o sysstr.o strlist.o banner.o filestr.o parseconf.o secutil.o ascii.o oneprocess.o twoprocess.o privops.o standalone.o hash.o tcpwrap.o ipaddrparse.o access.o features.o readwrite.o ssl.o sysutil.o sysdeputil.o -Wl,-s `./vsf_findlibs.sh`
ld: Can't find library for -lpam
Fatal error.
collect2: ld returned 1 exit status
*** Error exit code 1
Shared library libpam.sl exists in /usr/lib.
Thanks
PAd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2005 03:00 AM
12-13-2005 03:00 AM
Re: compile of vsftpd 2.0.3 on HP-UX 11.11
I was able to successfully compile vsftpd on HP-UX 11.11 with 32 bit gcc.
Thanks to all who responded to my questions. Points will be assigned.
PAd