<div dir="ltr"><div>One thing that would INCREDIBLY help people trying to help you is find where the symbol is used, look up the variable types in the function call, and create a prototype. For example, both of these are valid xmalloc instances:</div><div> char *xmalloc(int size);</div><div> char *xmalloc(int size, unsigned char fillvalue)</div><div>Seeing the use in the code you are trying to compile will help avoid wrong answers.</div><div><br></div><div>People already likely gave you the answers, but a little leg work on your own before posting will help.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 28, 2023 at 4:22 PM KenUnix <<a href="mailto:ken.unix.guy@gmail.com">ken.unix.guy@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>Hi. I am trying to compile cron for the 3b2-400 and 3b2-700</div><div>and am apparently missing required libraries. The reason is</div><div>on the 3b2-400 after boot up it complains there is corruption</div><div>in the crontab for every user lp, sysadm, root and so on.<br></div><div><br></div><div># make cron<br> cc -O cron.c -o cron<br>undefined first referenced<br> symbol in file<br>el_add cron.o<br>el_delete cron.o<br>el_empty cron.o<br>el_first cron.o<br>el_init cron.o<br>xmalloc cron.o<br>el_remove cron.o<br>num cron.o<br>days_in_mon cron.o<br>days_btwn cron.o<br>ld fatal: Symbol referencing errors. No output written to cron<br>*** Error code 13<br><br>Stop.<br></div><div><br></div><div>Does anyone have these libraries? Thanks.<br></div><div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>WWL 📚<br></div><div><br></div><div><br></div></div></div></div></div>
</blockquote></div>