dtraceall.ko with old nfsclient

Fabian Keil freebsd-listen at fabiankeil.de
Thu Jul 12 19:37:33 UTC 2012


Andriy Gapon <avg at FreeBSD.org> wrote:

> on 12/07/2012 21:17 Fabian Keil said the following:
> > Benjamin Kaduk <kaduk at MIT.EDU> wrote:
> > 
> >> On Wed, 11 Jul 2012, Fabian Keil wrote:
> >> 
> >>> I'm using the following modification of Sean's patch:
> > 
> > This way it seems to work as expected:
> > 
> > diff --git a/sys/modules/dtrace/dtraceall/Makefile
> > b/sys/modules/dtrace/dtraceall/Makefile index 456efd1..628583b 100644 ---
> > a/sys/modules/dtrace/dtraceall/Makefile +++
> > b/sys/modules/dtrace/dtraceall/Makefile @@ -1,7 +1,7 @@ # $FreeBSD:
> > src/sys/modules/dtrace/dtraceall/Makefile,v 1.3 2011/04/09 09:07:31 uqs Exp
> > $
> > 
> > KMOD=          dtraceall -SRCS=          dtraceall.c opt_compat.h +SRCS=
> > dtraceall.c opt_compat.h opt_nfs.h
> > 
> > CFLAGS+=       -I${.CURDIR}/../../..
> > 
> 
> If you do cd sys/modules/dtrace/dtraceall && make [obj depend] all, does it
> compile OK with the above change?

Depends on your expectations I guess. As neither NFS-related
option gets defined, no dependency on either NFS module is
registered. The compiler has no complaints, though.

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20120712/ea7ac006/signature.pgp


More information about the freebsd-hackers mailing list