ProFTPd 1.2.4 on Tru64 5.0 build fails

From: Graham Van Epps <gvanepps_at_compurex.com>
Date: Fri, 18 Jan 2002 14:07:29 -0500

Hello managers;
Has anyone gotten ProFTPd to build under Tru64 5.0? I have patchkit 4
installed. The build always stops with an error. Ive tried using GNU tools
and Compaq's tools. Both have failed with the errors listed below. Any
ideas?

With GCC 2.7.2.3 and GNU make 3.79.1

make[1]: Entering directory `/var/src/proftpd-1.2.4/src'
cc -DOSF5_0 -DOSF5 -I.. -I../include -g -c fs.c
cc: Error: fs.c, line 1148: In this statement, "GLOB_ALTDIRFUNC" is not
declared. (undeclared)
    flags |= GLOB_ALTDIRFUNC;
-------------^
cc: Warning: fs.c, line 1152: In this statement, the referenced type of the
pointer value "fs_opendir" is "function (pointer to const char) returning
pointer to void", which is not compatible with "function () returning
pointer to char". (ptrmismatch)
    pglob->gl_opendir = fs_opendir;
----^
make[1]: *** [fs.o] Error 1
make[1]: Leaving directory `/var/src/proftpd-1.2.4/src'
make: *** [src] Error 2

With Compaq C V6.1-023 and /sbin/make

cc: Warning: fs.c, line 1152: In this statement, the referenced type of the
pointer value "fs_opendir" is "function (pointer to const char) returning
pointer to void", which is not compatible with "function () returning
pointer to char". (ptrmismatch)
    pglob->gl_opendir = fs_opendir;
----^
*** Exit 1
Stop.
*** Exit 1
Stop.
--
Graham Van Epps
Systems Administrator
Compurex Systems
Received on Fri Jan 18 2002 - 19:04:35 NZDT

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