qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Building Qemu 0.10.5 fails with an error about missing tcg-


From: Ciprian Dorin, Craciun
Subject: [Qemu-devel] Building Qemu 0.10.5 fails with an error about missing tcg-target.h
Date: Sat, 27 Jun 2009 19:52:35 +0300

    Hello all!

    I've tried to build Qemu 0.10.5 and it fails with:
...
error: tcg-target.h: No such file or directory
warning: "TCG_TARGET_REG_BITS" is not defined
...

    I've attached a file that contains both build commands and output.
I'm on Debian Lenny i386 with a 2.6.30 kernel, and GCC 4.2. I've tried
also Qemu 0.10.0 and the same thing happens. (I've also pasted below
only the build script.)

    Am I missing something?

    Thank you,
    Ciprian Craciun.

----

#!/bin/bash

# qemu--0.10.5--0

set -e -u -o pipefail || exit 1

test "${#}" -eq 0 || exit 1

test ! -e ./_deploy_ || find ./_deploy_ -delete
mkdir -p ./_deploy_

test ! -e ./_build_ || find ./_build_ -delete
mkdir -p ./_build_

export PATH='/bin:/usr/bin:/usr/local/bin'
export LD_LIBRARY_PATH='/lib:/usr/lib:/usr/local/lib'
export 
PKG_CONFIG_PATH='/lib/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig'
export DESTDIR="$( realpath ./_deploy_ )"

export CPPFLAGS='-I/usr/include -I/usr/local/include'
export CFLAGS='-O0'
export LDFLAGS='-L/lib -L/usr/lib -L/usr/local/lib'

cd ./_build_

../configure \
                --prefix=/packages/qemu--0.10.5--0 \
                --kerneldir="/usr/src/linux-headers-$( uname -r )/include" \
                --cc=gcc-4.2 \
                --host-cc=gcc-4.2 \
                --target-list=i386-softmmu \
                --static \
                --audio-drv-list=alsa \
                --audio-card-list=ac97 \
                --disable-sparse \
                --disable-werror \
                --disable-brlapi \
                --disable-bluez \
                --disable-kvm \
                --disable-system \
                --enable-linux-user \
                --disable-darwin-user \
                --disable-bsd-user

make -j 4

make -j 4 install

exit 0

Attachment: build.log
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]