Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Mar 2008 11:36:53 -0400
From:      "Alexander Sack" <pisymbol@gmail.com>
To:        "Paul Schmehl" <pauls@utdallas.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FW: VMWare Tools for FreeBSD
Message-ID:  <3c0b01820803180836x2f3a13batf181e1b2e6c9bf9c@mail.gmail.com>
In-Reply-To: <65A9476B618244C571C4EAC7@utd65257.utdallas.edu>
References:  <BMEDLGAENEKCJFGODFOCOEIACFAA.tedm@toybox.placo.com> <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>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-aps

On Tue, Mar 18, 2008 at 10:42 AM, Paul Schmehl <pauls@utdallas.edu> wrote:
> --On Tuesday, March 18, 2008 22:34:30 +0800 "Gelsema, P (Patrick) - FreeBSD"
>
>
> <freebsd@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@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



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