[OpenAFS] Compiling OpenAFS on Linux gcc3.2

Neulinger, Nathan nneul@umr.edu
Mon, 16 Dec 2002 12:55:55 -0600


It's fixed in cvs, but you can fix by editing the Makefile.in/Makefile
in the pam dir, and remove the -I for /usr/include and /usr/include/sys.


-- Nathan

------------------------------------------------------------
Nathan Neulinger                       EMail:  nneul@umr.edu
University of Missouri - Rolla         Phone: (573) 341-4841
Computing Services                       Fax: (573) 341-4216


> -----Original Message-----
> From: Thomas L. Bevan [mailto:thomas_bevan@SoftHome.net]=20
> Sent: Sunday, December 15, 2002 5:06 PM
> To: openafs-info@openafs.org
> Subject: [OpenAFS] Compiling OpenAFS on Linux gcc3.2
>=20
>=20
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
> Hi,
>=20
> I'm having problems compiling OpenAFS 1.2.6 on Linux gcc3.2
> The error message I get is,
>=20
> make[3]: Entering directory `/tmp/openafs-1.2.6/src/pam'
> cc  -I/tmp/openafs-1.2.6/src/config -I/tmp/openafs-1.2.6/include=20
> - -I/usr/include -I/usr/include/sys -O2 -Dlinux -DLINUX_PAM=20
> -fPIC   -c -o=20
> 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,
>                  from /usr/include/sys/unistd.h:1,
>                  from test_pam.c:19:
> /usr/include/sys/unistd.h:1:10: #include nested too deeply
>=20
> Any ideas on how to fix this?
>=20
>=20
> Tom
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
>=20
> iD8DBQE9/QrtGse0w80KF2gRAsBDAJ9PbYZ22L5eWj2/+jzgh6/HOWgNDACdHjaq
> x9VppSyeav2/bqNQV+1ZOWQ=3D
> =3Dt20+
> -----END PGP SIGNATURE-----
>=20
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>=20