From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 12405 invoked from network); 28 Dec 2023 22:25:32 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 28 Dec 2023 22:25:32 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id B158A43D5F; Fri, 29 Dec 2023 08:25:27 +1000 (AEST) Received: from cuzuco.com (v.cuzuco.com [166.84.7.17]) by minnie.tuhs.org (Postfix) with ESMTP id B6BCB43D5E for ; Fri, 29 Dec 2023 08:25:20 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by cuzuco.com (8.14.9/8.13.3) with SMTP id 3BSMN2W8004242; Thu, 28 Dec 2023 17:23:15 -0500 (EST) Date: Thu, 28 Dec 2023 17:23:02 -0500 (EST) Message-Id: <202312282223.3BSMN2W8004242@cuzuco.com> From: Brian Walden To: Message-ID-Hash: 2M3ECYTBABBWPP7XPTFBU6CCHO47FHHM X-Message-ID-Hash: 2M3ECYTBABBWPP7XPTFBU6CCHO47FHHM X-MailFrom: tuhs@cuzuco.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: Trying to compile cron List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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.