From owner-freebsd-questions@FreeBSD.ORG Tue Mar 18 16:41:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 090061065671 for ; Tue, 18 Mar 2008 16:41:29 +0000 (UTC) (envelope-from gelsemap@superhero.nl) Received: from superhero.nl (wolverine.superhero.nl [77.73.16.20]) by mx1.freebsd.org (Postfix) with ESMTP id 7AC928FC1B for ; Tue, 18 Mar 2008 16:41:28 +0000 (UTC) (envelope-from gelsemap@superhero.nl) Received: (qmail 10478 invoked by uid 80); 18 Mar 2008 16:13:58 -0000 Received: from 125.214.252.140 (SquirrelMail authenticated user gelsemap) by webmail.superhero.nl with HTTP; Wed, 19 Mar 2008 00:13:58 +0800 (HKT) Message-ID: <52506.125.214.252.140.1205856838.squirrel@webmail.superhero.nl> In-Reply-To: <3c0b01820803180836x2f3a13batf181e1b2e6c9bf9c@mail.gmail.com> References: <47DEE8D6.9080708@sucked-in.com> <47DF39A7.1070307@boosten.org> <49903.203.127.42.92.1205811904.squirrel@www.superhero.nl> <47DF43AD.2020100@boosten.org> <46570.125.214.252.140.1205850870.squirrel@webmail.superhero.nl> <65A9476B618244C571C4EAC7@utd65257.utdallas.edu> <3c0b01820803180836x2f3a13batf181e1b2e6c9bf9c@mail.gmail.com> Date: Wed, 19 Mar 2008 00:13:58 +0800 (HKT) From: "Gelsema, P \(Patrick\)" To: "Alexander Sack" User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Paul Schmehl , freebsd-questions@freebsd.org Subject: Re: FW: VMWare Tools for FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Mar 2008 16:41:29 -0000 On Tue, March 18, 2008 23:36, Alexander Sack wrote: > I believe the issue is that MNT_NODEV which should be defined in > /usr/include/sys/mount.h was deprecated and removed from FreeBSD: > > http://ftp.cz.freebsd.org/pub/FreeBSD-cvs/gnats/conf/79715 > > At line 42 in hgfsmounter.c, add > > # define MNT_NODEV 0 > > Then rebuild. SHould work fine now. > > I configured my build environment via the README with ./configure > LDFLAGS="/usr/local/lib" etc. > Done #./configure LDFLAGS="/usr/local/lib" --without-x #make #make install That all goes ok But when I run #make modules I get an error wolverine# make modules make -C modules make -C "freebsd/vmmemctl" make -C "freebsd/vmxnet" cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -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-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c if_vxn.c if_vxn.c: In function 'vxn_attach': if_vxn.c:302: warning: passing argument 4 of 'bus_setup_intr' from incompatible pointer type if_vxn.c:302: warning: passing argument 5 of 'bus_setup_intr' from incompatible pointer type if_vxn.c:302: error: too few arguments to function 'bus_setup_intr' if_vxn.c:378: error: 'struct arpcom' has no member named '_ac_enaddr' if_vxn.c:385: error: 'struct arpcom' has no member named '_ac_enaddr' *** Error code 1 Stop in /tmp/open-vm-tools-2008.03.03-79993/modules/freebsd/vmxnet. *** Error code 1 Any ideas? > -aps > > On Tue, Mar 18, 2008 at 10:42 AM, Paul Schmehl wrote: >> --On Tuesday, March 18, 2008 22:34:30 +0800 "Gelsema, P (Patrick) - >> FreeBSD" >> >> >> wrote: >> > >> > I get an error running an install on RELENG_7_0 I386. >> > >> > Making check in hgfsmounter >> > gcc -DPACKAGE_NAME=\"open-vm-tools\" >> -DPACKAGE_TARNAME=\"open-vm-tools\" >> > -DPACKAGE_VERSION=\"2008.03.03-79993\" >> -DPACKAGE_STRING=\"open-vm-tools\ >> > 2008.03.03-79993\" >> > -DPACKAGE_BUGREPORT=\"open-vm-tools-devel@lists.sourceforge.net\" >> > -DPACKAGE=\"open-vm-tools\" -DVERSION=\"2008.03.03-79993\" >> > -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 >> > -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 >> -DHAVE_STRINGS_H=1 >> > -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 >> -DHAVE_DLFCN_H=1 >> > -DX_DISPLAY_MISSING=1 -DHAVE_DLOPEN=1 -DHAVE_INTTYPES_H=1 >> > -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_WCHAR_H=1 >> -DHAVE_SYS_PARAM_H=1 >> > -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_USER_H=1 -DHAVE__BOOL=1 >> -DHAVE_STDBOOL_H=1 >> > -DHAVE_STRUCT_STAT_ST_RDEV=1 -DTIME_WITH_SYS_TIME=1 -DNO_MULTIMON=1 >> -I. >> > -Wall -Werror -Wno-pointer-sign -Wno-unused-value >> -fno-strict-aliasing >> > -Wno-unknown-pragmas -Wno-uninitialized -DVMX86_TOOLS >> > -I/tmp/open-vm-tools-2008.03.03-79993/lib/include -DUSING_AUTOCONF=1 >> -MT >> > hgfsmounter.o -MD -MP -MF .deps/hgfsmounter.Tpo -c -o hgfsmounter.o >> > hgfsmounter.c >> > hgfsmounter.c: In function 'ParseOptions': >> > hgfsmounter.c:607: error: 'MNT_NODEV' undeclared (first use in this >> function) >> > hgfsmounter.c:607: error: (Each undeclared identifier is reported >> only once >> > hgfsmounter.c:607: error: for each function it appears in.) >> > *** Error code 1 >> > >> > Someone seen this before? >> > >> >> Yes, I got it as well. I was going to create a port for it, but I have >> no idea >> how to solve the make problem. If there is a programmer reading this >> that >> wants to work with me to get the software to make on FreeBSD, I'll be >> happy to >> submit and maintain the port. >> >> -- >> >> Paul Schmehl (pauls@utdallas.edu) >> Senior Information Security Analyst >> The University of Texas at Dallas >> http://www.utdallas.edu/ir/security/ >> >> _______________________________________________ >> >> >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > > > > -- > "What lies behind us and what lies in front of us is of little concern > to what lies within us." -Ralph Waldo Emerson > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >