Date: Sat, 16 Mar 2002 09:42:22 -0800 (PST) From: Lamont Granquist <lamont@scriptkiddie.org> To: <current@FreeBSD.ORG> Subject: Re: 4.5->5.0 kldxref:No such file or directory Message-ID: <20020316093615.T5356-100000@coredump.scriptkiddie.org> In-Reply-To: <xzpn0x9o8ko.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On 15 Mar 2002, Dag-Erling Smorgrav wrote:
> Emiel Kollof <coolvibe@hackerheaven.org> writes:
> > Why not test for it like this (or similar):
> >
> > [ -x /usr/sbin/kldxref ] && /usr/bin/kldxref (etcetera...)
>
> A better solution is
>
> @(kldxref ${DESTDIR}${KMODDIR} || \
> echo "Ignoring non-fatal kldxref failure")
I'd strongly suggest *something* like this.
I'm pretty familiar with make but at 3am the other night I missed the
"(ignored)" in the make output and figured that it had failed, and nearly
started a new thread on this myself. I expect you'll see a lot more
people making the same mistake and dragging down the SNR.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020316093615.T5356-100000>
