public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* compile error with kvm-25
@ 2007-05-24 17:10 Axel Kittenberger
       [not found] ` <4655C6E8.3000602-4JhlDu4IDl0juwv8T7myQQ@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Axel Kittenberger @ 2007-05-24 17:10 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hello List!

I just downloaded kvm-25 and get following error while trying compile.

(Because the kvm 0.8 that came with my distro, always crashed after 1 
second into trying to boot an qemu-installed Windows 2003 Server. So I 
hope 0.9 might do.

Trans-Script.
-------------------------
host/usr/src/kvm/kvm-25# ./configure 
--kerneldir=/usr/src/linux/linux-2.6.21.2/
Install prefix    /usr/local
BIOS directory    /usr/local/share/qemu
binary directory  /usr/local/bin
Manual directory  /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /usr/src/kvm/kvm-25/qemu
C compiler        gcc
Host C compiler   gcc
make              make
install           install
host CPU          i386
host big endian   no
target list       i386-softmmu
gprof enabled     no
profiler          no
static build      no
SDL support       yes
SDL static link   yes
mingw32 support   no
Adlib support     no
CoreAudio support no
ALSA support      yes
DSound support    no
FMOD support      no
kqemu support     no
kvm support       yes
Documentation     no

[......]
---
make[1]: Entering directory `/usr/src/kvm/kvm-25/user'
gcc -I /usr/src/kvm/kvm-25/kernel/include -MMD -MF test/.bootstrap.d -g 
-fomit-frame-pointer -Wall -m32     -std=gnu99 -ffreestanding -c 
-nostdlib -o test/bootstrap.o test/bootstrap.S
test/bootstrap.S:2:3: invalid preprocessing directive #minimal
---


-------------------------
Okay, I understand the gcc doesn't understand the assembler, when it 
thinks it ought to be c.
BTW: Also I changed the /usr/bin/gcc symlink from the 4.0 version to 
3.4.6 (in contrary to the qemu install, this install did not hard-call 
the gcc-3.4 binary)

Greetings, Axel
PS: please CC me, I'm not subscribed to the list.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: compile error with kvm-25
       [not found] ` <4655C6E8.3000602-4JhlDu4IDl0juwv8T7myQQ@public.gmane.org>
@ 2007-05-24 19:18   ` Anthony Liguori
       [not found]     ` <4655F2A5.4080202@univie.ac.at>
  0 siblings, 1 reply; 3+ messages in thread
From: Anthony Liguori @ 2007-05-24 19:18 UTC (permalink / raw)
  To: Axel Kittenberger; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Axel Kittenberger wrote:
> Hello List!
>
> I just downloaded kvm-25 and get following error while trying compile.
>   

Avi just fixed this in git.

Regards,

Anthony Liguori

> (Because the kvm 0.8 that came with my distro, always crashed after 1 
> second into trying to boot an qemu-installed Windows 2003 Server. So I 
> hope 0.9 might do.
>
> Trans-Script.
> -------------------------
> host/usr/src/kvm/kvm-25# ./configure 
> --kerneldir=/usr/src/linux/linux-2.6.21.2/
> Install prefix    /usr/local
> BIOS directory    /usr/local/share/qemu
> binary directory  /usr/local/bin
> Manual directory  /usr/local/share/man
> ELF interp prefix /usr/gnemul/qemu-%M
> Source path       /usr/src/kvm/kvm-25/qemu
> C compiler        gcc
> Host C compiler   gcc
> make              make
> install           install
> host CPU          i386
> host big endian   no
> target list       i386-softmmu
> gprof enabled     no
> profiler          no
> static build      no
> SDL support       yes
> SDL static link   yes
> mingw32 support   no
> Adlib support     no
> CoreAudio support no
> ALSA support      yes
> DSound support    no
> FMOD support      no
> kqemu support     no
> kvm support       yes
> Documentation     no
>
> [......]
> ---
> make[1]: Entering directory `/usr/src/kvm/kvm-25/user'
> gcc -I /usr/src/kvm/kvm-25/kernel/include -MMD -MF test/.bootstrap.d -g 
> -fomit-frame-pointer -Wall -m32     -std=gnu99 -ffreestanding -c 
> -nostdlib -o test/bootstrap.o test/bootstrap.S
> test/bootstrap.S:2:3: invalid preprocessing directive #minimal
> ---
>
>
> -------------------------
> Okay, I understand the gcc doesn't understand the assembler, when it 
> thinks it ought to be c.
> BTW: Also I changed the /usr/bin/gcc symlink from the 4.0 version to 
> 3.4.6 (in contrary to the qemu install, this install did not hard-call 
> the gcc-3.4 binary)
>
> Greetings, Axel
> PS: please CC me, I'm not subscribed to the list.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> kvm-devel mailing list
> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: compile error with kvm-25
       [not found]       ` <4655F2A5.4080202-4JhlDu4IDl0juwv8T7myQQ@public.gmane.org>
@ 2007-05-24 21:19         ` Axel Kittenberger
  0 siblings, 0 replies; 3+ messages in thread
From: Axel Kittenberger @ 2007-05-24 21:19 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

For now I just replaced in my download the gcc line by an "as" line in 
the Makefile.. And yes the kvm boots the Windows 2003 Server now. Yay! 
*happy*

Thanks, Axel Kittenberger

BTW: out of some reason on my debian etch had also not a "libuuid.so",  
only a "libuuid.so.1" so I need to make a symlink. *shrugs*
BTW 2: I now you got more important issues on the hand, I dearly 
misunderstand the "kernel build directory" --configure, as the directory 
where i compiled the server... maybe if you have some extra seconds, 
make something more dummy proof wording perhaps. ;-)


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-24 21:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-24 17:10 compile error with kvm-25 Axel Kittenberger
     [not found] ` <4655C6E8.3000602-4JhlDu4IDl0juwv8T7myQQ@public.gmane.org>
2007-05-24 19:18   ` Anthony Liguori
     [not found]     ` <4655F2A5.4080202@univie.ac.at>
     [not found]       ` <4655F2A5.4080202-4JhlDu4IDl0juwv8T7myQQ@public.gmane.org>
2007-05-24 21:19         ` Axel Kittenberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox