[OpenAFS-devel] gcc 4.0, Fedora Core 4 patch
Adam Goode
agoode@andrew.cmu.edu
Thu, 16 Jun 2005 10:43:22 -0400
--=-hgTyya8oT1EY+at26BYu
Content-Type: multipart/mixed; boundary="=-GTqBE0h8J3zPHJ3cX6SQ"
--=-GTqBE0h8J3zPHJ3cX6SQ
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Here is a tiny patch to get OpenAFS working on Fedora Core 4. FC4 builds
everything, including the kernel, with GCC 4.0. Without this patch,
compilation of the kernel modules dies with "struct coda_inode_info
redefined" and "struct xfs_inode_info redefined".
This patch just removes these definitions from src/afs/sysincludes.h. I
don't know if this is correct in all cases, but it does work here. Also,
do the nearby #define statements need to go? I'm not sure.
Thanks,
Adam
--=-GTqBE0h8J3zPHJ3cX6SQ
Content-Disposition: attachment; filename=openafs-1.3.84-gcc4.patch
Content-Transfer-Encoding: base64
Content-Type: text/x-patch; name=openafs-1.3.84-gcc4.patch; charset=UTF-8
ZGlmZiAtdXIgb3BlbmFmcy0xLjMuODQvc3JjL2Fmcy9zeXNpbmNsdWRlcy5oIG9wZW5hZnMtMS4z
Ljg0LWFnb29kZS9zcmMvYWZzL3N5c2luY2x1ZGVzLmgNCi0tLSBvcGVuYWZzLTEuMy44NC9zcmMv
YWZzL3N5c2luY2x1ZGVzLmgJMjAwNS0wNC0wMyAxNDoxODo1NC4wMDAwMDAwMDAgLTA0MDANCisr
KyBvcGVuYWZzLTEuMy44NC1hZ29vZGUvc3JjL2Fmcy9zeXNpbmNsdWRlcy5oCTIwMDUtMDYtMTUg
MTU6Mjc6NTIuMDAwMDAwMDAwIC0wNDAwDQpAQCAtNzYsMTEgKzc2LDcgQEANCiAjZGVmaW5lIF9M
SU5VWF9DT0RBX0ZTX0kNCiAjZW5kaWYNCiAjZGVmaW5lIF9DRlNfSEVBREVSXw0KLXN0cnVjdCBj
b2RhX2lub2RlX2luZm8gew0KLX07DQogI2RlZmluZSBfTElOVVhfWEZTX0ZTX0kNCi1zdHJ1Y3Qg
eGZzX2lub2RlX2luZm8gew0KLX07DQogI2luY2x1ZGUgPGFzbS91YWNjZXNzLmg+DQogI2luY2x1
ZGUgPGxpbnV4L2xpc3QuaD4NCiAjaW5jbHVkZSA8bGludXgvZGNhY2hlLmg+DQo=
--=-GTqBE0h8J3zPHJ3cX6SQ--
--=-hgTyya8oT1EY+at26BYu
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQBCsZAJlenB4PQRJawRAsjrAJwMC1GXfmm1v04W8AFMjguVmDkwpACgq8gX
NjWXBwtW7vJOrZ0N90H4qZU=
=hwVt
-----END PGP SIGNATURE-----
--=-hgTyya8oT1EY+at26BYu--