Hi,
no success, just a failure report:
ProFTPD 1.3.5 fails to build on OS/2 target.
Platform version:
[F:\GCC]uname -a
OS/2 EUROPA 1 2.30 i386 i386 GenuineIntel OS/2
[F:\GCC]VER /R
The Operating System/2 Version is 3.00. Revision 8.266.
Compiler: gcc 3.3.5 (csd4)
While the ./configure script completes successfully, the
generated Makefile states in line 242-246:
# This target tends to cause more problems than its worth; there are many
# differences between autoconf versions, installed macros, etc between the
# machine used to generate the shipping configure script and the machine on
# which this target might trigger. So try to keep the craziness down by
# avoiding this altogether.
For details, refer to the logfile below.
I didn't find any references to OS/2 in the mailing list archive.
Does anyone know about other efforts to port ProFTPD to OS/2? The
system's BSD-derived FTP daemon has issues with several clients,
it's worth a modern replacement.
Feedback welcome,
Regards Torsten Kühn, Basle
______ Build log proftpd-dfsg-1.3.5 (from Debian 8.1.0 source package) ______
[E:\GCC]SET
{...}
ETC=E:\IBMPEER\ETC
HOME=E:/IBMPEER/ETC
HOSTNAME=EUROPA
PERL_SH_DIR=E:/UTILS
TERMCAP=E:/IBMPEER/ETC/TERMCAP.DAT
USE_HOSTS_FIRST=1
BEGINLIBPATH = E:\GCC\LIB;
C_INCLUDE_PATH=E:/GCC/INCLUDE;
CPLUS_INCLUDE_PATH=E:/GCC/INCLUDE;
EMXOPT=-c -n -h256
GCCLOAD=5
GCCOPT=-pipe
LIBRARY_PATH=E:/GCC/LIB;
CC=E:/gcc/bin/gcc
GREP=E:/bin/grep
SED=E:/bin/sed
TERM=os2
[E:\GCC]gcc --version
gcc (GCC) 3.3.5 (Bird Build 2011-10-03 04:55 (csd4))
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[E:\GCC]make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-pc-os2-emx
[E:\GCC\proftpd-dfsg-1.3.5]E:/bin/sh configure --disable-ipv6
{...}
[E:\GCC\proftpd-dfsg-1.3.5]make
cd lib/ && make lib
make[1]: Entering directory `E:/GCC/proftpd-dfsg-1.3.5/lib'
E:/gcc/bin/gcc -DHAVE_CONFIG_H -DOS2 -I.. -I../include -O2 -Wall -c
pr_fnmatch.c
E:/gcc/bin/gcc -DHAVE_CONFIG_H -DOS2 -I.. -I../include -O2 -Wall -c
sstrncpy.c
E:/gcc/bin/gcc -DHAVE_CONFIG_H -DOS2 -I.. -I../include -O2 -Wall -c strsep.c
E:/gcc/bin/gcc -DHAVE_CONFIG_H -DOS2 -I.. -I../include -O2 -Wall -c
vsnprintf.c
E:/gcc/bin/gcc -DHAVE_CONFIG_H -DOS2 -I.. -I../include -O2 -Wall -c
glibc-glob.c
E:/gcc/bin/gcc -DHAVE_CONFIG_H -DOS2 -I.. -I../include -O2 -Wall -c
glibc-hstrerror.c
E:/gcc/bin/gcc -DHAVE_CONFIG_H -DOS2 -I.. -I../include -O2 -Wall -c
glibc-mkstemp.c
E:/gcc/bin/gcc -DHAVE_CONFIG_H -DOS2 -I.. -I../include -O2 -Wall -c
pr-syslog.c
E:/gcc/bin/gcc -DHAVE_CONFIG_H -DOS2 -I.. -I../include -O2 -Wall -c pwgrent.c
E:/gcc/bin/gcc -DHAVE_CONFIG_H -DOS2 -I.. -I../include -O2 -Wall -c tpl.c
tpl.c: In function `tpl_unmap_file':
tpl.c:573: warning: implicit declaration of function `munmap'
tpl.c: In function `tpl_dump':
tpl.c:1000: warning: implicit declaration of function `msync'
tpl.c:1000: error: `MS_SYNC' undeclared (first use in this function)
tpl.c:1000: error: (Each undeclared identifier is reported only once
tpl.c:1000: error: for each function it appears in.)
tpl.c: In function `tpl_mmap_output_file':
tpl.c:1729: error: `MAP_SHARED' undeclared (first use in this function)
tpl.c:1730: error: `MAP_FAILED' undeclared (first use in this function)
tpl.c: In function `tpl_mmap_file':
tpl.c:1760: error: `MAP_PRIVATE' undeclared (first use in this function)
tpl.c:1761: error: `MAP_FAILED' undeclared (first use in this function)
make[1]: *** [tpl.o] Error 1
make[1]: Leaving directory `E:/GCC/proftpd-dfsg-1.3.5/lib'
make: *** [lib] Error 2
_________________________ proftpd-dfsg-1.3.5 log end ________________________
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
ProFTPD Developers List
<[email protected]>
https://lists.sourceforge.net/lists/listinfo/proftp-devel