[TUHS] Trying to compile cron

Jeremy C. Reed reed at reedmedia.net
Fri Dec 29 07:55:08 AEST 2023


On Thu, 28 Dec 2023, KenUnix wrote:

> Hi. I am trying to compile cron for the 3b2-400 and 3b2-700
> and am apparently missing required libraries. The reason is
> on the 3b2-400 after boot up it complains there is corruption
> in the crontab for every user lp, sysadm, root and so on.
> 
> # make cron
>         cc -O  cron.c -o cron
> undefined                       first referenced
>  symbol                             in file
> el_add                              cron.o
> el_delete                           cron.o
> el_empty                            cron.o
> el_first                            cron.o
> el_init                             cron.o
> xmalloc                             cron.o
> el_remove                           cron.o
> num                                 cron.o
> days_in_mon                         cron.o
> days_btwn                           cron.o
> ld fatal: Symbol referencing errors. No output written to cron
> *** Error code 13
> 
> Stop.
> 
> Does anyone have these libraries? Thanks.

At first I thought the el_ code was editline code but that doesn't make 
sense in cron, but then I found the General-Purpose Event List Manager.

See
https://www.tuhs.org/cgi-bin/utree.pl?file=SysVR4/cmd/cron/elm.c
and
https://www.tuhs.org/cgi-bin/utree.pl?file=SysVR4/cmd/cron/funcs.c

Does your cron source come with this other code?

By the way, how to browse the SysVR4 code at TUHS?


More information about the TUHS mailing list