Bug#455427: OPEN_MAX macro removed from linux/limits.h on

Martin Michlmayr tbm at cyrius.com
Mon Dec 10 00:27:57 UTC 2007


Package: gpm
Version: 1.19.6-25
Severity: serious

The OPEN_MAX macro was removed from linux/limits.h on amd64, see
#454875.  waldi writes

> OPEN_MAX got removed from the headers because nothing in the kernel
> respects this value any longer as it is a variable limit.

> Automatic build of gpm_1.19.6-25 on em64t by sbuild/amd64 0.53
...
> gcc -I. -DHAVE_CONFIG_H -include headers/config.h -DSYSCONFDIR=\"/etc\" -DSBINDIR=\"/usr/sbin\" -Wall  -Wall -g -D_REENTRANT -O2  -c -o special.o special.c
> special.c: In function 'processSpecial':
> special.c:158: error: 'OPEN_MAX' undeclared (first use in this function)
> special.c:158: error: (Each undeclared identifier is reported only once
> special.c:158: error: for each function it appears in.)
> make[2]: *** [special.o] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/





More information about the pkg-gpm-devel mailing list