bjorgvin@rhi.hi.is (Bjorgvin Askelsson) (12/17/90)
I'm having a hard time installing Bruce Evans patches, and was hopeing that someone had already solved my problem. I followed John Nall's tutor, and everything went smootly, except when linking the 32-bit kernel, then i got the message "undefined symbol lsrl". I found out that the error is in some way connected to protect.c becouse, if i compiled it to 32-bit code, then no error appeard. Any suggestions? -------- Bjorgvin Askelsson University of Iceland. Computer Science. Internet: bjorgvin@rhi.hi.is UUCP: ...!mcsun!isgate!rhi!bjorgvin
kevin@nuchat.UUCP (Kevin Brown) (12/17/90)
In article <2548@krafla.rhi.hi.is> bjorgvin@rhi.hi.is (Bjorgvin Askelsson) writes: > I'm having a hard time installing Bruce Evans patches, and was > hopeing that someone had already solved my problem. > > I followed John Nall's tutor, and everything went smootly, except > when linking the 32-bit kernel, then i got the message > "undefined symbol lsrl". > > I found out that the error is in some way connected to protect.c > becouse, if i compiled it to 32-bit code, then no error appeard. > > Any suggestions? You're probably using one of John's earlier tutorials. In it, he tells you to build a library, longlib.a, with the following commands: cd /usr/src/lib/bcc/86 ar r /usr/src/kernel/longlib.a laddl.o lcmpl.o ldecl.o lorl.o lsll.o \ lsrul.o Unfortunately, this is incomplete. You also need to add lsrl.o to the archive. Once you do this, you will be able to link the kernel. Hope this helps. > Bjorgvin Askelsson University of Iceland. Computer Science. -- Kevin Brown Addresses in preferred order: csci31f7@cl.uh.edu nuchat!kevin@uunet.uu.net