[OpenAFS-devel] errno errors building on redhat phoebe beta
Matthew Miller
mattdm@mattdm.org
Wed, 25 Dec 2002 15:32:58 -0500
On Wed, Dec 25, 2002 at 11:18:58AM -0800, Russ Allbery wrote:
> The latest glibc broke all code that uses extern int errno. Including
> errno.h now *has* to be done instead. There's a bunch of turmoil on the
> Debian devel lists about it, since there are a lot of packages that do the
> wrong thing, but the ISO C standard says that glibc's approach is
> legitimate and extern int errno declarations aren't allowed.
I went through and changed all references, but now it dies in src/pam:
make[3]: Entering directory
`/home/mattdm/rpmbuild/BUILD/openafs-1.2.8/src/pam'
cc -I/home/mattdm/rpmbuild/BUILD/openafs-1.2.8/src/config
-I/home/mattdm/rpmbui
ld/BUILD/openafs-1.2.8/include -I/usr/include -I/usr/include/sys -O2 -Dlinux
-DL
INUX_PAM -fPIC -c -o test_pam.o test_pam.c
In file included from /usr/include/sys/unistd.h:1,
from /usr/include/sys/unistd.h:1,
from /usr/include/sys/unistd.h:1,
[snip many many lines]
from /usr/include/sys/unistd.h:1,
from /usr/include/sys/unistd.h:1,
from test_pam.c:19:
/usr/include/sys/unistd.h:1:10: #include nested too deeply
[....]
So obviously I did something a bit too hastily.
--
Matthew Miller mattdm@mattdm.org <http://www.mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>