<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">this include resolved the issues for me:</div><div class=""><br class=""></div><div class=""><div class="">#include <include/shared.h></div><div class="">#include <include/c.h></div></div><div class=""><br class=""></div><div class=""><div class="">Regards,</div><div class="">Adam</div><div><blockquote type="cite" class=""><div class="">On 8 Nov 2016, at 14:02, Artur Finger <<a href="mailto:fingerartur@gmail.com" class="">fingerartur@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I am using @uniform over putty. After i download kalisto, unzip it,
remove falloc.obj, create falloc.c (with trivial implementations of
falloc.h functions) and run make i get this error:<br class=""><div class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;border-left:1px solid rgb(204,204,204);padding-left:1ex"></div><blockquote class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">In file included from ./mm/falloc.h:19:0,<br class=""> from mm/falloc.c:5:<br class="">./include/c.h: In function 'query_and_disable_interrupts':<br class="">./include/c.h:290:30: error: 'CP0_STATUS_IE_MASK' undeclared (first use in this function)<br class=""> write_cp0_status (status & ~CP0_STATUS_IE_MASK);<br class=""> ^<br class="">./include/c.h:246:10: note: in definition of macro 'write_cp0_register'<br class=""> : "r" (value) \<br class=""> ^~~~~<br class="">./include/c.h:290:2: note: in expansion of macro 'write_cp0_status'<br class=""> write_cp0_status (status & ~CP0_STATUS_IE_MASK);<br class=""> ^~~~~~~~~~~~~~~~<br class="">./include/c.h:290:30: note: each undeclared identifier is reported only once for each function it appears in<br class=""> write_cp0_status (status & ~CP0_STATUS_IE_MASK);<br class=""> ^<br class="">./include/c.h:246:10: note: in definition of macro 'write_cp0_register'<br class=""> : "r" (value) \<br class=""> ^~~~~<br class="">./include/c.h:290:2: note: in expansion of macro 'write_cp0_status'<br class=""> write_cp0_status (status & ~CP0_STATUS_IE_MASK);<br class=""> ^~~~~~~~~~~~~~~~<br class="">./include/c.h: In function 'disable_interrupts':<br class="">./include/c.h:305:42: error: 'CP0_STATUS_IE_MASK' undeclared (first use in this function)<br class=""> write_cp0_status (read_cp0_status () & ~CP0_STATUS_IE_MASK);<br class=""> ^<br class="">./include/c.h:246:10: note: in definition of macro 'write_cp0_register'<br class=""> : "r" (value) \<br class=""> ^~~~~<br class="">./include/c.h:305:2: note: in expansion of macro 'write_cp0_status'<br class=""> write_cp0_status (read_cp0_status () & ~CP0_STATUS_IE_MASK);<br class=""> ^~~~~~~~~~~~~~~~<br class="">./include/c.h: In function 'conditionally_enable_interrupts':<br class="">./include/c.h:328:42: error: 'CP0_STATUS_IE_MASK' undeclared (first use in this function)<br class=""> write_cp0_status (read_cp0_status () | CP0_STATUS_IE_MASK);<br class=""> ^<br class="">./include/c.h:246:10: note: in definition of macro 'write_cp0_register'<br class=""> : "r" (value) \<br class=""> ^~~~~<br class="">./include/c.h:328:3: note: in expansion of macro 'write_cp0_status'<br class=""> write_cp0_status (read_cp0_status () | CP0_STATUS_IE_MASK);<br class=""> ^~~~~~~~~~~~~~~~<br class="">./include/c.h: In function 'enable_interrupts':<br class="">./include/c.h:342:41: error: 'CP0_STATUS_IE_MASK' undeclared (first use in this function)<br class=""> write_cp0_status (read_cp0_status () | CP0_STATUS_IE_MASK);<br class=""> ^<br class="">./include/c.h:246:10: note: in definition of macro 'write_cp0_register'<br class=""> : "r" (value) \<br class=""> ^~~~~<br class="">./include/c.h:342:2: note: in expansion of macro 'write_cp0_status'<br class=""> write_cp0_status (read_cp0_status () | CP0_STATUS_IE_MASK);<br class=""> ^~~~~~~~~~~~~~~~<br class="">Makefile:186: recipe for target 'mm/falloc.o' failed<br class="">make[1]: *** [mm/falloc.o] Error 1<br class="">make[1]: Leaving directory '/home/accounts/finger/kal/kernel'<br class="">Makefile:25: recipe for target 'kernel' failed<br class="">make: *** [kernel] Error 2<br class=""></blockquote></blockquote><div class=""><div class="">What is going on?<br class=""><br class=""></div><div class="">Have a nice day,<br class=""></div><div class="">Artur Finger<br class=""></div></div></div>
_______________________________________________<br class="">OSy mailing list<br class=""><a href="mailto:OSy@d3s.mff.cuni.cz" class="">OSy@d3s.mff.cuni.cz</a><br class="">https://d3s.mff.cuni.cz/mailman/listinfo/osy<br class=""></div></blockquote></div><br class=""></div></body></html>