[OpenAFS-devel] errno errors building on redhat phoebe beta
Russ Allbery
rra@stanford.edu
Wed, 25 Dec 2002 14:14:02 -0800
Matthew Miller <mattdm@mattdm.org> writes:
> cc -I/home/mattdm/rpmbuild/BUILD/openafs-1.2.8/src/config
> -I/home/mattdm/rpmbuild/BUILD/openafs-1.2.8/include
> -I/usr/include -I/usr/include/sys -O2 -Dlinux
> -DLINUX_PAM -fPIC -c -o test_pam.o test_pam.c
Those compile flags are bad news. You should *never* pass -I/usr/include
or particularly -I/usr/include/sys to a compiler unless you're doing very
weird things.
Whatever is adding those -I lines is what's causing the problem.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>