LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-08-2008, 10:27 PM   #1
steve420
LQ Newbie
 
Registered: Jul 2008
Posts: 9

Rep: Reputation: 0
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.
 
Old 08-10-2008, 06:54 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: WIN4LIN ANNOUNCES NEW SUPPORT FOR WINDOWS 9X PRODUCT LXer Syndicated Linux News 0 01-27-2006 08:01 AM
Win4lin Windows hangs on setup Dan2004 Linux - Software 1 12-10-2004 11:41 AM
Browsing Troubles: Slow picture loading, occasional problems with name resolution khz Linux - General 12 07-09-2004 07:02 PM
troubles with loading shared libs on x86-64 sleepylight Fedora 0 04-26-2004 08:54 AM
Win4Lin 4.0 & Windows XP aeshley Linux - Software 2 05-20-2002 06:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration