[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] cant compile under Linux for sparc
From: |
Martin Williams |
Subject: |
[Qemu-devel] cant compile under Linux for sparc |
Date: |
Wed, 19 Jan 2005 01:54:27 +0000 |
Hello,
I am using Debian testing distro on my Ultra 5 (sparc64) as my host. I
can not currently compile either the tarball on the website or the
latest cvs - both produce the same bunch of errors ...
Probably I am doing something dumb, but some help would be appreciated!
This is the output generated when the commands ./configure and make are
executed:
mjjw:~/qemu-0.6.1# ./configure
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 /root/qemu-0.6.1
C compiler gcc
make make
host CPU sparc64
host big endian yes
target list i386-user i386 i386-softmmu arm-user sparc-user
ppc-user ppc-softmmu sparc-softmmu
gprof enabled no
static build no
SDL support no
SDL static link no
mingw32 support no
Adlib support no
FMOD support no
WARNING: cannot compile statically with SDL - qemu-fast won't have a
graphical output
mjjw:~/qemu-0.6.1# make
gcc -Wall -O2 -g -fno-strict-aliasing -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o dyngen dyngen.c
dyngen.c: In function `gen_code':
dyngen.c:1610: warning: long int format, different type arg (arg 4)
dyngen.c:2075: warning: int format, different type arg (arg 3)
dyngen.c:2085: warning: int format, different type arg (arg 3)
dyngen.c:2085: warning: int format, different type arg (arg 4)
dyngen.c:2095: warning: int format, different type arg (arg 3)
dyngen.c:2095: warning: int format, different type arg (arg 4)
dyngen.c:2107: warning: int format, different type arg (arg 3)
dyngen.c:2107: warning: int format, different type arg (arg 4)
dyngen.c:2107: warning: int format, different type arg (arg 7)
gcc -DQEMU_TOOL -Wall -O2 -g -fno-strict-aliasing -g -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o qemu-img qemu-img.c
block.c block-cow.c block-qcow.c aes.c block-vmdk.c block-cloop.c -lz
block-qcow.c:26:18: zlib.h: No such file or directory
block-qcow.c: In function `decompress_buffer':
block-qcow.c:407: error: `z_stream' undeclared (first use in this
function)
block-qcow.c:407: error: (Each undeclared identifier is reported only
once
block-qcow.c:407: error: for each function it appears in.)
block-qcow.c:407: error: parse error before "strm1"
block-qcow.c:410: error: `strm' undeclared (first use in this function)
block-qcow.c:417: warning: implicit declaration of function
`inflateInit2'
block-qcow.c:418: error: `Z_OK' undeclared (first use in this function)
block-qcow.c:420: warning: implicit declaration of function `inflate'
block-qcow.c:420: error: `Z_FINISH' undeclared (first use in this
function)
block-qcow.c:422: error: `Z_STREAM_END' undeclared (first use in this
function)
block-qcow.c:422: error: `Z_BUF_ERROR' undeclared (first use in this
function)
block-qcow.c:424: warning: implicit declaration of function `inflateEnd'
block-qcow.c: In function `qcow_compress_cluster':
block-qcow.c:609: error: `z_stream' undeclared (first use in this
function)
block-qcow.c:609: error: parse error before "strm"
block-qcow.c:622: error: `strm' undeclared (first use in this function)
block-qcow.c:623: warning: implicit declaration of function
`deflateInit2'
block-qcow.c:623: error: `Z_DEFAULT_COMPRESSION' undeclared (first use
in this function)
block-qcow.c:624: error: `Z_DEFLATED' undeclared (first use in this
function)
block-qcow.c:625: error: `Z_DEFAULT_STRATEGY' undeclared (first use in
this function)
block-qcow.c:636: warning: implicit declaration of function `deflate'
block-qcow.c:636: error: `Z_FINISH' undeclared (first use in this
function)
block-qcow.c:637: error: `Z_STREAM_END' undeclared (first use in this
function)
block-qcow.c:637: error: `Z_OK' undeclared (first use in this function)
block-qcow.c:639: warning: implicit declaration of function `deflateEnd'
block-cloop.c:26:18: zlib.h: No such file or directory
block-cloop.c:37: error: parse error before "z_stream"
block-cloop.c:37: warning: no semicolon at end of struct or union
block-cloop.c:38: warning: type defaults to `int' in declaration of
`BDRVCloopState'
block-cloop.c:38: warning: data definition has no type or storage class
block-cloop.c: In function `cloop_open':
block-cloop.c:55: error: `s' undeclared (first use in this function)
block-cloop.c:55: error: (Each undeclared identifier is reported only
once
block-cloop.c:55: error: for each function it appears in.)
block-cloop.c:96: warning: implicit declaration of function
`inflateInit'
block-cloop.c:96: error: `Z_OK' undeclared (first use in this function)
block-cloop.c: At top level:
block-cloop.c:105: error: parse error before '*' token
block-cloop.c: In function `cloop_read_block':
block-cloop.c:107: error: `s' undeclared (first use in this function)
block-cloop.c:107: error: `block_num' undeclared (first use in this
function)
block-cloop.c:120: warning: implicit declaration of function
`inflateReset'
block-cloop.c:121: error: `Z_OK' undeclared (first use in this function)
block-cloop.c:123: warning: implicit declaration of function `inflate'
block-cloop.c:123: error: `Z_FINISH' undeclared (first use in this
function)
block-cloop.c:124: error: `Z_STREAM_END' undeclared (first use in this
function)
block-cloop.c: In function `cloop_read':
block-cloop.c:135: error: `s' undeclared (first use in this function)
block-cloop.c: In function `cloop_close':
block-cloop.c:150: error: `s' undeclared (first use in this function)
block-cloop.c:154: warning: implicit declaration of function
`inflateEnd'
make: *** [qemu-img] Error 1
- [Qemu-devel] cant compile under Linux for sparc,
Martin Williams <=