[OpenAFS-devel] question about building from CVS..

Mattias Pantzare pantzer@ludd.ltu.se
Mon, 17 Mar 2008 12:27:40 +0100


------=_Part_3195_19768870.1205753260843
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

2008/3/17, Coy Hile <coy.hile@coyhile.com>:
>
>  I'm getting errors attempting to build 1.4.6 against Solaris Express snv_84.
>  (I believe some work had recently been done on the VFS layer in Solaris?)
>

I have a patch for 1.5, it might apply to 1.4.

------=_Part_3195_19768870.1205753260843
Content-Type: application/octet-stream; name=openafs_sol11.diff
Content-Transfer-Encoding: base64
X-Attachment-Id: f_fdwyb9or
Content-Disposition: attachment; filename=openafs_sol11.diff

SW5kZXg6IHNyYy9hZnMvYWZzX3Bpb2N0bC5jCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC9jdnMvb3Bl
bmFmcy9zcmMvYWZzL2Fmc19waW9jdGwuYyx2CnJldHJpZXZpbmcgcmV2aXNpb24gMS4xMjEKZGlm
ZiAtYyAtcjEuMTIxIGFmc19waW9jdGwuYwoqKiogc3JjL2Fmcy9hZnNfcGlvY3RsLmMJNCBKYW4g
MjAwOCAxNzozOTowNSAtMDAwMAkxLjEyMQotLS0gc3JjL2Fmcy9hZnNfcGlvY3RsLmMJMSBNYXIg
MjAwOCAxMjowNzozNSAtMDAwMAoqKioqKioqKioqKioqKioKKioqIDg4NSw4OTIgKioqKgogICNp
ZiBkZWZpbmVkKEFGU19TVU41MTBfRU5WKQogICAgICBpZiAodnAgJiYgIUlzQWZzVm5vZGUodnAp
KSB7CiAgCXN0cnVjdCB2bm9kZSAqcmVhbHZwOwohIAkKICAJaWYgKFZPUF9SRUFMVlAodnAsICZy
ZWFsdnApID09IDApIHsKICAJICAgIHN0cnVjdCB2bm9kZSAqb2xkdnAgPSB2cDsKICAJICAgIAog
IAkgICAgVk5fSE9MRChyZWFs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