Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2020 17:05:40 -0700
From:      Pete Wright <pete@nomadlogic.org>
To:        Rick Macklem <rmacklem@uoguelph.ca>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: vfs_mouse.c breakage?
Message-ID:  <e32e50a8-186e-eb8c-768b-f10d24f5f3b5@nomadlogic.org>
In-Reply-To: <QB1PR01MB36497617A24A788E87F28901DD8A0@QB1PR01MB3649.CANPRD01.PROD.OUTLOOK.COM>
References:  <557e316f-bd4b-8070-38a6-ed8ad63aed39@nomadlogic.org> <QB1PR01MB36497617A24A788E87F28901DD8A0@QB1PR01MB3649.CANPRD01.PROD.OUTLOOK.COM>

next in thread | previous in thread | raw e-mail | index | archive | help


On 6/1/20 2:50 PM, Rick Macklem wrote:
> Pete Wright wrote:
>> Subject: vfs_mouse.c breakage?
> Not sure if the vfs mouse is broken (sorry, I couldn't resist), but...

hah nice - dyslexia + poor eyesight are not good bedfellows :^)
>
> I think it needs a:
> #include <rpc/auth.h>
>
> but it will take a little while for me to test this.
>
> Thanks for reporting it, rick

no prob - adding that include thew some more errors

$ git diff
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
index 03f95b2845f9..4282b1938095 100644
--- a/sys/kern/vfs_mount.c
+++ b/sys/kern/vfs_mount.c
@@ -39,6 +39,7 @@
  #include <sys/cdefs.h>
  __FBSDID("$FreeBSD$");

+#include <rpc/auth.h>
  #include <sys/param.h>
  #include <sys/conf.h>
  #include <sys/smp.h>


here's a snippet of the exception:
--- vfs_mount.o ---
In file included from /usr/home/pete/git/freebsd/sys/kern/vfs_mount.c:42:
In file included from /usr/home/pete/git/freebsd/sys/rpc/auth.h:50:
/usr/home/pete/git/freebsd/sys/rpc/xdr.h:105:3: error: type name 
requires a specifier or qualifier
                 bool_t  (*x_getlong)(struct XDR *, long *);


I'll sit tight for now - thanks for checking it out!

-pete

-- 
Pete Wright
pete@nomadlogic.org
@nomadlogicLA




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e32e50a8-186e-eb8c-768b-f10d24f5f3b5>