LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Having Troubles Loading Windows Xp in Win4lin (https://www.linuxquestions.org/questions/linux-software-2/having-troubles-loading-windows-xp-in-win4lin-661528/)

steve420 08-08-2008 10:27 PM

Having Troubles Loading Windows Xp in Win4lin
 
Hey guys, I just bought win4lin so I could use it on my server to run some apps, the install went fine it was all easy, but when it came to loading up the windows image it had said something about the drivers not being able to load. So I looked in the log file and got this...

Could not find kernel includes in /lib/modules or /usr/src/linux - cannot build the kqemu module
Source path /tmp/.build_kqemu-13461/kqemu
C compiler /usr/lib/win4linpro/bin/host-gcc
Host C compiler /usr/lib/win4linpro/bin/host-gcc
make make
host CPU i386
./configure: line 344: test: =: unary operator expected
make -C common all
make[1]: Entering directory `/tmp/.build_kqemu-13461/kqemu/common'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/.build_kqemu-13461/kqemu/common'
make -C /usr/src/linux SUBDIRS=`pwd` modules
make: *** /usr/src/linux: No such file or directory. Stop.
make: *** [kqemu.o] Error 2
Does anyone know how to fix this?
Thanks in advanced.
By the way I'm using CentOs 5.

aus9 08-10-2008 06:54 AM

I do not use Centos and until you get a better reply it looks like you need to install the
kernel headers packages and dependencies...or the bigger download of the kernel-src package for your kernel

2) open a shell and try command
Code:

uname -r
to get your kernel version number then use your package manager to grab the kernel headers package....and if that fails then grab the kernel source package.....for that particular kernel.

3) Be aware you may have a number of kernels installed....so boot up the one that you are actually needing to use when running win4lin.


All times are GMT -5. The time now is 08:14 AM.