Making all in rpctool
make[1]: Entering directory `/var/tmp/portage/app-emulation/open-vm-tools-0.0.20100223.236320/work/open-vm-tools-2010.02.23-236320/rpctool'
i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"open-vm-tools\" -DPACKAGE_TARNAME=\"open-vm-tools\" -DPACKAGE_VERSION=\"2010.02.23\" -DPACKAGE_STRING=\"open-vm-tools\ 2010.02.23\" -DPACKAGE_BUGREPORT=\"open-vm-tools-devel@lists.sourceforge.net\" -DPACKAGE=\"open-vm-tools\" -DVERSION=\"2010.02.23\" -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_ECVT=1 -DHAVE_FCVT=1 -DHAVE_CRYPT_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_WCHAR_H=1 -DHAVE_SYS_IO_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SYSINFO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_USER_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_UNWIND_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STRUCT_STAT_ST_RDEV=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LSEEK=1 -I. -I/var/tmp/portage/app-emulation/open-vm-tools-0.0.20100223.236320/work/open-vm-tools-2010.02.23-236320/lib/include -I/var/tmp/portage/app-emulation/open-vm-tools-0.0.20100223.236320/work/open-vm-tools-2010.02.23-236320/lib/include -DUSING_AUTOCONF=1 -DOPEN_VM_TOOLS -I/usr/include -DUSE_ICU -DVMX86_TOOLS -DNO_CORE_ICU -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -DGLIBC_VERSION_21 -DGLIBC_VERSION_23 -O2 -march=i686 -pipe -Wall -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing -Wno-unknown-pragmas -Wno-uninitialized -MT rpctool.o -MD -MP -MF .deps/rpctool.Tpo -c -o rpctool.o rpctool.c
rpctool.c: In function 'SignalHandler':
rpctool.c:81: error: 'GNU_REG_EDX' undeclared (first use in this function)
rpctool.c:81: error: (Each undeclared identifier is reported only once
rpctool.c:81: error: for each function it appears in.)
rpctool.c:82: error: 'GNU_REG_EAX' undeclared (first use in this function)
make[1]: *** [rpctool.o] Error 1
What distro are you using (and the glibc version of that distro)?
Could you try configure with CFLAGS="-DGLIBC_VERSION_22" to see if it works?
View and moderate all "tracker Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tracker"
I use Gentoo:
gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10 i686
Tnx.
View and moderate all "tracker Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tracker"
Please see:
http://bugs.gentoo.org/show_bug.cgi?id=305939
What about my second question? Didn't see any mentions in the gentoo tracker.
View and moderate all "tracker Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tracker"
Yes, it's compiled successfully with CFLAGS="-DGLIBC_VERSION_22"
Could you send your open-vm-tools config,log, and also /usr/include/iconv.h (or, if present, /usr/include/iconv/iconv.h) from your machine?
I don't see how our check could fail given the sources for glibc 2.10.1 from the GNU site, maybe a look at those files will help us.
View and moderate all "tracker Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tracker"
config.log
View and moderate all "tracker Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tracker"
/usr/include/iconv.h
View and moderate all "tracker Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tracker"
config.log and iconv.h are attached.
There is no /usr/include/iconv/iconv.h on my machine.
configure:29745: checking for the new format of iconv
configure:29778: i686-pc-linux-gnu-gcc -c -O2 -march=i686 -pipe -DUSING_AUTOCONF=1 -DOPEN_VM_TOOLS -I/usr/include -DUSE_ICU conftest.c >&5
This command is missing "-Werror", so that's why the check is doing the wrong thing. Does gentoo apply any patches to configure.ac that would explain that?
Please file a bug against Gentoo ebuild. Filtering out -Werror out of configure.ac is not the best idea. From http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20100119.226760.ebuild?view=markup :
src_prepare() {
epatch "${FILESDIR}/default-scripts1.patch"
epatch "${FILESDIR}/checkvm-pie-safety.patch"
sed -i -e 's/proc-3.2.7/proc/g' configure || die "sed configure failed"
sed -i -e 's/CFLAGS=.*Werror/#&/g' configure || die "sed comment out Werror failed"
sed -i -e 's:\(TEST_PLUGIN_INSTALLDIR=\).*:\1\$libdir/open-vm-tools/plugins/tests:g' configure || die "sed test_plugin_installdir failed"
}