qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] error: syntax error before "tcg_ctx"


From: Zeno Davatz
Subject: [Qemu-devel] error: syntax error before "tcg_ctx"
Date: Wed, 27 Feb 2008 09:10:08 +0100

Dear List

I am not a developer but I just tested the latest
qemu-snapshot-2008-02-27_05 on my Gentoo Maschine and I get the
following error after doing "./configure" and and "sudo make":

gcc-3.3.6 -I. -I..
-I/home/zeno/.software/qemu-snapshot-2008-02-27_05/target-i386
-I/home/zeno/.software/qemu-snapshot-2008-02-27_05 -MMD -MP
-DNEED_CPU_H -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/zeno/.software/qemu-snapshot-2008-02-27_05/tcg
-I/home/zeno/.software/qemu-snapshot-2008-02-27_05/tcg/i386
-I/home/zeno/.software/qemu-snapshot-2008-02-27_05/fpu
-I/home/zeno/.software/qemu-snapshot-2008-02-27_05/linux-user
-I/home/zeno/.software/qemu-snapshot-2008-02-27_05/linux-user/i386
-Wall -O2 -g -fno-strict-aliasing  -m32 -c -o translate-all.o
/home/zeno/.software/qemu-snapshot-2008-02-27_05/translate-all.c
/home/zeno/.software/qemu-snapshot-2008-02-27_05/translate-all.c:32:17:
tcg.h: No such file or directory
/home/zeno/.software/qemu-snapshot-2008-02-27_05/translate-all.c:35:
error: syntax error before "tcg_ctx"
/home/zeno/.software/qemu-snapshot-2008-02-27_05/translate-all.c:35:
warning: type defaults to `int' in declaration of `tcg_ctx'
/home/zeno/.software/qemu-snapshot-2008-02-27_05/translate-all.c:35:
warning: data definition has no type or storage class
/home/zeno/.software/qemu-snapshot-2008-02-27_05/translate-all.c:38:
error: syntax error before "gen_opparam_buf"
/home/zeno/.software/qemu-snapshot-2008-02-27_05/translate-all.c:38:
warning: type defaults to `int' in declaration of `gen_opparam_buf'
/home/zeno/.software/qemu-snapshot-2008-02-27_05/translate-all.c:38:
warning: data definition has no type or storage class
/home/zeno/.software/qemu-snapshot-2008-02-27_05/translate-all.c:75:21:
tcg-opc.h: No such file or directory
/home/zeno/.software/qemu-snapshot-2008-02-27_05/translate-all.c: In
function `cpu_gen_init':
/home/zeno/.software/qemu-snapshot-2008-02-27_05/translate-all.c:85:
warning: implicit declaration of function `tcg_context_init'
/home/zeno/.software/qemu-snapshot-2008-02-27_05/translate-all.c:86:
warning: implicit declaration of function `tcg_set_frame'
/home/zeno/.software/qemu-snapshot-2008-02-27_05/translate-all.c:86:
error: `TCG_AREG0' undeclared (first use in this function)
/home/zeno/.software/qemu-snapshot-2008-02-27_05/translate-all.c:86:
error: (Each undeclared identifier is reported only once
/home/zeno/.software/qemu-snapshot-2008-02-27_05/translate-all.c:86:
error: for each function it appears in.)
/home/zeno/.software/qemu-snapshot-2008-02-27_05/translate-all.c: In
function `cpu_x86_gen_code':
/home/zeno/.software/qemu-snapshot-2008-02-27_05/translate-all.c:98:
error: `TCGContext' undeclared (first use in this function)
/home/zeno/.software/qemu-snapshot-2008-02-27_05/translate-all.c:98:
error: `s' undeclared (first use in this function)
/home/zeno/.software/qemu-snapshot-2008-02-27_05/translate-all.c:110:
warning: implicit declaration of function `tcg_func_start'
/home/zeno/.software/qemu-snapshot-2008-02-27_05/translate-all.c:137:
warning: implicit declaration of function `dyngen_code'
/home/zeno/.software/qemu-snapshot-2008-02-27_05/translate-all.c: In
function `cpu_restore_state':
/home/zeno/.software/qemu-snapshot-2008-02-27_05/translate-all.c:162:
error: `TCGContext' undeclared (first use in this function)
/home/zeno/.software/qemu-snapshot-2008-02-27_05/translate-all.c:162:
error: `s' undeclared (first use in this function)
/home/zeno/.software/qemu-snapshot-2008-02-27_05/translate-all.c:190:
warning: implicit declaration of function `dyngen_code_search_pc'
make[1]: *** [translate-all.o] Error 1
make[1]: Leaving directory
`/home/zeno/.software/qemu-snapshot-2008-02-27_05/i386-linux-user'
make: *** [subdir-i386-linux-user] Error 2

Any hints what I need to patch?

My system-info is:
~/.software/qemu-snapshot-2008-02-27_05> emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0,
2.6.25-rc2 i686)
=================================================================
System uname: 2.6.25-rc2 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Timestamp of tree: Tue, 26 Feb 2008 05:46:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref
/usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict
unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo";
LANG="de_CH"
LC_ALL="de_CH"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"

Thank you for any Feedback and hints.

Best
Zeno




reply via email to

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