qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Gabor Z. Papp" <gzp@papp.hu>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] qemu 0.9.1 on Linux 2.4
Date: Sat, 15 Mar 2008 08:50:49 +0100	[thread overview]
Message-ID: <x63aqstoh2@gzp> (raw)

Hello,

I would like to compile qemu 0.9.1 on Linux 2.4. Is that possible?

[kernel]
Linux gzp1 2.4.36.1-gzp1 #1 SMP Tue Feb 19 10:23:48 CET 2008 i686
GNU/Linux

[glibc]
GNU C Library stable release version 2.3.6, by Roland McGrath et al.
Compiled by GNU CC version 4.1.2.
Compiled on a Linux 2.4.34-gzp1 system on 2007-04-04.

[gcc]
gcc (GCC) 3.4.6

[binutils]
GNU ld (Linux/GNU Binutils) 2.18.50.0.4.20080208

[autoconf]
autoconf (GNU Autoconf) 2.61

[automake]
automake (GNU automake) 1.10.1

gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I/home/gzp/src/qemu-0.9.1 -MMD -MP -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/home/gzp/src/qemu-0.9.1/slirp -DQEMU_IMG    -c -o qemu-img-block-raw-posix.o block-raw-posix.c
In file included from /usr/include/linux/cdrom.h:14,
                 from block-raw-posix.c:52:
/usr/include/asm/byteorder.h:14: error: syntax error before "__attribute__"
/usr/include/asm/byteorder.h:30: error: syntax error before "__attribute__"
/usr/include/asm/byteorder.h:39: error: syntax error before "__attribute__"
/usr/include/asm/byteorder.h:44: error: syntax error before '}' token
/usr/include/asm/byteorder.h:45: error: syntax error before '.' token
/usr/include/asm/byteorder.h:53: error: syntax error before ':' token
In file included from /usr/include/linux/byteorder/little_endian.h:11,
                 from /usr/include/asm/byteorder.h:66,
                 from /usr/include/linux/cdrom.h:14,
                 from block-raw-posix.c:52:
/usr/include/linux/byteorder/swab.h:161: error: syntax error before "__attribute__"
/usr/include/linux/byteorder/swab.h:165: error: syntax error before "__attribute__"
/usr/include/linux/byteorder/swab.h:169: error: syntax error before "__attribute__"
/usr/include/linux/byteorder/swab.h:174: error: syntax error before "__attribute__"
/usr/include/linux/byteorder/swab.h:176: error: syntax error before "__u32"
/usr/include/linux/byteorder/swab.h:178: error: syntax error before "__attribute__"
/usr/include/linux/byteorder/swab.h:180: error: syntax error before "__u32"
/usr/include/linux/byteorder/swab.h:182: error: syntax error before "__attribute__"
/usr/include/linux/byteorder/swab.h:184: error: syntax error before "__u32"
/usr/include/linux/byteorder/swab.h:187: error: syntax error before "__attribute__"
/usr/include/linux/byteorder/swab.h:191: error: syntax error before "__attribute__"
/usr/include/linux/byteorder/swab.h:195: error: syntax error before "__attribute__"
/usr/include/linux/byteorder/swab.h:201: error: syntax error before "__attribute__"
/usr/include/linux/byteorder/swab.h:211: error: syntax error before "__attribute__"
/usr/include/linux/byteorder/swab.h:215: error: syntax error before "__attribute__"
make: *** [qemu-img-block-raw-posix.o] Error 1

                 reply	other threads:[~2008-03-15  7:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=x63aqstoh2@gzp \
    --to=gzp@papp.hu \
    --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 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).