Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2002 21:44:57 -0800
From:      "Crist J. Clark" <crist.clark@attbi.com>
To:        Emiel Kollof <coolvibe@hackerheaven.org>
Cc:        huntting@glarp.com, current@FreeBSD.ORG
Subject:   Re: 4.5->5.0 kldxref:No such file or directory
Message-ID:  <20020312214457.L29705@blossom.cjclark.org>
In-Reply-To: <20020313031335.GA70809@hackerheaven.org>; from coolvibe@hackerheaven.org on Wed, Mar 13, 2002 at 04:13:35AM %2B0100
References:  <200203122105.g2CL56p02307@hunkular.glarp.com> <20020312174502.K29705@blossom.cjclark.org> <20020313031335.GA70809@hackerheaven.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 13, 2002 at 04:13:35AM +0100, Emiel Kollof wrote:
> * Crist J. Clark (cjc@FreeBSD.ORG) wrote:
> > > 	*** Error code 1 (ignored)
> > >                        ^^^^^^^^^
> > 
> > Note.
> > 
> > > Since there is no kldxref in 4.5, this should probably included in
> > > the bootstrap process somehow.
> > 
> > A known issue. The install process deliberately ignores this as a
> > non-fatal error.
> 
> Why not test for it like this (or similar): 
> 
> [ -x /usr/sbin/kldxref ] && /usr/bin/kldxref (etcetera...)
> 
> If the new CURRENT testers upgrading from STABLE don't see it, 
> they aren't likely to worry/complain about it. I think the warning is 
> kinda nonsensical and redundant, IMHO. 

The warning is just how make(1) works,

  # Calling kldxref(8) for each module is expensive.
  .if !defined(NO_XREF)
  .MAKEFLAGS:=    ${.MAKEFLAGS} -DNO_XREF
  afterinstall:
          -kldxref ${DESTDIR}${KMODDIR}
  .endif

-- 
Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

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?20020312214457.L29705>