Adding  <linux/limits.h> in  special.c enables the package
gpm-1.19.2-1.src.rpm to build.

Environment: gcc-2.96-21, glibc-2.1.90-17, binutils-2.9.5.0.46-1

gcc -I/usr/src/redhat/BUILD/gpm-1.19.2 -I/usr/src/redhat/BUILD/gpm-1.19.2 
-DHAVE_CONFIG_H -include ./config.h -DSYSCONFDIR=\"/etc\" -DSBINDIR=\"/usr/sbin\"  
-D_GNU_SOURCE -O2 -march=i686 -D_GNU_SOURCE -O2 -march=i686 -c -o special.o special.c
special.c: In function `processSpecial':
special.c:157: `OPEN_MAX' undeclared (first use in this function)
special.c:157: (Each undeclared identifier is reported only once
special.c:157: for each function it appears in.)
make: *** [special.o] Error 1
Bad exit status from /var/tmp/rpm-tmp.66827 (%build)



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to