Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Bug#445611: conflicting types for 'mode_t'
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kurt Roeckx  
View profile  
 More options Oct 7 2007, 5:50 am
Newsgroups: linux.debian.bugs.dist, linux.debian.maint.glibc, linux.debian.kernel
From: Kurt Roeckx <k...@roeckx.be>
Date: Sun, 07 Oct 2007 11:50:11 +0200
Local: Sun, Oct 7 2007 5:50 am
Subject: Bug#445611: conflicting types for 'mode_t'
Package: libc6-dev, linux-libc-dev
Severity: important

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-dist-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bastian Blank  
View profile  
 More options Oct 7 2007, 6:20 am
Newsgroups: linux.debian.bugs.dist, linux.debian.maint.glibc, linux.debian.kernel
From: Bastian Blank <wa...@debian.org>
Date: Sun, 07 Oct 2007 12:20:10 +0200
Local: Sun, Oct 7 2007 6:20 am
Subject: Bug#445611: conflicting types for 'mode_t'

On Sun, Oct 07, 2007 at 11:38:18AM +0200, Kurt Roeckx wrote:
> 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'

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kurt Roeckx  
View profile  
 More options Oct 7 2007, 7:10 am
Newsgroups: linux.debian.bugs.dist, linux.debian.maint.glibc, linux.debian.kernel
From: Kurt Roeckx <k...@roeckx.be>
Date: Sun, 07 Oct 2007 13:10:06 +0200
Local: Sun, Oct 7 2007 7:10 am
Subject: Bug#445611: conflicting types for 'mode_t'

On Sun, Oct 07, 2007 at 12:09:51PM +0200, Bastian Blank wrote:
> On Sun, Oct 07, 2007 at 11:38:18AM +0200, Kurt Roeckx wrote:
> > 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'

> There is no mode_t defined in asm-x86_64/types.h.

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.

Kurt

--
To UNSUBSCRIBE, email to debian-bugs-dist-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »