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_at_ -I_at_/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_at_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.5Received on Tue Jun 05 2012 - 12:10:08 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:27 UTC