* [Qemu-devel] error: syntax error before "tcg_ctx"
@ 2008-02-27 8:10 Zeno Davatz
2008-02-27 12:26 ` Thiemo Seufer
0 siblings, 1 reply; 8+ messages in thread
From: Zeno Davatz @ 2008-02-27 8:10 UTC (permalink / raw)
To: qemu-devel
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] error: syntax error before "tcg_ctx"
2008-02-27 8:10 [Qemu-devel] error: syntax error before "tcg_ctx" Zeno Davatz
@ 2008-02-27 12:26 ` Thiemo Seufer
2008-02-27 12:34 ` Johannes Schindelin
0 siblings, 1 reply; 8+ messages in thread
From: Thiemo Seufer @ 2008-02-27 12:26 UTC (permalink / raw)
To: Zeno Davatz; +Cc: qemu-devel
Zeno Davatz wrote:
> 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
Looks like your source tree is incomplete.
Thiemo
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] error: syntax error before "tcg_ctx"
2008-02-27 12:26 ` Thiemo Seufer
@ 2008-02-27 12:34 ` Johannes Schindelin
2008-02-27 12:40 ` Zeno Davatz
0 siblings, 1 reply; 8+ messages in thread
From: Johannes Schindelin @ 2008-02-27 12:34 UTC (permalink / raw)
To: Thiemo Seufer; +Cc: Zeno Davatz, qemu-devel
Hi,
On Wed, 27 Feb 2008, Thiemo Seufer wrote:
> Zeno Davatz wrote:
>
> > 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
>
> Looks like your source tree is incomplete.
Maybe an update with "cvs -d" is needed?
Ciao,
Dscho
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] error: syntax error before "tcg_ctx"
2008-02-27 12:34 ` Johannes Schindelin
@ 2008-02-27 12:40 ` Zeno Davatz
2008-02-27 12:57 ` Johannes Schindelin
2008-02-27 15:47 ` [Qemu-devel] " Lorenzo Campedelli
0 siblings, 2 replies; 8+ messages in thread
From: Zeno Davatz @ 2008-02-27 12:40 UTC (permalink / raw)
To: qemu-devel
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
On Wed, Feb 27, 2008 at 1:34 PM, Johannes Schindelin
<Johannes.Schindelin@gmx.de> wrote:
> Hi,
>
> On Wed, 27 Feb 2008, Thiemo Seufer wrote:
>
>
>
> > Zeno Davatz wrote:
> >
> > > 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
> >
> > Looks like your source tree is incomplete.
>
> Maybe an update with "cvs -d" is needed?
>
> Ciao,
> Dscho
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] error: syntax error before "tcg_ctx"
2008-02-27 12:40 ` Zeno Davatz
@ 2008-02-27 12:57 ` Johannes Schindelin
2008-02-27 13:26 ` Zeno Davatz
2008-02-27 15:47 ` [Qemu-devel] " Lorenzo Campedelli
1 sibling, 1 reply; 8+ messages in thread
From: Johannes Schindelin @ 2008-02-27 12:57 UTC (permalink / raw)
To: Zeno Davatz; +Cc: qemu-devel
Hi,
On Wed, 27 Feb 2008, Zeno Davatz wrote:
> 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.
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] error: syntax error before "tcg_ctx"
2008-02-27 12:57 ` Johannes Schindelin
@ 2008-02-27 13:26 ` Zeno Davatz
2008-02-27 13:29 ` Zeno Davatz
0 siblings, 1 reply; 8+ messages in thread
From: Zeno Davatz @ 2008-02-27 13:26 UTC (permalink / raw)
To: qemu-devel
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
On Wed, Feb 27, 2008 at 1:57 PM, Johannes Schindelin
<Johannes.Schindelin@gmx.de> wrote:
> Hi,
>
>
> On Wed, 27 Feb 2008, Zeno Davatz wrote:
>
> > 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.
>
> 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
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] error: syntax error before "tcg_ctx"
2008-02-27 13:26 ` Zeno Davatz
@ 2008-02-27 13:29 ` Zeno Davatz
0 siblings, 0 replies; 8+ messages in thread
From: Zeno Davatz @ 2008-02-27 13:29 UTC (permalink / raw)
To: qemu-devel
Ah got it, sorry. It goes into the directory "qemu".
Best
Zeno
On Wed, Feb 27, 2008 at 2:26 PM, Zeno Davatz <zdavatz@gmail.com> wrote:
> 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
>
> On Wed, Feb 27, 2008 at 1:57 PM, Johannes Schindelin
>
> <Johannes.Schindelin@gmx.de> wrote:
>
>
> > Hi,
> >
> >
> > On Wed, 27 Feb 2008, Zeno Davatz wrote:
> >
> > > 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.
> >
> > 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
> >
> >
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Qemu-devel] Re: error: syntax error before "tcg_ctx"
2008-02-27 12:40 ` Zeno Davatz
2008-02-27 12:57 ` Johannes Schindelin
@ 2008-02-27 15:47 ` Lorenzo Campedelli
1 sibling, 0 replies; 8+ messages in thread
From: Lorenzo Campedelli @ 2008-02-27 15:47 UTC (permalink / raw)
To: qemu-devel
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
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-02-27 15:47 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-27 8:10 [Qemu-devel] error: syntax error before "tcg_ctx" Zeno Davatz
2008-02-27 12:26 ` 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).