Tracker item #2797776, was opened at 2009-05-28 10:45
Message generated for change (Comment added) made by reindl_harald
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=2797776&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: v1.0 (example)
Status: Open
Resolution: Invalid
Priority: 5
Private: No
Submitted By: Reindl Harald (reindl_harald)
Assigned to: Nobody/Anonymous (nobody)
Summary: kernel-modules not longer building on fedora
Initial Comment:
Since april 2009 the open-vm-tools are not longer building on fedora 9 / fedora
10
Since a long time i use the following script to build the kernel-modules for
distributing after that to all other machines and it would be fine to get this
working again because kernel 2.6.29 landed in updates-testing today
[r...@buildserver:/scripts]$ cat /scripts/open-vm-tools/build.sh
#!/bin/bash
tar -xzf open-vm-tools-*.gz
cd open-vm-tools-*/modules/linux
modsrc="/usr/lib/vmware-tools/modules/source"
for x in `ls -d v*`
do
mv $x ${x}-only
tar -cf $x.tar ${x}-only
mv ${x}-only $x
mv $modsrc/$x.tar $modsrc/$x.tar.orig
mv $x.tar $modsrc
done
vmware-config-tools.pl
----------------------------------------------------------------------
>Comment By: Reindl Harald (reindl_harald)
Date: 2009-05-28 12:35
Message:
Now i try to get compiled the kernel-modules and i would like to copy them
directly without install the other stuff
But it is not building - So give me please a working way to get the
kernel-modules built on recent fedora-versions or make the old way working
again
cc1: warnings being treated as errors
wiperPosix.c: In function 'Wiper_Init':
wiperPosix.c:1016: error: ignoring return value of 'fgets', declared with
attribute warn_unused_result
make[2]: *** [wiperPosix.lo] Fehler 1
make[2]: Leaving directory
`/usr/local/scripts/open-vm-tools/open-vm-tools-2009.05.22-167859/lib/wiper'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory
`/usr/local/scripts/open-vm-tools/open-vm-tools-2009.05.22-167859/lib'
make: *** [all-recursive] Fehler 1
#!/bin/bash
cd /scripts/open-vm-tools/open-vm-tools*/
export CFLAGS="-O6 -march=native -mtune=native -fopenmp -pipe
-fno-strict-aliasing -D_FORTIFY_SOURCE=2"
export CXXFLAGS="-O6 -march=native -mtune=native -fopenmp -pipe
-fno-strict-aliasing -D_FORTIFY_SOURCE=2"
./configure \
--host=x86_64-redhat-linux-gnu \
--build=x86_64-redhat-linux-gnu \
--without-procps \
--without-gtkmm \
--without-gtk2 \
--disable-unity \
--disable-docs && make
----------------------------------------------------------------------
Comment By: Reindl Harald (reindl_harald)
Date: 2009-05-28 11:24
Message:
> The module directories don't contain all needed files anymore
WHY?
You make unuseable this for non c-programmers in many cases or hurt them
Since many months this works very well on round 20 guest-machines and
On the referenced mailing-list i find no clear solution to get this
working as it did
before april 2009.
> you should probably get them from VMware's Tools distribution that goes
with the products
If this would be so easy there would be NO NEED for open-vm-tools because
you need them
for distributions with really new kernels as not official supported
fedora-guests
----------------------------------------------------------------------
Comment By: Marcelo Vanzin (mvanzin)
Date: 2009-05-28 11:00
Message:
That won't work. The module directories don't contain all needed files
anymore - the shared files are reused from other locations. If you want the
tar packages you should probably get them from VMware's Tools distribution
that goes with the products, or try to adapt the instructions on the
following thread to create them from the open-vm-tools code:
https://sourceforge.net/mailarchive/forum.php?thread_name=200905181606.57759.olivier.lahaye%40cea.fr&forum_name=open-vm-tools-devel
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=2797776&group_id=204462
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
open-vm-tools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel