Tracker item #2934325, was opened at 2010-01-18 06:50 Message generated for change (Settings changed) made by dtor You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=989708&aid=2934325&group_id=204462
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed Resolution: None Priority: 5 Private: No Submitted By: Cedric Jeanneret (cjeanneret) Assigned to: Nobody/Anonymous (nobody) Summary: [RedHat] fails to compile with kernel 2.6.18-164.10.1.el5 Initial Comment: Hello, Trying latest version of ovmtools on an up-to-date redhat 5, with these specs: kernel: 2.6.18-164.10.1.el5 gcc: 4.1.2 20080704 (Red Hat 4.1.2-46) redhat version: Red Hat Enterprise Linux Server release 5.4 (Tikanga) ovmtools version: 2009.12.16-217847 Error (full compilation log attached): /bin/sh ../../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"open-vm-tools\" -DPACKAGE_TARNAME=\"open-vm-tools\" -DPACKAGE_VERSION=\"2009.12.16\" -DPACKAGE_STRING=\"open-vm-tools\ 2009.12.16\" -DPACKAGE_BUGREPORT=\"open-vm-tools-de...@lists.sourceforge.net\" -DPACKAGE=\"open-vm-tools\" -DVERSION=\"2009.12.16\" -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/\" -DX_DISPLAY_MISSING=1 -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 -DNO_MULTIMON=1 -I. -I/tmp/tmp.Tzadvh3347/open-vm-tools-2009.12.16-217847/lib/include -I/tmp/tmp.Tzadvh3347/open-vm-tools-2009.12.16-217847/lib/include -DUSING_AUTOCONF=1 -DOPEN_VM_TOOLS -D_REENTRANT -D_REENTRANT -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 -g -O2 -Wall -Werror -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing -Wno-unknown-pragmas -Wno-uninitialized -MT fileIOPosix.lo -MD -MP -MF .deps/fileIOPosix.Tpo -c -o fileIOPosix.lo fileIOPosix.c libtool: compile: gcc -DPACKAGE_NAME=\"open-vm-tools\" -DPACKAGE_TARNAME=\"open-vm-tools\" -DPACKAGE_VERSION=\"2009.12.16\" "-DPACKAGE_STRING=\"open-vm-tools 2009.12.16\"" -DPACKAGE_BUGREPORT=\"open-vm-tools-de...@lists.sourceforge.net\" -DPACKAGE=\"open-vm-tools\" -DVERSION=\"2009.12.16\" -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/\" -DX_DISPLAY_MISSING=1 -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 -DNO_MULTIMON=1 -I. -I/tmp/tmp.Tzadvh3347/open-vm-tools-2009.12.16-217847/lib/include -I/tmp/tmp.Tzadvh3347/open-vm-tools-2009.12.16-217847/lib/include -DUSING_AUTOCONF=1 -DOPEN_VM_TOOLS -D_REENTRANT -D_REENTRANT -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 -g -O2 -Wall -Werror -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing -Wno-unknown-pragmas -Wno-uninitialized -MT fileIOPosix.lo -MD -MP -MF .deps/fileIOPosix.Tpo -c fileIOPosix.c -fPIC -DPIC -o .libs/fileIOPosix.o fileIOPosix.c: In function ‘FileIO_SetAllocSize’: fileIOPosix.c:1949: error: ‘__NR_fallocate’ undeclared (first use in this function) fileIOPosix.c:1949: error: (Each undeclared identifier is reported only once fileIOPosix.c:1949: error: for each function it appears in.) make[2]: *** [fileIOPosix.lo] Error 1 make[2]: Leaving directory `/tmp/tmp.Tzadvh3347/open-vm-tools-2009.12.16-217847/lib/file' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/tmp.Tzadvh3347/open-vm-tools-2009.12.16-217847/lib' make: *** [all-recursive] Error 1 make: Leaving directory `/tmp/tmp.Tzadvh3347/open-vm-tools-2009.12.16-217847' I didn't find a bug with this error. Any idea ? I can try without problem any patch if necessary. For information, we used to install 2009.07.22-179896 on our clients before, with a patch (https://sourceforge.net/tracker/index.php?func=detail&aid=2854490&group_id=204462&atid=989708). This version doesn't work neither (with and w/o patch). Thank you in advance. Best regards, C. ---------------------------------------------------------------------- >Comment By: Dmitry Torokhov (dtor) Date: 2010-01-19 09:21 Message: OK, maybe we need to add a check for presence of linux/unistd.h to the configure scripts. ---------------------------------------------------------------------- Comment By: Cedric Jeanneret (cjeanneret) Date: 2010-01-18 23:43 Message: Oh, it was that : no kernel-headers. Now it works. Thank you! I'll add this dep on our install script. -> solved. ---------------------------------------------------------------------- Comment By: Dmitry Torokhov (dtor) Date: 2010-01-18 10:54 Message: Hm, seems to be working here. Do you have kernel-headers package installed? Do you see __NR_fallocate defined in /usr/include/asm/unistd.h and if this file is referenced from /usr/include/linux/unistd.h? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=989708&aid=2934325&group_id=204462 ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ open-vm-tools-devel mailing list open-vm-tools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel