Hi,
When building proftpd-dfsg on amd64 I get the following error:
In file included from /usr/include/asm/types.h:5,
from /usr/include/asm-x86_64/sigcontext.h:4,
from /usr/include/asm/sigcontext.h:5,
from /usr/include/bits/sigcontext.h:28,
from /usr/include/signal.h:333,
from /usr/include/sys/wait.h:31,
from ../include/conf.h:95,
from pr_fnmatch.c:38:
/usr/include/asm-x86_64/types.h:6: error: conflicting types for 'mode_t'
/usr/include/sys/types.h:72: error: previous declaration of 'mode_t' was here
Kurt
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
There is no mode_t defined in asm-x86_64/types.h.
Bastian
--
We have phasers, I vote we blast 'em!
-- Bailey, "The Corbomite Maneuver", stardate 1514.2
Line 6 has umode_t on it:
typedef unsigned short umode_t;
While /usr/include/sys/types.h line 72 has:
typedef __mode_t mode_t;
proftpd's configure.in has:
AC_CHECK_TYPE(umode_t, mode_t)
And config.h.in has:
/* Define to `mode_t' if <sys/types.h> doesn't define. */
#undef umode_t
During configure we see:
checking for umode_t... no
The config.log contains:
configure:29869: checking for umode_t
configure:29894: gcc -c -O2 -Wall -I/usr/include/postgresql conftest.c
>&5
conftest.c:122: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ac__type_new_'
conftest.c: In function 'main':
conftest.c:126: error: 'ac__type_new_' undeclared (first use in this function)
conftest.c:126: error: (Each undeclared identifier is reported only once
conftest.c:126: error: for each function it appears in.)
conftest.c:126: error: expected expression before ')' token
So it seems to me that proftpd's configure script is broken somehow.