C header files location

Joseph Kubik shrike-3aB5TwEFUAhAfugRpC6u6w at public.gmane.org
Sun Dec 17 16:31:24 UTC 2006


On Sunday 17 December 2006 09:04, Chris Aitken wrote:
> Chris Aitken wrote:
>
> <snip>
>
> > I hope you guys won't mind that I did an OS (FC4) re-install. There
> > was nothing on this new installation that I couldn't live without so I
> > thought I'd do an 'Everything' install (I have the room) so that all
> > libraries, headers, whatever (at least all that come with the four FC4
> > CDs) would be on the computer. Well, I guess that solved the header
> > problem but now I seem to have a new problem.
>
> Sorry, I forgot to cut & paste the vmware-config.pl output - I gave you
> the sizle with no steak:
>
> Do you accept? (yes/no) yes
>
> Thank you.
>
> Trying to find a suitable vmmon module for your running kernel.
>
> None of VMware Workstation's pre-built vmmon modules is suitable for your
> running kernel. Do you want this program to try to build the vmmon
> module for
> your system (you need to have a C compiler installed on your system)?
> [yes] yes
>
> Using compiler "/usr/bin/gcc". Use environment variable CC to override.
>
> What is the location of the directory of C header files that match your
> running
> kernel? [/lib/modules/2.6.11-1.1369_FC4/build/include]
>
> Extracting the sources of the vmmon module.
>
> Building the vmmon module.
>
> Using 2.6.x kernel build system.
> make: Entering directory `/tmp/vmware-config0/vmmon-only'
> make -C /lib/modules/2.6.11-1.1369_FC4/build/include/.. SUBDIRS=$PWD
> SRCROOT=$PWD/. modules
> make[1]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
> CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
> /tmp/vmware-config0/vmmon-only/linux/driver.c:131: warning:
> initialization from incompatible pointer type
> /tmp/vmware-config0/vmmon-only/linux/driver.c:135: warning:
> initialization from incompatible pointer type
> CC [M] /tmp/vmware-config0/vmmon-only/linux/hostif.o
> In file included from /tmp/vmware-config0/vmmon-only/linux/hostif.c:61:
> /tmp/vmware-config0/vmmon-only/./include/pgtbl.h: In function
> ‘PgtblVa2PTELocked’:
> /tmp/vmware-config0/vmmon-only/./include/pgtbl.h:81: warning: passing
> argument 1 of ‘pmd_offset’ from incompatible pointer type
> /tmp/vmware-config0/vmmon-only/linux/hostif.c: In function
> ‘HostIF_FreeLockedPages’:
> /tmp/vmware-config0/vmmon-only/linux/hostif.c:738: error: ‘struct page’
> has no member named ‘count’
> /tmp/vmware-config0/vmmon-only/linux/hostif.c:740: error: ‘struct page’
> has no member named ‘count’
> make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/hostif.o] Error 1
> make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
> make: *** [vmmon.ko] Error 2
> make: Leaving directory `/tmp/vmware-config0/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.
>
> <snip>
> --

FC4 Latest Kernel is not one of the Kernels that vmware has a proper config 
for.
There is a guy (search the vmware forums for the details) who builds a patch 
that makes workstation and server run on *anything*.

Download and untar the following. Then run vmware-config.pl
http://platan.vc.cvut.cz/ftp/pub/vmware/vmware-any-any-update105.tar.gz

If you have trouble, search the vmware forums for fc4 and there are several 
good sets of howtos on there.

Cheers,
-Joseph-
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list