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=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HTML_MESSAGE,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10170 invoked from network); 28 Dec 2023 21:58:23 -0000 Received: from minnie.tuhs.org (2600:3c01:e000:146::1) by inbox.vuxu.org with ESMTPUTF8; 28 Dec 2023 21:58:23 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 457AA43D4F; Fri, 29 Dec 2023 07:58:19 +1000 (AEST) Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by minnie.tuhs.org (Postfix) with ESMTPS id 0741F43D4D for ; Fri, 29 Dec 2023 07:58:13 +1000 (AEST) Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-40d5a9cb423so29302605e9.2 for ; Thu, 28 Dec 2023 13:58:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1703800691; x=1704405491; darn=tuhs.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=hmqHs4No9Pl7jySIbQwoGJlRL4vseBQksjDKJRfD1nU=; b=nsWrND6yBjEwfK3XQcTEk087gfNKX7arPddngFyFIVRPzJa1urO0W3UgB1Ic+43V/2 ooGnnWivzd65kNjjkZr+S0bxSfa8fl0XB2/w0svo9kslFvtk3FmtbF86sjEbREF8cy5J yzHh+ccQ8gnblBKbN2rp5DZ0HeyszYX56DXIsjOgPG+Fcp7I1OXXNCUSmVKTGIMDn3yg LFY1RCgw+me/Vj6f1ID7UHTPMPOMfQ0E/2cBuHLWEmwzKST3AJBECZIAkEoq6hifW8Iz N0VbOzEyLy+pmtLQxcF8whp0eBUq74Q8hh84j2VyY4Ffm7ggyYQo+d21+SC/aPI0pHZI 7v7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703800691; x=1704405491; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hmqHs4No9Pl7jySIbQwoGJlRL4vseBQksjDKJRfD1nU=; b=JQH0ek4ZfhNXJoC73gD4YXXzfYdq5opxDzFsHgklvyaRqpoSfiEqtRPjdYiW6hjybV AizuGmWAiQssTVVrWZU7QYSTlzCq+g18hLwJR3WknYbVXunHomduJ8w9EhhbOXxWPWpq 7FQMSo8rJNcLVIbR80BkhE9z3ISh9H6LCHG06lDVBAJy8lSWgXDsDvl6l6nOWz7L3HiD 44kRxmnSb+0gjJXc1rZ5xDU/VwW7FsdjQfbs1JejLl4E0YTDnwzeqeQIBDKHgq29urYY 5uWJ7mTJEFQqm4+qirMi28IkkenOIBakvkjMC7rQ8ZYg6kgx2bMjBZcm9RdGJ013bgX3 VDBA== X-Gm-Message-State: AOJu0YyoirKf8rfWQR9O4Xhnu74XQA0PYYmHDFukt8p383hGGzoq+hGH L99TGAXRFA18IO0RLtRwSAxz2symOjb2dbMoG9JX2awbkYjeL1VoctdACUDgrcc= X-Google-Smtp-Source: AGHT+IFBvuG6VStxHIVQAIZSLPweP1/kP9X47uDHniq4agzyo/0JO14D03mdtLNzql5H6yw6jXwdNxF9lGo5vcnvXuw= X-Received: by 2002:a05:600c:283:b0:40d:1d7f:a810 with SMTP id 3-20020a05600c028300b0040d1d7fa810mr6817634wmk.102.1703800691048; Thu, 28 Dec 2023 13:58:11 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Thu, 28 Dec 2023 14:57:59 -0700 Message-ID: To: "Jeremy C. Reed" Content-Type: multipart/alternative; boundary="000000000000f557df060d990292" Message-ID-Hash: 7M2LS26BY6SHC2G7ECPJMHPO3JKJY6YI X-Message-ID-Hash: 7M2LS26BY6SHC2G7ECPJMHPO3JKJY6YI X-MailFrom: wlosh@bsdimp.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 CC: KenUnix , UNIX TUHS Group 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: --000000000000f557df060d990292 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Dec 28, 2023, 2:55=E2=80=AFPM Jeremy C. Reed w= rote: > 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 > Try just cc *.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=3DSysVR4/cmd/cron/elm.c > and > https://www.tuhs.org/cgi-bin/utree.pl?file=3DSysVR4/cmd/cron/funcs.c > > Does your cron source come with this other code? > > By the way, how to browse the SysVR4 code at TUHS? > --000000000000f557df060d990292 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Thu, Dec 28, 2023, 2:55=E2=80=AFPM Jeremy C. Reed &= lt;reed@reedmedia.net> wrote:<= br>
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
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 cc -O =C2=A0cron.c -o cron

Try just cc *.c = -o cron

> undefined =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 first referenced
> =C2=A0symbol =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 in file
> el_add =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0cron.o
> el_delete =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 cron.o
> el_empty =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0cron.o
> el_first =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0cron.o
> el_init =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 cron.o
> xmalloc =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 cron.o
> el_remove =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 cron.o
> num =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 cron.o
> days_in_mon =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 cron.o
> days_btwn =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 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/cg= i-bin/utree.pl?file=3DSysVR4/cmd/cron/elm.c
and
https://www.tuhs.org/= cgi-bin/utree.pl?file=3DSysVR4/cmd/cron/funcs.c

Does your cron source come with this other code?

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