Date: Wed, 20 Aug 97 15:43:56 -0700 From: "Studded" <Studded@dal.net> To: "freebsd-bugs@freebsd.org" <freebsd-bugs@freebsd.org> Subject: Fwd: Re: bin/4308 Message-ID: <199708202239.PAA15673@merchant.tns.net>
next in thread | raw e-mail | index | archive | help
Forgot to cc: the list. Doug ==================BEGIN FORWARDED MESSAGE================== >From: "Studded" <Studded@dal.net> >To: "Andreas Klemm" <andreas@FreeBSD.ORG> >Date: Tue, 19 Aug 97 03:50:08 -0700 On Sun, 17 Aug 1997 08:21:53 -0700 (PDT), Andreas Klemm wrote: >Synopsis: FreeBSD uses an out of date version of vixie cron > >State-Changed-From-To: open-feedback >State-Changed-By: andreas >State-Changed-When: Sun Aug 17 17:20:08 MEST 1997 >State-Changed-Why: > >could you please update your system to 2.2-STABLE and re-try ? Well, I have a small problem, namely that I can't upgrade any of my production systems right now, and it'll be a few days before I can set up a test system. One of our systems is an older -stable, 2.2-STABLE FreeBSD 2.2-STABLE #0: Wed Jul 9 19:28:21 PDT 1997 But this system has the same problem (leaving the ghost cron process behind). I tried getting the 8/18 -stable usbin sources and building cron, but I got the following errors after doing make clean then make: Warning: Object directory not changed from original /usr/src/usr.sbin/cron/lib cc -O2 -pipe -I/usr/src/usr.sbin/cron/lib/../cron -c entry.c -o entry.o cc -O2 -pipe -I/usr/src/usr.sbin/cron/lib/../cron -c env.c -o env.o cc -O2 -pipe -I/usr/src/usr.sbin/cron/lib/../cron -c misc.c -o misc.o building standard cron library ranlib libcron.a ===> cron Warning: Object directory not changed from original /usr/src/usr.sbin/cron/cron cc -O2 -pipe -DLOGIN_CAP -c cron.c cc -O2 -pipe -DLOGIN_CAP -c database.c cc -O2 -pipe -DLOGIN_CAP -c do_command.c do_command.c:32: login_cap.h: No such file or directory do_command.c: In function `child_process': do_command.c:228: `LOGIN_SETALL' undeclared (first use this function) do_command.c:228: (Each undeclared identifier is reported only once do_command.c:228: for each function it appears in.) do_command.c:228: `LOGIN_SETPATH' undeclared (first use this function) do_command.c:228: `LOGIN_SETENV' undeclared (first use this function) *** Error code 1 Stop. *** Error code 1 Stop. I finally figured out that it was looking for login_cap.h but not finding it, so I made a symbolic link to /usr/src/lib/libutil/login_cap.h and changed do_command.c to look in the cron/cron directory, and that got me through make clean, make depend. When I did make at this point, I got this: ===> cron Warning: Object directory not changed from original /usr/src/usr.sbin/cron/cron cc -O2 -pipe -DLOGIN_CAP -c cron.c cc -O2 -pipe -DLOGIN_CAP -c database.c cc -O2 -pipe -DLOGIN_CAP -c do_command.c cc -O2 -pipe -DLOGIN_CAP -c job.c cc -O2 -pipe -DLOGIN_CAP -c user.c cc -O2 -pipe -DLOGIN_CAP -c popen.c cc -O2 -pipe -DLOGIN_CAP -o cron cron.o database.o do_command.o job.o user.o popen.o -L/usr/src/usr.sbin/cron/cron/../lib -lutil -lcron do_command.o: Undefined symbol `_setusercontext' referenced from text segment *** Error code 1 Stop. *** Error code 1 Stop. We have now exceeded the limits of my understanding (I'm not a programmer). So if you have any suggestions, I'll be glad to do what I can. Otherwise I'll try and put together a 2.2.2-Release setup and test it again. Thanks for your interest, Doug Do thou amend they face, and I'll amend my life. -Shakespeare, "Henry V"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708202239.PAA15673>
