<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 28, 2023, 2:55 PM Jeremy C. Reed <<a href="mailto:reed@reedmedia.net">reed@reedmedia.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 28 Dec 2023, KenUnix wrote:<br>
<br>
> Hi. I am trying to compile cron for the 3b2-400 and 3b2-700<br>
> and am apparently missing required libraries. The reason is<br>
> on the 3b2-400 after boot up it complains there is corruption<br>
> in the crontab for every user lp, sysadm, root and so on.<br>
> <br>
> # make cron<br>
>         cc -O  cron.c -o cron<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Try just cc *.c -o cron</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> 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>
> <br>
> Does anyone have these libraries? Thanks.<br>
<br>
At first I thought the el_ code was editline code but that doesn't make <br>
sense in cron, but then I found the General-Purpose Event List Manager.<br>
<br>
See<br>
<a href="https://www.tuhs.org/cgi-bin/utree.pl?file=SysVR4/cmd/cron/elm.c" rel="noreferrer noreferrer" target="_blank">https://www.tuhs.org/cgi-bin/utree.pl?file=SysVR4/cmd/cron/elm.c</a><br>
and<br>
<a href="https://www.tuhs.org/cgi-bin/utree.pl?file=SysVR4/cmd/cron/funcs.c" rel="noreferrer noreferrer" target="_blank">https://www.tuhs.org/cgi-bin/utree.pl?file=SysVR4/cmd/cron/funcs.c</a><br>
<br>
Does your cron source come with this other code?<br>
<br>
By the way, how to browse the SysVR4 code at TUHS?<br>
</blockquote></div></div></div>