<div dir="ltr">Thanks for the offer. I have no RULES file, there's some thin readme that doesn't help.<div>I see "populate", "makelinks" and "mkinclude" that all fail at various stages. If you have instructions that get me to "make" in either sys/os or sys/boot without errors then that's a start. I could also use a system image I can just extract. I can give you a dump of the file system. Whatever is easier for you.</div><div><br></div><div>The goal is to add some debugging statements in sys/os/init_main.c. main function. I get hung up somewhere after dumpinit(); and before kern_proc(icode1, 0); can properly execute and get into init. I can tell because I can compile init with debug and test on an original, but because it's smaller with fewer deps. I can't compile this part of the kernel without errors, and it seems to be one of the objects that gets loaded up in the regular config/kernel configuration. If I got the path here wrong, please let me know.</div><div><br></div><div>In the longer run I need to also figure out how to compile a boot prom with tweaks, but that can be a different thread.</div><div><br></div><div>Thanks again,</div><div>Dan.</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sat, Jun 7, 2025 at 11:51 PM Henry Bent <<a href="mailto:henry.r.bent@gmail.com">henry.r.bent@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 8 Jun 2025 at 02:39, Dan Moisa via rescue <<a href="mailto:rescue@sunhelp.org" target="_blank">rescue@sunhelp.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Anyone know how to unpack and set up the sources for sunos4 so they compile? I'm getting tripped with SCCS, etc and the only resource I found at <a href="https://archive.org/details/bitsavers_sunsunos3.eInstallationGuide198610_158634" target="_blank">https://archive.org/details/bitsavers_sunsunos3.eInstallationGuide198610_158634</a> isn't helping.<div><br></div><div>I need to modify sys/os/init_main.c to debug a hang-up. If anyone has experience with the kernel code, pls let me know.</div></div></blockquote><div><br></div><div>Yes, I have done this.  The source tree should be in /usr/src and reading RULES should tell you what you need to know.  If you have a more specific question, show me what you're doing and we can try to figure it out.</div><div><br></div><div>-Henry </div></div></div>
</blockquote></div>