qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 817012] [NEW] compile error in QEMU 0.15.0-rc0


From: rowa
Subject: [Qemu-devel] [Bug 817012] [NEW] compile error in QEMU 0.15.0-rc0
Date: Wed, 27 Jul 2011 14:27:10 -0000

Public bug reported:

QEMU 0.15.0-rc0: Cross compiling on Fedora 14 for Windows is not
possible:

mkdir -p ~/source/mingw
cd ~/source/mingw
wget 
http://download-mirror.savannah.gnu.org/releases/qemu/qemu-0.15.0-rc0.tar.gz
tar xzvf qemu-0.15.0-rc0.tar.gz
cd qemu-0.15.0-rc0
export PATH=/usr/i686-pc-mingw32/sys-root/mingw/bin:$PATH
./configure --cross-prefix="i686-pc-mingw32-" --prefix="/tmp/qemuinstall/" 
make
...
  CC    migration.o
migration.c: In function 'migrate_print_status':
migration.c:191:25: warning: format '%I64u' expects type 'unsigned int', but 
argument 4 has type 'int64_t'
migration.c:193:25: warning: format '%I64u' expects type 'unsigned int', but 
argument 4 has type 'int64_t'
migration.c:195:25: warning: format '%I64u' expects type 'unsigned int', but 
argument 4 has type 'int64_t'
migration.c: In function 'migrate_put_status':
migration.c:223:32: warning: format '%I64d' expects type 'int', but argument 2 
has type 'uint64_t'
migration.c:223:32: warning: format '%I64d' expects type 'int', but argument 3 
has type 'uint64_t'
migration.c:223:32: warning: format '%I64d' expects type 'int', but argument 4 
has type 'uint64_t'
  CC    migration-tcp.o
  CC    qemu-char.o
qemu-char.c: In function 'qemu_chr_open_win_con':
qemu-char.c:1801:68: error: 'chr' undeclared (first use in this function)
qemu-char.c:1801:68: note: each undeclared identifier is reported only once for 
each function it appears in
qemu-char.c:1801:5: error: too many arguments to function 
'qemu_chr_open_win_file'
qemu-char.c:1785:25: note: declared here
qemu-char.c:1801:5: warning: return makes integer from pointer without a cast
qemu-char.c: In function 'qemu_chr_open_win_file_out':
qemu-char.c:1815:5: error: too many arguments to function 
'qemu_chr_open_win_file'
qemu-char.c:1785:25: note: declared here
qemu-char.c:1815:5: warning: return makes integer from pointer without a cast
make: *** [qemu-char.o] Error 1

For further details please see http://qemu-
buch.de/d/QEMU_unter_Microsoft_Windows#Cross-Compilation_unter_Linux

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/817012

Title:
  compile error in QEMU 0.15.0-rc0

Status in QEMU:
  New

Bug description:
  QEMU 0.15.0-rc0: Cross compiling on Fedora 14 for Windows is not
  possible:

  mkdir -p ~/source/mingw
  cd ~/source/mingw
  wget 
http://download-mirror.savannah.gnu.org/releases/qemu/qemu-0.15.0-rc0.tar.gz
  tar xzvf qemu-0.15.0-rc0.tar.gz
  cd qemu-0.15.0-rc0
  export PATH=/usr/i686-pc-mingw32/sys-root/mingw/bin:$PATH
  ./configure --cross-prefix="i686-pc-mingw32-" --prefix="/tmp/qemuinstall/" 
  make
  ...
    CC    migration.o
  migration.c: In function 'migrate_print_status':
  migration.c:191:25: warning: format '%I64u' expects type 'unsigned int', but 
argument 4 has type 'int64_t'
  migration.c:193:25: warning: format '%I64u' expects type 'unsigned int', but 
argument 4 has type 'int64_t'
  migration.c:195:25: warning: format '%I64u' expects type 'unsigned int', but 
argument 4 has type 'int64_t'
  migration.c: In function 'migrate_put_status':
  migration.c:223:32: warning: format '%I64d' expects type 'int', but argument 
2 has type 'uint64_t'
  migration.c:223:32: warning: format '%I64d' expects type 'int', but argument 
3 has type 'uint64_t'
  migration.c:223:32: warning: format '%I64d' expects type 'int', but argument 
4 has type 'uint64_t'
    CC    migration-tcp.o
    CC    qemu-char.o
  qemu-char.c: In function 'qemu_chr_open_win_con':
  qemu-char.c:1801:68: error: 'chr' undeclared (first use in this function)
  qemu-char.c:1801:68: note: each undeclared identifier is reported only once 
for each function it appears in
  qemu-char.c:1801:5: error: too many arguments to function 
'qemu_chr_open_win_file'
  qemu-char.c:1785:25: note: declared here
  qemu-char.c:1801:5: warning: return makes integer from pointer without a cast
  qemu-char.c: In function 'qemu_chr_open_win_file_out':
  qemu-char.c:1815:5: error: too many arguments to function 
'qemu_chr_open_win_file'
  qemu-char.c:1785:25: note: declared here
  qemu-char.c:1815:5: warning: return makes integer from pointer without a cast
  make: *** [qemu-char.o] Error 1

  For further details please see http://qemu-
  buch.de/d/QEMU_unter_Microsoft_Windows#Cross-Compilation_unter_Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/817012/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]