error: syntax error before "tcg_ctx"
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
Quoted 16 lines · Zeno Davatz
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..
(quoted diff) +0
-9-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
Quoted 3 lines
/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
Looks like your source tree is incomplete.
Thiemo
Hi,
Quoted 6 lines · Thiemo Seufer
Quoted 4 lines · Zeno Davatz
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":
Quoted 15 lines
Quoted 10 lines
gcc-3.3.6 -I. -I..
(quoted diff) +0
-9-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.oQuoted 3 lines
/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 directoryLooks like your source tree is incomplete.
Maybe an update with "cvs -d" is needed?
Ciao,
Dscho
Dear List
Thank you for your replies.
I do:
wget http://qemu-forum.ipi.fi/qemu-snapshots/qemu-snapshot-2008-02-27_05.tar.bz2
tar -xjf qemu-snapshot-2008-02-27_05.tar.bz2
./configure
sudo make
And then I get that error.
Is the code that I download from the website as mentioned above not "complete" so I can just do a "configure" "make" and "make install"?
Thank you for your Feedback.
Best
Zeno
Quoted 34 lines · Johannes Schindelin
Hi,
Quoted 6 lines · Thiemo Seufer
Quoted 4 lines · Zeno Davatz
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":
Quoted 15 lines
Quoted 10 lines
gcc-3.3.6 -I. -I..
(quoted diff) +0
-9-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.oQuoted 3 lines
/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 directoryLooks like your source tree is incomplete.
Maybe an update with "cvs -d" is needed?
Ciao,
Dscho
Hi,
Quoted 7 lines · Zeno Davatz
I do:
wget http://qemu-forum.ipi.fi/qemu-snapshots/qemu-snapshot-2008-02-27_05.tar.bz2
tar -xjf qemu-snapshot-2008-02-27_05.tar.bz2
./configure
sudo makeAnd then I get that error.
Apparently whoever creates those snapshots has incomplete synchronisation.
But there is another way to get at a snapshot: the git mirror on repo.or.cz has a snapshot link. Just go here:
http://repo.or.cz/w/qemu.git/
and click on the "snapshot" link to the right of the most recent commit (ATM this is Blue Swirl's "Fix mixed defines").
Hth,
Dscho
Hi
Thank you for your Feedback.
Ok, the download worked but when I do
tar -xzf qemu-1272d6f4f17c75825543a7dda75866313e89bb78.tar.gz
Nothing happens, the software is not put into a new directory or even been unzipped.
Am I doing something wrong?
Best
Zeno
Quoted 27 lines · Johannes Schindelin
Hi,
Quoted 7 lines · Zeno Davatz
I do:
wget http://qemu-forum.ipi.fi/qemu-snapshots/qemu-snapshot-2008-02-27_05.tar.bz2
tar -xjf qemu-snapshot-2008-02-27_05.tar.bz2
./configure
sudo makeAnd then I get that error.
Apparently whoever creates those snapshots has incomplete synchronisation.
But there is another way to get at a snapshot: the git mirror on repo.or.cz has a snapshot link. Just go here:
http://repo.or.cz/w/qemu.git/and click on the "snapshot" link to the right of the most recent commit (ATM this is Blue Swirl's "Fix mixed defines").
Hth,
Dscho
Ah got it, sorry. It goes into the directory "qemu".
Best
Zeno
Quoted 50 lines · Zeno Davatz
Hi
Thank you for your Feedback.
Ok, the download worked but when I do
tar -xzf qemu-1272d6f4f17c75825543a7dda75866313e89bb78.tar.gz
Nothing happens, the software is not put into a new directory or even been unzipped.
Am I doing something wrong?
Best
ZenoOn Wed, Feb 27, 2008 at 1:57 PM, Johannes Schindelin
Quoted 27 lines · <[email protected]> wrote:
Hi,
Quoted 7 lines · Zeno Davatz
I do:
wget http://qemu-forum.ipi.fi/qemu-snapshots/qemu-snapshot-2008-02-27_05.tar.bz2
tar -xjf qemu-snapshot-2008-02-27_05.tar.bz2
./configure
sudo makeAnd then I get that error.
Apparently whoever creates those snapshots has incomplete synchronisation.
But there is another way to get at a snapshot: the git mirror on repo.or.cz has a snapshot link. Just go here:
http://repo.or.cz/w/qemu.git/and click on the "snapshot" link to the right of the most recent commit (ATM this is Blue Swirl's "Fix mixed defines").
Hth,
Dscho
Quoted 10 lines · Zeno Davatz <zdavatz <at> gmail.com> writes:
Dear List
Thank you for your replies.
I do:
wget http://qemu-forum.ipi.fi/qemu-snapshots/qemu-snapshot-2008-02-27_05.tar.bz2
tar -xjf qemu-snapshot-2008-02-27_05.tar.bz2
./configure
sudo make
...
Hello,
maybe I'm missing something, but is there any need to run make as the superuser ?
Lorenzo