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 <[EMAIL PROTECTED]> wrote: >> --On Tuesday, March 18, 2008 22:34:30 +0800 "Gelsema, P (Patrick) - >> FreeBSD" >> >> >> <[EMAIL PROTECTED]> 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=\"[EMAIL PROTECTED]" >> > -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 ([EMAIL PROTECTED]) >> 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 >> "[EMAIL PROTECTED]" >> > > > > -- > "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 > "[EMAIL PROTECTED]" > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"