From owner-freebsd-bugs Wed Aug 20 21:01:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA27542 for bugs-outgoing; Wed, 20 Aug 1997 21:01:58 -0700 (PDT) Received: from labs.usn.blaze.net.au (root@labs.usn.blaze.net.au [203.17.53.30]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA27535 for ; Wed, 20 Aug 1997 21:01:47 -0700 (PDT) Received: from labs.usn.blaze.net.au (davidn@local [127.0.0.1]) by labs.usn.blaze.net.au (8.8.7/8.8.5) with ESMTP id OAA00903; Thu, 21 Aug 1997 14:01:22 +1000 (EST) Message-Id: <199708210401.OAA00903@labs.usn.blaze.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Studded" cc: "freebsd-bugs@freebsd.org" Subject: Re: Fwd: Re: bin/4308 In-reply-to: Your message of "Wed, 20 Aug 1997 15:43:56 MST." <199708202239.PAA15673@merchant.tns.net> X-Face: (W@z~5kg?"+5?!2kHP)+l369.~a@oTl^8l87|/s8"EH?Uk~P#N+Ec~Z&@;'LL!;3?y Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 21 Aug 1997 14:01:21 +1000 From: David Nugent Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > 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 cd /usr/src/lib; make install would have fixed it. > ===> 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 You need to: cd /usr/src/lib/libutil make; make install You'll also need to cp /usr/src/etc/login.conf /etc. However, since you're building piecemeal on an older system, it is probably easier just to remove the -DLOGIN_CAP from the CFLAGS definition in cron's Makefiles. Regards, David