Operating System - HP-UX
1753828 Members
9001 Online
108805 Solutions
New Discussion юеВ

Re: Error to compile VSFTPD 2.0.7 on hpux11.11

 
jaru_1
New Member

Error to compile VSFTPD 2.0.7 on hpux11.11

Hi everybody, i trying to install vsftpd on hpux11.11, i execute make command but is not successful compile.

gcc -c sysdeputil.c -O2 -Wall -W -Wshadow -idirafter dummyinc
sysdeputil.c: In function 'vsf_sysdep_check_auth':
sysdeputil.c:292: warning: initialization from incompatible pointer type
sysdeputil.c: In function 'vsf_sysutil_setproctitle_internal':
sysdeputil.c:849: warning: assignment discards qualifiers from pointer target type
sysdeputil.c: In function 'vsf_sysutil_send_fd':
sysdeputil.c:1070: error: 'struct msghdr' has no member named 'msg_accrights'
sysdeputil.c:1071: error: 'struct msghdr' has no member named 'msg_accrightslen'
sysdeputil.c: In function 'vsf_sysutil_recv_fd':
sysdeputil.c:1093: error: 'struct msghdr' has no member named 'msg_accrights'
sysdeputil.c:1094: error: 'struct msghdr' has no member named 'msg_accrightslen'
*** Error exit code 1

Some posts on itrc forums explains issues about vsftpd compilation but It doesn't work for me
4 REPLIES 4
Steven Schweda
Honored Contributor

Re: Error to compile VSFTPD 2.0.7 on hpux11.11

Yes, it does that.

It seems something in the code gets
_INCLUDE_XOPEN_SOURCE_EXTENDED defined
(perhaps and ),
and that affects the declaration of "struct
msghdr" in , because of:

#if defined(_XOPEN_SOURCE_EXTENDED) && !defined(_KERNEL)

It looks to me like a bug, but I don't know
whom to blame. Apparently the vsftpd people
don't test their stuff on HP-UX.
jaru_1
New Member

Re: Error to compile VSFTPD 2.0.7 on hpux11.11

Ok but What I can do for install vsftpd on hpux ? . I need vsftd because is the one have a choice to create a list of users jailed, others ftp daemons like Proftpd jailed all users
Steven Schweda
Honored Contributor

Re: Error to compile VSFTPD 2.0.7 on hpux11.11

> I need vsftd because [...]

Sometimes it's useful to _start_ by revealing
the actual problem which you are trying to
solve, rather than asking for help in
implementing some particular solution (or
non-solution) to that problem.

> [...] is the one [...]

_Very_ seldom is there only "one" solution to
a computer software problem.

If your "jail" is in any way related to
"chroot()", then a forum search for terms
like:
ftp chroot
may find many discussions of how to configure
the existing FTP server to do what you want.
Otherwise, it might help to describe exactly
what your requirements are.

You might also report the vsftpd problem to
the vsftpd people, and see if anyone there
knows anything.
Wai Kiong Choy
Advisor

Re: Error to compile VSFTPD 2.0.7 on hpux11.11

jaru,

Add the following line to the builddefs.h

#undef _XOPEN_SOURCE_EXTENDED

then run make.