From: Josh R. <jos...@eu...> - 2009-02-05 03:23:00
|
I just downloaded the latest release from SourceForge, and it is currently failing to build on FreeBSD 7.1-RELEASE. Any help? gmake[2]: Entering directory `/usr/home/joshua/src/open-vm-tools-2009.01.21-142982/lib/misc' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"open-vm-tools\" -DPACKAGE_TARNAME=\"open-vm-tools\" -DPACKAGE_VERSION=\"2009.01.21-142982\" -DPACKAGE_STRING=\"open-vm-tools\ 2009.01.21-142982\" -DPACKAGE_BUGREPORT=\"ope...@li...\" -DPACKAGE=\"open-vm-tools\" -DVERSION=\"2009.01.21-142982\" -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 -DLT_OBJDIR=\".libs/\" -DHAVE_DLOPEN=1 -DNO_PROCPS=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 -I. -DUSING_AUTOCONF=1 -I/usr/local/include -I/usr/local/include -DUSE_ICU -DHAVE_ICU_38 -DVMX86_TOOLS -DNO_CORE_ICU -I/usr/home/joshua/src/open-vm-tools-2009.01.21-142982/lib/include -I/usr/home/joshua/src/open-vm-tools-2009.01.21-142982/lib/include -g -O2 -Wall -Werror -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing -Wno-unknown-pragmas -Wno-uninitialized -MT hostname.lo -MD -MP -MF .deps/hostname.Tpo -c -o hostname.lo hostname.c libtool: compile: gcc -DPACKAGE_NAME=\"open-vm-tools\" -DPACKAGE_TARNAME=\"open-vm-tools\" -DPACKAGE_VERSION=\"2009.01.21-142982\" "-DPACKAGE_STRING=\"open-vm-tools 2009.01.21-142982\"" -DPACKAGE_BUGREPORT=\"ope...@li...\" -DPACKAGE=\"open-vm-tools\" -DVERSION=\"2009.01.21-142982\" -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 -DLT_OBJDIR=\".libs/\" -DHAVE_DLOPEN=1 -DNO_PROCPS=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 -I. -DUSING_AUTOCONF=1 -I/usr/local/include -I/usr/local/include -DUSE_ICU -DHAVE_ICU_38 -DVMX86_TOOLS -DNO_CORE_ICU -I/usr/home/joshua/src/open-vm-tools-2009.01.21-142982/lib/include -I/usr/home/joshua/src/open-vm-tools-2009.01.21-142982/lib/include -g -O2 -Wall -Werror -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing -Wno-unknown-pragmas -Wno-uninitialized -MT hostname.lo -MD -MP -MF .deps/hostname.Tpo -c hostname.c -fPIC -DPIC -o .libs/hostname.o cc1: warnings being treated as errors hostname.c: In function 'Hostinfo_HostName': hostname.c:248: warning: implicit declaration of function 'Unicode_Alloc' hostname.c:249: warning: return makes pointer from integer without a cast gmake[2]: *** [hostname.lo] Error 1 gmake[2]: Leaving directory `/usr/home/joshua/src/open-vm-tools-2009.01.21-142982/lib/misc' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/home/joshua/src/open-vm-tools-2009.01.21-142982/lib' gmake: *** [all-recursive] Error 1 -- To send me a personal email, please place [personal] in the Subject line. |
From: Dmitry T. <dt...@vm...> - 2009-02-05 18:13:31
|
Hi Josh, On Wednesday 04 February 2009 18:44:04 Josh Rickmar wrote: > I just downloaded the latest release from SourceForge, and it is currently > failing to build on FreeBSD 7.1-RELEASE. Any help? > ... > cc1: warnings being treated as errors > hostname.c: In function 'Hostinfo_HostName': > hostname.c:248: warning: implicit declaration of function 'Unicode_Alloc' > hostname.c:249: warning: return makes pointer from integer without a cast Hmm, Unicode_Alloc is defined in lib/include/unicodeBase.h... Do you happen to have unicode.h or unicodeBase.h in /usr/local/include or in /usr/include? -- Dmitry |
From: Josh R. <jos...@eu...> - 2009-02-05 20:18:33
|
On Thu, February 5, 2009 1:13 pm, Dmitry Torokhov wrote: > Hi Josh, > > > On Wednesday 04 February 2009 18:44:04 Josh Rickmar wrote: > >> I just downloaded the latest release from SourceForge, and it is >> currently failing to build on FreeBSD 7.1-RELEASE. Any help? >> > ... > > >> cc1: warnings being treated as errors >> hostname.c: In function 'Hostinfo_HostName': >> hostname.c:248: warning: implicit declaration of function >> 'Unicode_Alloc' >> hostname.c:249: warning: return makes pointer from integer without a >> cast > > Hmm, Unicode_Alloc is defined in lib/include/unicodeBase.h... Do you > happen to have unicode.h or unicodeBase.h in /usr/local/include or in > /usr/include? > > > -- > Dmitry > > I have /usr/local/include/unicode.h -- To send me a personal email, please place [personal] in the Subject line. |
From: Marcelo V. <mv...@vm...> - 2009-02-05 20:26:00
|
Josh Rickmar wrote: > I have /usr/local/include/unicode.h Hmmm, that kinda sucks. I'm actually surprised compilation didn't break before that file. Can you figure out which package added that file? I'll look at the configure script and see if I can find a simple solution to the problem. -- - Marcelo |
From: Josh R. <jos...@eu...> - 2009-02-05 20:39:01
|
On Thu, February 5, 2009 3:25 pm, Marcelo Vanzin wrote: > Josh Rickmar wrote: >> I have /usr/local/include/unicode.h > > Hmmm, that kinda sucks. I'm actually surprised compilation didn't break > before > that file. Can you figure out which package added that file? > > I'll look at the configure script and see if I can find a simple solution > to the > problem. > > -- > - Marcelo > > % pkg_which /usr/local/include/unicode.h libunicode-0.4_9 -- To send me a personal email, please place [personal] in the Subject line. |
From: Marcelo V. <mv...@vm...> - 2009-02-06 00:58:18
|
Josh Rickmar wrote: > % pkg_which /usr/local/include/unicode.h > libunicode-0.4_9 Could you try this patch? It seems to work for me. (You'll probably need autoconf / automake / etc to rebuild the makefiles...) --- configure.ac +++ configure.ac 09-02-05 16:35:53 @@ -800,7 +800,7 @@ INCLUDE_DIR="`cd $srcdir; pwd`/lib/include" BLD_INCLUDE_DIR="$BUILDDIR/lib/include" -CPPFLAGS="$CPPFLAGS -I$INCLUDE_DIR -I$BLD_INCLUDE_DIR" +CPPFLAGS="-I$INCLUDE_DIR -I$BLD_INCLUDE_DIR $CPPFLAGS" ### OS/arch-specific flags / actions -- - Marcelo |
From: Josh R. <jos...@eu...> - 2009-02-06 03:10:38
|
On Thu, February 5, 2009 7:58 pm, Marcelo Vanzin wrote: > Josh Rickmar wrote: > >> % pkg_which /usr/local/include/unicode.h >> libunicode-0.4_9 > > Could you try this patch? It seems to work for me. (You'll probably need > autoconf / automake / etc to rebuild the makefiles...) > > --- configure.ac > +++ configure.ac 09-02-05 16:35:53 > @@ -800,7 +800,7 @@ > > > INCLUDE_DIR="`cd $srcdir; pwd`/lib/include" > BLD_INCLUDE_DIR="$BUILDDIR/lib/include" > -CPPFLAGS="$CPPFLAGS -I$INCLUDE_DIR -I$BLD_INCLUDE_DIR" > +CPPFLAGS="-I$INCLUDE_DIR -I$BLD_INCLUDE_DIR $CPPFLAGS" > > > ### OS/arch-specific flags / actions > > > > > -- > - Marcelo > Sorry, but I don't have any experience with automake and autoconf. I applied the patch, but when running autoconf, I get an error saying that my version is wrong. I am using autoconf 2.62, but it says that it won't work because it was made with version 2.61. I checked, and I can't find 2.61 in the ports tree. Again, sorry for the slightly off-topic error. What should I try doing instead? -- To send me a personal email, please place [personal] in the Subject line. |
From: Marcelo V. <mv...@vm...> - 2009-02-06 03:48:35
|
Josh Rickmar wrote: > Sorry, but I don't have any experience with automake and autoconf. I > applied the patch, but when running autoconf, I get an error saying that > my version is wrong. I am using autoconf 2.62, but it says that it won't > work because it was made with version 2.61. I checked, and I can't find > 2.61 in the ports tree. > > Again, sorry for the slightly off-topic error. What should I try doing > instead? You should run "make distclean" (not sure if it's strictly necessary but it doesn't hurt) and then "autoreconf --install". That will recreate the configure script. The just run ./configure / gmake. -- - Marcelo |
From: Josh R. <jos...@eu...> - 2009-02-07 02:57:09
|
On Thu, February 5, 2009 10:48 pm, Marcelo Vanzin wrote: > Josh Rickmar wrote: > >> Sorry, but I don't have any experience with automake and autoconf. I >> applied the patch, but when running autoconf, I get an error saying that >> my version is wrong. I am using autoconf 2.62, but it says that it >> won't work because it was made with version 2.61. I checked, and I >> can't find 2.61 in the ports tree. >> >> >> Again, sorry for the slightly off-topic error. What should I try doing >> instead? > > You should run "make distclean" (not sure if it's strictly necessary but > it doesn't hurt) and then "autoreconf --install". That will recreate the > configure script. The just run ./configure / gmake. > > -- > - Marcelo > OK, thanks for the help. This solved that problem, but now I am getting another compile issue Here's the output: Making all in modules gmake[1]: Entering directory `/usr/home/joshua/src/open-vm-tools-2009.01.21-142982/modules' gmake VM_UNAME=7.1-RELEASE -C "../modules/freebsd/vmmemctl" gmake[2]: Entering directory `/usr/home/joshua/src/open-vm-tools-2009.01.21-142982/modules/freebsd/vmmemctl' Makefile:29: *** missing separator. Stop. gmake[2]: Leaving directory `/usr/home/joshua/src/open-vm-tools-2009.01.21-142982/modules/freebsd/vmmemctl' gmake[1]: *** [vmmemctl] Error 2 gmake[1]: Leaving directory `/usr/home/joshua/src/open-vm-tools-2009.01.21-142982/modules' gmake: *** [all-recursive] Error 1 -- To send me a personal email, please place [personal] in the Subject line. |
From: Marcelo V. <mv...@vm...> - 2009-02-13 05:40:03
|
Josh Rickmar wrote: > OK, thanks for the help. This solved that problem, but now I am getting > another compile issue Here's the output: Finally got some time to create a 7.1 VM. I wasn't able to reproduce the problem (although I'm not using gmake). We should be putting out a new refresh of the code next week, which should fix a few problems with non-GNU make, so hopefully that will fix your issue. > Making all in modules > gmake[1]: Entering directory > `/usr/home/joshua/src/open-vm-tools-2009.01.21-142982/modules' > gmake VM_UNAME=7.1-RELEASE -C "../modules/freebsd/vmmemctl" > gmake[2]: Entering directory > `/usr/home/joshua/src/open-vm-tools-2009.01.21-142982/modules/freebsd/vmmemctl' > Makefile:29: *** missing separator. Stop. -- - Marcelo |
From: Josh R. <jos...@eu...> - 2009-02-13 23:52:41
|
On Fri, February 13, 2009 12:39 am, Marcelo Vanzin wrote: > Finally got some time to create a 7.1 VM. I wasn't able to reproduce the > problem (although I'm not using gmake). We should be putting out a new > refresh of the code next week, which should fix a few problems with > non-GNU make, so hopefully that will fix your issue. > Well, actually /usr/local/bin/gmake is GNU make. /usr/bin/make is BSD make, which was based on GNU make but was changed, modifided, etc. to work with building FreeBSD as well as its ports. I do appreciate the work you are putting into this problem, though. Unfortunately, the version in ports is quite old, and I get complaints from VMware Workstation 6.5 because my version of VMware Tools is outdated. -- To send me a personal email, please place [personal] in the Subject line. |
From: Marcelo V. <mv...@vm...> - 2009-02-05 19:20:42
|
Hi Josh, Josh Rickmar wrote: > I just downloaded the latest release from SourceForge, and it is currently > failing to build on FreeBSD 7.1-RELEASE. Any help? I don't have a 7.1 VM ready, but I tried on 7.0 and it is building fine. Could you send us your configure line and your gcc version? -- - Marcelo |
From: Josh R. <jos...@eu...> - 2009-02-05 20:22:17
|
On Thu, February 5, 2009 2:20 pm, Marcelo Vanzin wrote: > Hi Josh, > > > Josh Rickmar wrote: > >> I just downloaded the latest release from SourceForge, and it is >> currently failing to build on FreeBSD 7.1-RELEASE. Any help? > > I don't have a 7.1 VM ready, but I tried on 7.0 and it is building fine. > Could > you send us your configure line and your gcc version? > > -- > - Marcelo > > I'm using ./configure --disable-unity . GCC is version 4.2.1, and gmake is version 3.81. -- To send me a personal email, please place [personal] in the Subject line. |