Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

building vsftpd

Status
Not open for further replies.

bambock

Programmer
Oct 26, 2005
60
US
Has anyone successfully built vsftpd for AIX 5.2/5.3?

I am trying to set this up, but am running into an error in the compiliation.

Code:
# make
        gcc -c main.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c utility.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c prelogin.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c ftpcmdio.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c postlogin.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c privsock.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c tunables.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c ftpdataio.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c secbuf.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c ls.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c postprivparent.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c logging.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c str.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
str.c: In function 'str_locate_chars':
str.c:454: warning: 'retval.char_found' is used uninitialized in this function
str.c:454: warning: 'retval.index' is used uninitialized in this function
        gcc -c netstr.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c sysstr.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c strlist.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c banner.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c filestr.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c parseconf.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c secutil.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c ascii.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c oneprocess.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c twoprocess.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c privops.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c standalone.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c hash.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c tcpwrap.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c ipaddrparse.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
ipaddrparse.c: In function 'vsf_sysutil_parse_ipv6':
ipaddrparse.c:58: warning: pointer targets in return differ in signedness
        gcc -c access.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c features.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c readwrite.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c ssl.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
        gcc -c sysutil.c -O2 -Wall -W -Wshadow  -idirafter dummyinc
sysutil.c: In function 'vsf_sysutil_accept_timeout':
sysutil.c:1662: warning: passing argument 3 of 'naccept' from incompatible pointer type
sysutil.c: In function 'vsf_sysutil_connect_timeout':
sysutil.c:1744: warning: passing argument 5 of 'getsockopt' from incompatible pointer type
sysutil.c: In function 'vsf_sysutil_getsockname':
sysutil.c:1765: warning: passing argument 3 of 'ngetsockname' from incompatible pointer type
sysutil.c: In function 'vsf_sysutil_getpeername':
sysutil.c:1790: warning: passing argument 3 of 'ngetpeername' from incompatible pointer type
sysutil.c: In function 'vsf_sysutil_tzset':
sysutil.c:2481: error: 'struct tm' has no member named 'tm_gmtoff'
make: 1254-004 The error code from the last command is 1.

Stop.

I am primarily concerned with the "incompatible pointer type" errors. Has anyone else seen this or have a work around?

Thanks,
Ethan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top