From: "Zeno Davatz" <zdavatz@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] error: syntax error before "tcg_ctx"
Date: Wed, 27 Feb 2008 09:10:08 +0100 [thread overview]
Message-ID: <40a4ed590802270010o3d3e900k50dd41b33d2d58ef@mail.gmail.com> (raw)
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
next reply other threads:[~2008-02-27 8:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-27 8:10 Zeno Davatz [this message]
2008-02-27 12:26 ` [Qemu-devel] error: syntax error before "tcg_ctx" Thiemo Seufer
2008-02-27 12:34 ` Johannes Schindelin
2008-02-27 12:40 ` Zeno Davatz
2008-02-27 12:57 ` Johannes Schindelin
2008-02-27 13:26 ` Zeno Davatz
2008-02-27 13:29 ` Zeno Davatz
2008-02-27 15:47 ` [Qemu-devel] " Lorenzo Campedelli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40a4ed590802270010o3d3e900k50dd41b33d2d58ef@mail.gmail.com \
--to=zdavatz@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.