If you're building on SVR3, cd /usr/src/cmd/cron && make -f cron.mk should
suffice, all four variations on SVR3 sources I have have a cron.mk included.
Curiously, my SVR3.2 for 3B2 sources are missing elm.c and some other bits, and actually
wouldn't build, if you've specifically snagged SVR3.2, you might try sources
from another revision, if we pulled from the same source you're probably also missing
elm.c in that specific revision. There's also an M68k version of SVR3.1 floating
around out there somewhere that appears to have the necessary bits, I can't imagine
there's anything platform specific in cron.
Finally, there's always good old "grep -r 'el_add' /usr/src" and
"find /usr/src -name elm.c"
Best of luck!
- Matt G.
On Thursday, December 28th, 2023 at 1:21 PM, KenUnix <ken.unix.guy(a)gmail.com>
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.
--
WWL 📚