FW: VMWare Tools for FreeBSD
pisymbol at gmail.com
Tue Mar 18 15:36:57 UTC 2008
I believe the issue is that MNT_NODEV which should be defined in
/usr/include/sys/mount.h was deprecated and removed from FreeBSD:
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
On Tue, Mar 18, 2008 at 10:42 AM, Paul Schmehl <pauls at utdallas.edu> wrote:
> --On Tuesday, March 18, 2008 22:34:30 +0800 "Gelsema, P (Patrick) - FreeBSD"
> <freebsd at superhero.nl> 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 at 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 at utdallas.edu)
> Senior Information Security Analyst
> The University of Texas at Dallas
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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
More information about the freebsd-questions