Date: Thu, 21 Aug 1997 14:01:21 +1000 From: David Nugent <davidn@labs.usn.blaze.net.au> To: "Studded" <Studded@dal.net> Cc: "freebsd-bugs@freebsd.org" <freebsd-bugs@FreeBSD.ORG> Subject: Re: Fwd: Re: bin/4308 Message-ID: <199708210401.OAA00903@labs.usn.blaze.net.au> In-Reply-To: Your message of "Wed, 20 Aug 1997 15:43:56 MST." <199708202239.PAA15673@merchant.tns.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708210401.OAA00903>
