Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jun 2012 16:10:01 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        John Baldwin <jhb@freebsd.org>, swills@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: 10-CURRENT r235646 && open-vm-tools-8.6.0-425873
Message-ID:  <20120605141000.GA2284@tiny>
In-Reply-To: <20120605132750.GA2122@tiny>
References:  <20120526142229.GA3893@tinyCurrent> <201205311134.55258.jhb@freebsd.org> <20120605132750.GA2122@tiny>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Tuesday, June 05, 2012 a las 03:27:51PM +0200, Matthias Apitz escribió:

> cc -O2 -pipe  -Wall -Werror -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/lib/include -I/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/modules/freebsd/shared -I/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/modules/freebsd/vmblock -I/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/modules/shared/vmblock -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common   -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option   -c vnops.c
> vnops.c: In function 'VMBlockVopInactive':
> vnops.c:1373: error: too many arguments to function 'vrecycle'
> *** [vnops.o] Error code 1
> 


got it finally compiled and installed as 

# make install WITHOUT_FUSE=yes

with this additional patch:

*** modules/freebsd/vmblock/vnops.c.orig        Wed Sep 21 20:25:15 2011
--- modules/freebsd/vmblock/vnops.c     Tue Jun  5 16:01:45 2012
***************
*** 1362,1368 ****
  */
  {
     struct vnode *vp = ap->a_vp;
-    struct thread *td = ap->a_td;
  
     vp->v_object = NULL;
  
--- 1362,1367 ----
***************
*** 1370,1376 ****
      * If this is the last reference, then free up the vnode so as not to
      * tie up the lower vnode.
      */
!    vrecycle(vp, td);
  
     return 0;
  }
--- 1369,1375 ----
      * If this is the last reference, then free up the vnode so as not to
      * tie up the lower vnode.
      */
!    vrecycle(vp);
  
     return 0;
  }


-- 
Matthias Apitz
e <guru@unixarea.de> - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5



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