* [Qemu-devel] Help needed! dyngen: Unsupported ELF class
@ 2007-11-15 0:14 test test
2007-11-15 10:46 ` Ulrich Hecht
0 siblings, 1 reply; 3+ messages in thread
From: test test @ 2007-11-15 0:14 UTC (permalink / raw)
To: qemu-devel
Hi,
I am new to QEMU and tried to build qemu 0.9.0.
I did ./configure and then make, then I got the following error message:
gcc-3.3 -Wall -O2 -g -fno-strict-aliasing -fno-reorder-blocks
-fno-optimize-sibling-calls -I. -I..
-I/home/xxx/work/qemu/qemu-0.9.0/target-i386
-I/home/xxx/work/qemu/qemu-0.9.0
-I/home/xxx/work/qemu/qemu-0.9.0/linux-user
-I/home/xxx/work/qemu/qemu-0.9.0/linux-user/i386 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/xxx/work/qemu/qemu-0.9.0/fpu -DHAS_AUDIO
-I/home/xxx/work/qemu/qemu-0.9.0/slirp -c -o op.o
/home/xxx/work/qemu/qemu-0.9.0/target-i386/op.c
../dyngen -o op.h op.o
--------------------------------------------------------------------------------
dyngen: Unsupported ELF class
make[1]: *** [op.h] Error 1
--------------------------------------------------------------------------------
What's the problem? Please help!
Thanks in advance!
Xin
For better analysis of the problem, I put the result of configure as below:
WARNING: "gcc" looks like gcc 4.x
Looking for gcc 3.x
Found "gcc-3.3"
Install prefix /usr/local
BIOS directory /usr/local/share/qemu
binary directory /usr/local/bin
Manual directory /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path /home/xxx/work/qemu/qemu-0.9.0
C compiler gcc-3.3
Host C compiler gcc
make make
install install
host CPU x86_64
host big endian no
target list i386-linux-user arm-linux-user armeb-linux-user
sparc-linux-user ppc-linux-user mips-linux-user mipsel-linux-user
m68k-linux-user i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu
mips-softmmu mipsel-softmmu arm-softmmu
gprof enabled no
profiler no
static build no
SDL support yes
SDL static link no
mingw32 support no
Adlib support no
CoreAudio support no
ALSA support no
DSound support no
FMOD support no
kqemu support yes
Documentation no
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Help needed! dyngen: Unsupported ELF class
2007-11-15 0:14 [Qemu-devel] Help needed! dyngen: Unsupported ELF class test test
@ 2007-11-15 10:46 ` Ulrich Hecht
2007-11-15 18:47 ` Xin Zhao
0 siblings, 1 reply; 3+ messages in thread
From: Ulrich Hecht @ 2007-11-15 10:46 UTC (permalink / raw)
To: qemu-devel
On Thursday 15 November 2007, test test wrote:
> ----------------------------------------------------------------------
>---------- dyngen: Unsupported ELF class
> make[1]: *** [op.h] Error 1
> ----------------------------------------------------------------------
>----------
>
> What's the problem? Please help!
>
> For better analysis of the problem, I put the result of configure as
> below:
>
> WARNING: "gcc" looks like gcc 4.x
> Looking for gcc 3.x
> Found "gcc-3.3"
[...]
> host CPU x86_64
Is it possible that your gcc-3.3 is an i386 compiler? If so, edit
config-host.mak and replace "ARCH=x86_64" with ARCH="i386", then
rebuild.
CU
Uli
--
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Help needed! dyngen: Unsupported ELF class
2007-11-15 10:46 ` Ulrich Hecht
@ 2007-11-15 18:47 ` Xin Zhao
0 siblings, 0 replies; 3+ messages in thread
From: Xin Zhao @ 2007-11-15 18:47 UTC (permalink / raw)
To: qemu-devel
I tried it, but still got the same error. Any further suggestion?
Thanks,
-x
On Nov 15, 2007 2:46 AM, Ulrich Hecht <uli@suse.de> wrote:
> On Thursday 15 November 2007, test test wrote:
> > ----------------------------------------------------------------------
> >---------- dyngen: Unsupported ELF class
> > make[1]: *** [op.h] Error 1
> > ----------------------------------------------------------------------
> >----------
> >
> > What's the problem? Please help!
> >
> > For better analysis of the problem, I put the result of configure as
> > below:
> >
> > WARNING: "gcc" looks like gcc 4.x
> > Looking for gcc 3.x
> > Found "gcc-3.3"
> [...]
> > host CPU x86_64
>
> Is it possible that your gcc-3.3 is an i386 compiler? If so, edit
> config-host.mak and replace "ARCH=x86_64" with ARCH="i386", then
> rebuild.
>
> CU
> Uli
>
> --
> SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-11-15 18:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-15 0:14 [Qemu-devel] Help needed! dyngen: Unsupported ELF class test test
2007-11-15 10:46 ` Ulrich Hecht
2007-11-15 18:47 ` Xin Zhao
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).