Newsgroup: it.comp.os.linux.iniziare
Titolo: perplessità nell'intallzione di vmware

Sto installando Vmware su una Fc5 in un vaio x86_64, mentre lancio il
vmware-config.pl
 mi dice:
Your kernel was built with "gcc" version "4.1.0", while you are trying
to use
"/usr/bin/gcc" version "4.1.1". This configuration is not recommended
and VMware
Workstation may crash if you'll continue. Please try to use exactly
same
compiler as one used for building your kernel. Do you want to go with
compiler
"/usr/bin/gcc" version "4.1.1" anyway? [no] yes
ignoro e arrivo a:
What is the location of the directory of C header files that match your
running
kernel? [/usr/src/linux/include]
se gli do uno di questi:
2.6.16-1.2122_FC5-kdump-x86_64
2.6.16-1.2122_FC5kdump-x86_64 -> 2.6.16-1.2122_FC5-kdump-x86_64
mi dice:
What is the location of the directory of C header files that match your
running
kernel? [/usr/src/linux/include]
/usr/src/kernels/2.6.16-1.2122_FC5kdump-x86_64/include/
The directory of kernel headers (version 2.6.16-1.2122_FC5kdump) does
not match
your running kernel (version 2.6.16-1.2122_FC5).  Even if the module
were to
compile successfully, it would not load into the running kernel.
dando uname mi dice che uso il kernel 2.6.16-1.2122_FC5, ho solo una
cartella con quel nome in:
/usr/lib/debug/lib/modules/2.6.16-1.2122_FC5
non me ne intendo e non capisco la differanza tra questi e tra i kernel
xen0, xenU, kdump, -kdump ed altri, come posso fare per dirgli di
puntare la cartella corretta del mio kernel se non la trovo in:
/usr/src/kernels/
Grazie e scusate la mia ignoranza...

ok, non riesco a trovare gli header per la mia versione, su 
rpmfind.net
non ci sono, hai un consiglio per me?
Grazie ancora..

Stefano-Mirandola(Step) wrote:

Se usi yum, dovrebbe bastare installare il kernel-devel.

>Se usi yum, dovrebbe bastare installare il kernel-devel.
ok, ho installato il kernel-devel, quindi ho dato la cartella
/usr/src/kernels/2.6.16-1.2122_FC5-x86_64/include  che credo sia quella
corretta però mi risponde così:
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
Your kernel was built with "gcc" version "4.1.0", while you are trying
to use
"/usr/bin/gcc" version "4.1.1". This configuration is not recommended
and VMware
Workstation may crash if you'll continue. Please try to use exactly
same
compiler as one used for building your kernel. Do you want to go with
compiler
"/usr/bin/gcc" version "4.1.1" anyway? [no] yes
What is the location of the directory of C header files that match your
running
kernel? [/usr/src/kernels/2.6.16-1.2122_FC5-x86_64/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config3/vmmon-only'
make -C /usr/src/kernels/2.6.16-1.2122_FC5-x86_64/include/..
SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.16-1.2122_FC5-x86_64'
  CC [M]  /tmp/vmware-config3/vmmon-only/linux/driver.o
/tmp/vmware-config3/vmmon-only/linux/driver.c:33:25: error:
asm/ioctl32.h: No such file or directory
In file included from
/tmp/vmware-config3/vmmon-only/./include/vmware.h:24,
                 from /tmp/vmware-config3/vmmon-only/linux/driver.c:44:
/tmp/vmware-config3/vmmon-only/./include/vm_basic_defs.h:208:5:
warning: "_MSC_VER" is not defined
In file included from
/tmp/vmware-config3/vmmon-only/./include/vcpuset.h:56,
                 from
/tmp/vmware-config3/vmmon-only/./include/modulecall.h:23,
                 from
/tmp/vmware-config3/vmmon-only/./common/vmx86.h:18,
                 from /tmp/vmware-config3/vmmon-only/linux/driver.h:15,
                 from /tmp/vmware-config3/vmmon-only/linux/driver.c:45:
/tmp/vmware-config3/vmmon-only/./include/vm_atomic.h:54:5: warning:
"_MSC_VER" is not defined
In file included from /tmp/vmware-config3/vmmon-only/linux/driver.h:19,
                 from /tmp/vmware-config3/vmmon-only/linux/driver.c:45:
/tmp/vmware-config3/vmmon-only/./include/compat_wait.h:37:5: warning:
"VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config3/vmmon-only/./include/compat_wait.h:43:5: warning:
"VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config3/vmmon-only/linux/driver.h:19,
                 from /tmp/vmware-config3/vmmon-only/linux/driver.c:45:
/tmp/vmware-config3/vmmon-only/./include/compat_wait.h:60: error:
conflicting types for 'poll_initwait'
include/linux/poll.h:45: error: previous declaration of
'poll_initwait' was here
In file included from
/tmp/vmware-config3/vmmon-only/./include/vm_asm.h:23,
                 from /tmp/vmware-config3/vmmon-only/linux/driver.c:48:
/tmp/vmware-config3/vmmon-only/./include/vm_basic_asm.h:48:5: warning:
"_MSC_VER" is not defined
/tmp/vmware-config3/vmmon-only/linux/driver.c:138: warning:
initialization from incompatible pointer type
/tmp/vmware-config3/vmmon-only/linux/driver.c:142: warning:
initialization from incompatible pointer type
/tmp/vmware-config3/vmmon-only/linux/driver.c: In function
'register_ioctl32_handlers':
/tmp/vmware-config3/vmmon-only/linux/driver.c:222: warning: implicit
declaration of function 'register_ioctl32_conversion'
/tmp/vmware-config3/vmmon-only/linux/driver.c: In function
'unregister_ioctl32_handlers':
/tmp/vmware-config3/vmmon-only/linux/driver.c:248: warning: implicit
declaration of function 'unregister_ioctl32_conversion'
/tmp/vmware-config3/vmmon-only/linux/driver.c: In function
'LinuxDriverNoPage':
/tmp/vmware-config3/vmmon-only/linux/driver.c:864: error: 'mem_map'
undeclared (first use in this function)
/tmp/vmware-config3/vmmon-only/linux/driver.c:864: error: (Each
undeclared identifier is reported only once
/tmp/vmware-config3/vmmon-only/linux/driver.c:864: error: for each
function it appears in.)
/tmp/vmware-config3/vmmon-only/linux/driver.c: In function
'LinuxDriverLockedNoPage':
/tmp/vmware-config3/vmmon-only/linux/driver.c:934: error: 'mem_map'
undeclared (first use in this function)
/tmp/vmware-config3/vmmon-only/linux/driver.c: In function
'LinuxDriverNoPage':
/tmp/vmware-config3/vmmon-only/linux/driver.c:873: warning: control
reaches end of non-void function
make[2]: *** [/tmp/vmware-config3/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.16-1.2122_FC5-x86_64'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config3/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems,
please
visit our Web site at
"
http://www.vmware.com/download/modules/modules.html
" and
"
http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html
".
Execution aborted.
(spero di aver solo sbagliato cartella...) Grazie.