Skip to contentSkip to conversation

compile error with kvm-25

DISCUSSION Axel Kittenberger 3 participants 3 messages May 24, 2007 3 messages not in the archive KVM

lore
Share & tools
lore
#0 lore raw

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/

#2 lore raw
In reply to a message not in the archive
Quoted 4 lines · Axel Kittenberger

Hello List!

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

Avi just fixed this in git.

Regards,

Anthony Liguori

Quoted 56 lines

(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

(quoted diff) +0 -2
-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.

Quoted 11 lines

-------------------------------------------------------------------------
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 [email protected]
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/

#5 lore raw
In reply to a message not in the archive

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/