The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] Trying to compile cron
@ 2023-12-28 21:21 KenUnix
  2023-12-28 21:55 ` [TUHS] " Jeremy C. Reed
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: KenUnix @ 2023-12-28 21:21 UTC (permalink / raw)
  To: UNIX TUHS Group

[-- Attachment #1: Type: text/plain, Size: 977 bytes --]

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 📚

[-- Attachment #2: Type: text/html, Size: 1494 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [TUHS] Re: Trying to compile cron
@ 2023-12-28 22:23 Brian Walden
  0 siblings, 0 replies; 7+ messages in thread
From: Brian Walden @ 2023-12-28 22:23 UTC (permalink / raw)
  To: tuhs

As I messed with making a custom cron in the late 80s,
remembered the the el_ functions are for event list processing.
But you didn't specify the source of your source, by the hardware
it needs to be of System V heritage.  And a lot of that source is hard
to offically come by due to licensing.  Good way to view old SVR4 is
to look at OpenIndiana, Illumos, or OpenSolaris code bases that you can
find. You're in luck, as TUHS has a copy, see -- https://www.tuhs.org/cgi-bin/utree.pl?file=OpenSolaris_b135/cmd/cron/elm.c

Look at the Makefile for the other files you need to compile into it too.

-Brian

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-12-29  2:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-28 21:21 [TUHS] Trying to compile cron KenUnix
2023-12-28 21:55 ` [TUHS] " Jeremy C. Reed
2023-12-28 21:57   ` Warner Losh
2023-12-28 22:13   ` KenUnix
2023-12-28 22:44 ` Rich Salz
2023-12-29  2:27 ` segaloco via TUHS
2023-12-28 22:23 Brian Walden

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).