From owner-freebsd-current Sat Mar 16 9:46:11 2002 Delivered-To: freebsd-current@freebsd.org Received: from warez.scriptkiddie.org (uswest-dsl-142-38.cortland.com [209.162.142.38]) by hub.freebsd.org (Postfix) with ESMTP id A84B637B416 for ; Sat, 16 Mar 2002 09:42:09 -0800 (PST) Received: from [192.168.69.11] (unknown [192.168.69.11]) by warez.scriptkiddie.org (Postfix) with ESMTP id E155562D01 for ; Sat, 16 Mar 2002 09:42:08 -0800 (PST) Date: Sat, 16 Mar 2002 09:42:22 -0800 (PST) From: Lamont Granquist To: Subject: Re: 4.5->5.0 kldxref:No such file or directory In-Reply-To: Message-ID: <20020316093615.T5356-100000@coredump.scriptkiddie.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 15 Mar 2002, Dag-Erling Smorgrav wrote: > Emiel Kollof 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