Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jul 2012 12:49:01 -0700
From:      Sean Bruno <seanbru@yahoo-inc.com>
To:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Cc:        rmacklem@freebsd.org
Subject:   dtraceall.ko with old nfsclient
Message-ID:  <1341863341.6064.11.camel@powernoodle.corp.yahoo.com>

next in thread | raw e-mail | index | archive | help
Ran into some symbol errors with the dtraceall module when using the
*old* nfs client.

I think that this is more or less the right thing to do, but I'm not
sure.

--- //depot/yahoo/ybsd_9/src/sys/modules/dtrace/dtraceall/dtraceall.c
2011-11-02 23:46:55.000000000 0000
+++ /home/seanbru/dtrace_9/src/sys/modules/dtrace/dtraceall/dtraceall.c
2011-11-02 23:46:55.000000000 0000
@@ -66,8 +66,11 @@
 MODULE_DEPEND(dtraceall, opensolaris, 1, 1, 1);
 MODULE_DEPEND(dtraceall, dtrace, 1, 1, 1);
 MODULE_DEPEND(dtraceall, dtmalloc, 1, 1, 1);
+#if defined (NFSCL)
 MODULE_DEPEND(dtraceall, dtnfscl, 1, 1, 1);
+#else /* defined (NFSCLIENT) */
 MODULE_DEPEND(dtraceall, dtnfsclient, 1, 1, 1);
+#endif
 #if defined(__amd64__) || defined(__i386__)
 MODULE_DEPEND(dtraceall, fbt, 1, 1, 1);
 MODULE_DEPEND(dtraceall, fasttrap, 1, 1, 1);





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1341863341.6064.11.camel>