[OpenAFS-devel] OpenAFS 1.2.9-rc3 under RedHat 9

Frank Bagehorn fba@zurich.ibm.com
Mon, 31 Mar 2003 16:00:14 +0200


--=_mixed 004CEC19C1256CFA_=
Content-Type: text/plain; charset="US-ASCII"

I was able to compile 1.2.9-rc3 under RedHat 9. I tested it and it seems 
to work so far.
Besides the change to fix the krb4_cross type mismatch I had to do some 
changes in osi_machdep.h .
They reflect the fact, that the struct task_struct in the RedHat kernel is 
changed compared to the stock kernel.
I attach the patches.

The only remaining issue, is a error message when loading the module:
        Incorrectly built binary which accesses errno, h_errno or _res 
directly.
        Needs to be fixed.
Anyone knows how to get rid of that one ?

Regards
Frank



----------------------------------------------------------------------
Dr. Frank Bagehorn
IBM Zurich Research Lab.
Saeumerstr. 4
CH-8803 Rueschlikon 
Switzerland
----------------------------------------------------------------------
SMTP: fba@zurich.ibm.com
Notes: Frank Bagehorn/Zurich/IBM@IBMCH
phone: ++41 (01) 724 83 23  fax: ++41 (01) 724 89 59
--=_mixed 004CEC19C1256CFA_=
Content-Type: application/octet-stream; name="redhat9.patch"
Content-Disposition: attachment; filename="redhat9.patch"
Content-Transfer-Encoding: base64

LS0tIC4vc3JjL2Fmcy9MSU5VWC9vc2lfbWFjaGRlcC5oLm9yaWcJMjAwMy0wMS0zMSAyMzozNjo0
OS4wMDAwMDAwMDAgKzAxMDAKKysrIC4vc3JjL2Fmcy9MSU5VWC9vc2lfbWFjaGRlcC5oCTIwMDMt
MDMtMjggMTY6MjE6NDMuMDAwMDAwMDAwICswMTAwCkBAIC02Miw3ICs2Miw3IEBACiBzdGF0aWMg
aW5saW5lIHZvaWQgX3JlY2FsY19zaWdwZW5kaW5nX3RzayhzdHJ1Y3QgdGFza19zdHJ1Y3QgKnQp
CiB7CiAgICAgdC0+c2lncGVuZGluZyA9IFBFTkRJTkcoJnQtPnBlbmRpbmcsICZ0LT5ibG9ja2Vk
KSB8fAotICAgICAgICBQRU5ESU5HKCZ0LT5zaWctPnNoYXJlZF9wZW5kaW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