[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#540871: /usr/include/bits/socket.h:68: error: expected identifier before numeric constant



On Mon, Aug 10, 2009 at 08:23:12PM +0200, Kurt Roeckx wrote:
> Source: libc6.1-dev
> Version: 2.9-23
> Severity: important
> 
> Hi,
> 
> While building audit on alpha, I get the following error:
> > gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../auparse   -fPIC -DPIC -D_GNU_SOURCE '-DTABLE_H="actiontab.h"' -Wall -g -O2 -MT gen_actiontabs_h-gen_tables.o -MD -MP -MF .deps/gen_actiontabs_h-gen_tables.Tpo -c -o gen_actiontabs_h-gen_tables.o `test -f 'gen_tables.c' || echo './'`gen_tables.c
> > In file included from /usr/include/sys/socket.h:40,
> >                  from libaudit.h:33,
> >                  from gen_tables.c:36:
> > /usr/include/bits/socket.h:68: error: expected identifier before numeric constant

A preprocessed file has this in it:
   0x40000000 = 04000

/usr/include/asm/socket.h has:
#define SOCK_NONBLOCK 0x40000000


Kurt




Reply to: