Tracker item #2530616, was opened at 2009-01-23 00:16 Message generated for change (Comment added) made by dtor You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=989708&aid=2530616&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: kernel modules Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: mna-news (mna-news) Assigned to: Nobody/Anonymous (nobody) Summary: vmhgfs/page.c does not compile Initial Comment: am trying to compile "open-vm-tools-2009.01.21-142982" on a kernel version 2.6.28.1 and there are somes troubles ... [...) make[3]: Entering directory `/usr/src/linux-2.6.28.1' CC [M] /tmp/open-vm-tools-2009.01.21-142982/modules/linux/vmhgfs/page.o /tmp/open-vm-tools-2009.01.21-142982/modules/linux/vmhgfs/page.c: In function `HgfsDoWriteBegin': /tmp/open-vm-tools-2009.01.21-142982/modules/linux/vmhgfs/page.c:763: attention : ISO C89 interdit les m▒langes de d▒clarations et de code /tmp/open-vm-tools-2009.01.21-142982/modules/linux/vmhgfs/page.c: In function `HgfsWriteBegin': /tmp/open-vm-tools-2009.01.21-142982/modules/linux/vmhgfs/page.c:867: erreur: d▒claration implicite de la fonction ▒ __grab_cache_page ▒ /tmp/open-vm-tools-2009.01.21-142982/modules/linux/vmhgfs/page.c:867: attention : affectation transforme un entier en pointeur sans transtypage make[4]: *** [/tmp/open-vm-tools-2009.01.21-142982/modules/linux/vmhgfs/page.o] Erreur 1 make[3]: *** [_module_/tmp/open-vm-tools-2009.01.21-142982/modules/linux/vmhgfs] Erreur 2 make[3]: Leaving directory `/usr/src/linux-2.6.28.1' make[2]: *** [vmhgfs.ko] Erreur 2 make[2]: Leaving directory `/tmp/open-vm-tools-2009.01.21-142982/modules/linux/vmhgfs' make[1]: *** [vmhgfs] Erreur 2 make[1]: Leaving directory `/tmp/open-vm-tools-2009.01.21-142982/modules' make: *** [all-recursive] Erreur 1 if anybody has an idear or solution ... thanks in advance mna. ---------------------------------------------------------------------- >Comment By: Dmitry Torokhov (dtor) Date: 2009-01-23 07:13 Message: Could you please try the patch I just uploaded? Go to Linux HGFS directory and apply with -p3. Thanks! ---------------------------------------------------------------------- Comment By: Hemp Cluster (jointy) Date: 2009-01-23 01:31 Message: Hi, On my gentoobox I ran into the same problems. [code] CC [M] /var/tmp/portage/app-emulation/open-vm-tools-0.0.20090121.142982/work/open-vm-tools-2009.01.21-142982/modules/linux/vmhgfs/page.o /var/tmp/portage/app-emulation/open-vm-tools-0.0.20090121.142982/work/open-vm-tools-2009.01.21-142982/modules/linux/vmhgfs/page.c: In function 'HgfsDoWriteBegin': /var/tmp/portage/app-emulation/open-vm-tools-0.0.20090121.142982/work/open-vm-tools-2009.01.21-142982/modules/linux/vmhgfs/page.c:763: warning: ISO C90 forbids mixed declarations and code /var/tmp/portage/app-emulation/open-vm-tools-0.0.20090121.142982/work/open-vm-tools-2009.01.21-142982/modules/linux/vmhgfs/page.c: In function 'HgfsWriteBegin': /var/tmp/portage/app-emulation/open-vm-tools-0.0.20090121.142982/work/open-vm-tools-2009.01.21-142982/modules/linux/vmhgfs/page.c:867: error: implicit declaration of function '__grab_cache_page' /var/tmp/portage/app-emulation/open-vm-tools-0.0.20090121.142982/work/open-vm-tools-2009.01.21-142982/modules/linux/vmhgfs/page.c:867: warning: assignment makes pointer from integer without a cast make[2]: *** [/var/tmp/portage/app-emulation/open-vm-tools-0.0.20090121.142982/work/open-vm-tools-2009.01.21-142982/modules/linux/vmhgfs/page.o] Error 1 make[1]: *** [_module_/var/tmp/portage/app-emulation/open-vm-tools-0.0.20090121.142982/work/open-vm-tools-2009.01.21-142982/modules/linux/vmhgfs] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.28-gentoo-r1' make: *** [vmhgfs.ko] Error 2 * * ERROR: app-emulation/open-vm-tools-0.0.20090121.142982 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3327: Called linux-mod_src_compile * environment, line 2499: Called die * The specific snippet of code: * eval "emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * The die message: * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= auto-build HEADER_DIR=/usr/src/linux/include BUILD_DIR=/lib/modules/2.6.28-gentoo-r1/build [/code] The build log you will find here. http://pastebin.com/m34c54235 and usefull infos about the System you will find here. http://pastebin.com/m497e3088 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=989708&aid=2530616&group_id=204462 ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ open-vm-tools-devel mailing list open-vm-tools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel