proftpd compile problems 4g & 5.1

From: Tru64 User <tru64user_at_yahoo.com>
Date: Tue, 22 Jan 2002 12:20:52 -0800 (PST)

Greetings,
Wanted to try proftpd. Unable to compile it on both
4.0g and 5.1.
On 4.0g, it errors out as (last lines b4 errors):


auth.c:459: warning: cast from pointer to integer of
different size
gcc -DOSF4_0G -DOSF4 -I.. -I../include -O2 -Wall -c
fs.c
In file included from ../include/libsupp.h:34,
                 from ../include/conf.h:312,
                 from fs.c:30:
../include/glibc-glob.h:57: warning: redefinition of
`size_t'
/opt/gcc/lib/gcc-lib/alphaev56-dec-osf4.0d/2.8.1/include/stdlib.h:83:
warning: `size_t' previously declared here
fs.c: In function `fs_glob':
fs.c:1148: `GLOB_ALTDIRFUNC' undeclared (first use in
this function)
fs.c:1148: (Each undeclared identifier is reported
only once
fs.c:1148: for each function it appears in.)
gmake[1]: *** [fs.o] Error 1
gmake[1]: Leaving directory
`/usr0/users/moll/security/proftpd-1.2.4/src'
gmake: *** [src] Error 2
usjan_at_/usr0/users/moll/security/proftpd-1.2.4$


And in 5.1, it errors even sooner:

per_at_/usr/home/moll/proftpd-1.2.4$ gmake
echo \#define BUILD_STAMP \"`date`\" >
include/buildstamp.h
cd lib ; gmake lib
gmake[1]: Entering directory
`/usr/home/moll/proftpd-1.2.4/lib'
gcc -DOSF5_1 -DOSF5 -I.. -I../include -O2 -Wall -c
getopt.c
In file included from /usr/include/sys/socket.h:64,
                 from ../include/conf.h:120,
                 from getopt.c:43:
/usr/include/sys/uio.h:177: macro `readv' used without
args
/usr/include/sys/uio.h:178: macro `writev' used
without args
gmake[1]: *** [getopt.o] Error 1
gmake[1]: Leaving directory
`/usr/home/moll/proftpd-1.2.4/lib'
gmake: *** [lib] Error 2
per_at_/usr/home/moll/proftpd-1.2.4$


Tried with configure option CC=gcc & w/out, either way
it fails. gcc ver. 2.8.1. Anyone got proftpd to work
on either 4.0g or 5.1? IF so, any switches i need to
add? searched archives, no luck for configure options.
_Thanks in advance.

Richard


=====


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
Received on Tue Jan 22 2002 - 20:21:06 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT