[OpenAFS-devel] errno errors building on redhat phoebe beta

Matthew Miller mattdm@mattdm.org
Wed, 25 Dec 2002 18:33:40 -0500


On Wed, Dec 25, 2002 at 02:14:02PM -0800, Russ Allbery wrote:
> > 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.

I didn't go out of my way to do it; this is from rebuilding the RPM. And the
RPM isn't doing anything particularly fancy; just calling 'make'.

-- 
Matthew Miller           mattdm@mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>