qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1008136] [NEW] Cannot compile 1.1.0
@ 2012-06-03 16:14 Jorge Bastos
  2012-06-04  5:42 ` Dunrong Huang
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Jorge Bastos @ 2012-06-03 16:14 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Howdy,

Testing QEMU 1.1.0 but doesn't compile:


  CC    fsdev/virtfs-proxy-helper.o
In file included from /usr/include/i386-linux-gnu/bits/sigcontext.h:28:0,
                 from /usr/include/signal.h:339,
                 from ./qemu-common.h:38,
                 from fsdev/virtfs-proxy-helper.c:23:
/usr/include/i386-linux-gnu/asm/sigcontext.h:28:2: error: unknown type name '__u64'
/usr/include/i386-linux-gnu/asm/sigcontext.h:191:2: error: unknown type name '__u64'
/usr/include/i386-linux-gnu/asm/sigcontext.h:192:2: error: unknown type name '__u64'
/usr/include/i386-linux-gnu/asm/sigcontext.h:193:2: error: unknown type name '__u64'
make: *** [fsdev/virtfs-proxy-helper.o] Error 1


Ideas?
GCC 4.7, kernel 3.2x

Thanks in advanced,
Jorge,

** 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/1008136

Title:
  Cannot compile 1.1.0

Status in QEMU:
  New

Bug description:
  Howdy,

  Testing QEMU 1.1.0 but doesn't compile:

  
    CC    fsdev/virtfs-proxy-helper.o
  In file included from /usr/include/i386-linux-gnu/bits/sigcontext.h:28:0,
                   from /usr/include/signal.h:339,
                   from ./qemu-common.h:38,
                   from fsdev/virtfs-proxy-helper.c:23:
  /usr/include/i386-linux-gnu/asm/sigcontext.h:28:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:191:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:192:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:193:2: error: unknown type name '__u64'
  make: *** [fsdev/virtfs-proxy-helper.o] Error 1

  
  Ideas?
  GCC 4.7, kernel 3.2x

  Thanks in advanced,
  Jorge,

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Qemu-devel] [Bug 1008136] [NEW] Cannot compile 1.1.0
  2012-06-03 16:14 [Qemu-devel] [Bug 1008136] [NEW] Cannot compile 1.1.0 Jorge Bastos
@ 2012-06-04  5:42 ` Dunrong Huang
  2012-06-04  5:45 ` [Qemu-devel] [Bug 1008136] " Anthony Liguori
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Dunrong Huang @ 2012-06-04  5:42 UTC (permalink / raw)
  To: qemu-devel; +Cc: Jorge Bastos

Jorge Bastos <mysql.jorge@decimal.pt> writes:

> Public bug reported:
>
> Howdy,
>
> Testing QEMU 1.1.0 but doesn't compile:
>
>
>   CC    fsdev/virtfs-proxy-helper.o
> In file included from /usr/include/i386-linux-gnu/bits/sigcontext.h:28:0,
>                  from /usr/include/signal.h:339,
>                  from ./qemu-common.h:38,
>                  from fsdev/virtfs-proxy-helper.c:23:
> /usr/include/i386-linux-gnu/asm/sigcontext.h:28:2: error: unknown type name '__u64'
> /usr/include/i386-linux-gnu/asm/sigcontext.h:191:2: error: unknown type name '__u64'
> /usr/include/i386-linux-gnu/asm/sigcontext.h:192:2: error: unknown type name '__u64'
> /usr/include/i386-linux-gnu/asm/sigcontext.h:193:2: error: unknown type name '__u64'
> make: *** [fsdev/virtfs-proxy-helper.o] Error 1
>
Check whether you have "int-ll64.h" in your header directory. As i
know, __u64 is defined in int-ll64.h.

Or if you dont want to support virtfs, run ./configure with
"--disable-virtfs" option.

>
> Ideas?
> GCC 4.7, kernel 3.2x
>
> Thanks in advanced,
> Jorge,
>
> ** Affects: qemu
>      Importance: Undecided
>          Status: New

-- 
linuxer and emacser and pythoner living in beijing
blog: http://mathslinux.org
twitter: https://twitter.com/mathslinux
google+: https://plus.google.com/118129852578326338750

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Qemu-devel] [Bug 1008136] Re: Cannot compile 1.1.0
  2012-06-03 16:14 [Qemu-devel] [Bug 1008136] [NEW] Cannot compile 1.1.0 Jorge Bastos
  2012-06-04  5:42 ` Dunrong Huang
@ 2012-06-04  5:45 ` Anthony Liguori
  2012-06-04  8:28 ` Jorge Bastos
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Anthony Liguori @ 2012-06-04  5:45 UTC (permalink / raw)
  To: qemu-devel

What distro/architecture is this?  What's the configure command and
output from the command?

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

Title:
  Cannot compile 1.1.0

Status in QEMU:
  New

Bug description:
  Howdy,

  Testing QEMU 1.1.0 but doesn't compile:

  
    CC    fsdev/virtfs-proxy-helper.o
  In file included from /usr/include/i386-linux-gnu/bits/sigcontext.h:28:0,
                   from /usr/include/signal.h:339,
                   from ./qemu-common.h:38,
                   from fsdev/virtfs-proxy-helper.c:23:
  /usr/include/i386-linux-gnu/asm/sigcontext.h:28:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:191:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:192:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:193:2: error: unknown type name '__u64'
  make: *** [fsdev/virtfs-proxy-helper.o] Error 1

  
  Ideas?
  GCC 4.7, kernel 3.2x

  Thanks in advanced,
  Jorge,

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Qemu-devel] [Bug 1008136] Re: Cannot compile 1.1.0
  2012-06-03 16:14 [Qemu-devel] [Bug 1008136] [NEW] Cannot compile 1.1.0 Jorge Bastos
  2012-06-04  5:42 ` Dunrong Huang
  2012-06-04  5:45 ` [Qemu-devel] [Bug 1008136] " Anthony Liguori
@ 2012-06-04  8:28 ` Jorge Bastos
  2012-06-04  8:53 ` Jorge Bastos
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Jorge Bastos @ 2012-06-04  8:28 UTC (permalink / raw)
  To: qemu-devel

Debian SID on x86.

Configure output:

Install prefix    /usr/local
BIOS directory    /usr/local/share/qemu
binary directory  /usr/local/bin
library directory /usr/local/lib
include directory /usr/local/include
config directory  /usr/local/etc
Manual directory  /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /usr/local/src/qemu/qemu-1.1.0
C compiler        gcc
Host C compiler   gcc
CFLAGS            -O2 -g
QEMU_CFLAGS       -Werror -fPIE -DPIE -m32 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing  -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -I/usr/include/libpng12
LDFLAGS           -Wl,--warn-common -Wl,-z,relro -Wl,-z,now -pie -m32 -g
make              make
install           install
python            python
smbd              /usr/sbin/smbd
host CPU          i386
host big endian   no
target list       i386-softmmu x86_64-softmmu alpha-softmmu arm-softmmu cris-softmmu lm32-softmmu m68k-softmmu microblaze-softmmu microblazeel-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu ppc-softmmu ppcemb-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu sparc64-softmmu s390x-softmmu xtensa-softmmu xtensaeb-softmmu i386-linux-user x86_64-linux-user alpha-linux-user arm-linux-user armeb-linux-user cris-linux-user m68k-linux-user microblaze-linux-user microblazeel-linux-user mips-linux-user mipsel-linux-user ppc-linux-user ppc64-linux-user ppc64abi32-linux-user sh4-linux-user sh4eb-linux-user sparc-linux-user sparc64-linux-user sparc32plus-linux-user unicore32-linux-user s390x-linux-user
tcg debug enabled no
Mon debug enabled no
gprof enabled     no
sparse enabled    no
strip binaries    yes
profiler          no
static build      no
-Werror enabled   yes
SDL support       no
curses support    yes
curl support      no
mingw32 support   no
Audio drivers     oss
Extra audio cards ac97 es1370 sb16 hda
Block whitelist
Mixer emulation   no
VirtFS support    yes
VNC support       yes
VNC TLS support   no
VNC SASL support  no
VNC JPEG support  yes
VNC PNG support   yes
VNC thread        no
xen support       no
brlapi support    no
bluez  support    no
Documentation     yes
NPTL support      yes
GUEST_BASE        yes
PIE               yes
vde support       no
Linux AIO support no
ATTR/XATTR support yes
Install blobs     yes
KVM support       yes
TCG interpreter   no
fdt support       no
preadv support    yes
fdatasync         yes
madvise           yes
posix_madvise     yes
uuid support      yes
libcap-ng support no
vhost-net support yes
Trace backend     nop
Trace output file trace-<pid>
spice support     no
rbd support       no
xfsctl support    no
nss used          no
usb net redir     no
OpenGL support    no
libiscsi support  no
build guest agent yes
coroutine backend ucontext
flecha:/usr/local/src/qemu/qemu-1.1.0#

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

Title:
  Cannot compile 1.1.0

Status in QEMU:
  New

Bug description:
  Howdy,

  Testing QEMU 1.1.0 but doesn't compile:

  
    CC    fsdev/virtfs-proxy-helper.o
  In file included from /usr/include/i386-linux-gnu/bits/sigcontext.h:28:0,
                   from /usr/include/signal.h:339,
                   from ./qemu-common.h:38,
                   from fsdev/virtfs-proxy-helper.c:23:
  /usr/include/i386-linux-gnu/asm/sigcontext.h:28:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:191:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:192:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:193:2: error: unknown type name '__u64'
  make: *** [fsdev/virtfs-proxy-helper.o] Error 1

  
  Ideas?
  GCC 4.7, kernel 3.2x

  Thanks in advanced,
  Jorge,

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Qemu-devel] [Bug 1008136] Re: Cannot compile 1.1.0
  2012-06-03 16:14 [Qemu-devel] [Bug 1008136] [NEW] Cannot compile 1.1.0 Jorge Bastos
                   ` (2 preceding siblings ...)
  2012-06-04  8:28 ` Jorge Bastos
@ 2012-06-04  8:53 ` Jorge Bastos
  2012-06-04 11:56 ` Anthony Liguori
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Jorge Bastos @ 2012-06-04  8:53 UTC (permalink / raw)
  To: qemu-devel

Extra info, the header exists, QEMU doesn't seems to find it, it's on
this place:

http://packages.debian.org/search?searchon=contents&keywords=int-
ll64.h&mode=exactfilename&suite=stable&arch=any

and provided by linux-libc-dev debian package.

How can I force configure to include this dir?

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

Title:
  Cannot compile 1.1.0

Status in QEMU:
  New

Bug description:
  Howdy,

  Testing QEMU 1.1.0 but doesn't compile:

  
    CC    fsdev/virtfs-proxy-helper.o
  In file included from /usr/include/i386-linux-gnu/bits/sigcontext.h:28:0,
                   from /usr/include/signal.h:339,
                   from ./qemu-common.h:38,
                   from fsdev/virtfs-proxy-helper.c:23:
  /usr/include/i386-linux-gnu/asm/sigcontext.h:28:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:191:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:192:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:193:2: error: unknown type name '__u64'
  make: *** [fsdev/virtfs-proxy-helper.o] Error 1

  
  Ideas?
  GCC 4.7, kernel 3.2x

  Thanks in advanced,
  Jorge,

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Qemu-devel] [Bug 1008136] Re: Cannot compile 1.1.0
  2012-06-03 16:14 [Qemu-devel] [Bug 1008136] [NEW] Cannot compile 1.1.0 Jorge Bastos
                   ` (3 preceding siblings ...)
  2012-06-04  8:53 ` Jorge Bastos
@ 2012-06-04 11:56 ` Anthony Liguori
  2012-06-04 13:19 ` Jorge Bastos
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Anthony Liguori @ 2012-06-04 11:56 UTC (permalink / raw)
  To: qemu-devel

Can you include the output of 'make V=1'?

Do you have custom kernel headers installed?  Is it possible that you
installed them without sanitizing them first?

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

Title:
  Cannot compile 1.1.0

Status in QEMU:
  New

Bug description:
  Howdy,

  Testing QEMU 1.1.0 but doesn't compile:

  
    CC    fsdev/virtfs-proxy-helper.o
  In file included from /usr/include/i386-linux-gnu/bits/sigcontext.h:28:0,
                   from /usr/include/signal.h:339,
                   from ./qemu-common.h:38,
                   from fsdev/virtfs-proxy-helper.c:23:
  /usr/include/i386-linux-gnu/asm/sigcontext.h:28:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:191:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:192:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:193:2: error: unknown type name '__u64'
  make: *** [fsdev/virtfs-proxy-helper.o] Error 1

  
  Ideas?
  GCC 4.7, kernel 3.2x

  Thanks in advanced,
  Jorge,

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Qemu-devel] [Bug 1008136] Re: Cannot compile 1.1.0
  2012-06-03 16:14 [Qemu-devel] [Bug 1008136] [NEW] Cannot compile 1.1.0 Jorge Bastos
                   ` (4 preceding siblings ...)
  2012-06-04 11:56 ` Anthony Liguori
@ 2012-06-04 13:19 ` Jorge Bastos
  2012-06-04 19:07 ` Stefan Weil
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Jorge Bastos @ 2012-06-04 13:19 UTC (permalink / raw)
  To: qemu-devel

What do you mean about custom kernel headers?

The kernel headers are from the debian package "linux-libc-dev"


gcc -I/usr/local/src/qemu/qemu-1.1.0/slirp -I. -I/usr/local/src/qemu/qemu-1.1.0 -I/usr/local/src/qemu/qemu-1.1.0/fpu -Werror -fPIE -DPIE -m32 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing  -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -I/usr/include/libpng12   -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include    -I/usr/local/src/qemu/qemu-1.1.0/include -MMD -MP -MT fsdev/virtfs-proxy-helper.o -MF fsdev/virtfs-proxy-helper.d -O2 -g  -c -o fsdev/virtfs-proxy-helper.o fsdev/virtfs-proxy-helper.c
In file included from /usr/include/i386-linux-gnu/bits/sigcontext.h:28:0,
                 from /usr/include/signal.h:339,
                 from ./qemu-common.h:38,
                 from fsdev/virtfs-proxy-helper.c:23:
/usr/include/i386-linux-gnu/asm/sigcontext.h:28:2: error: unknown type name '__u64'
/usr/include/i386-linux-gnu/asm/sigcontext.h:191:2: error: unknown type name '__u64'
/usr/include/i386-linux-gnu/asm/sigcontext.h:192:2: error: unknown type name '__u64'
/usr/include/i386-linux-gnu/asm/sigcontext.h:193:2: error: unknown type name '__u64'
make: *** [fsdev/virtfs-proxy-helper.o] Error 1
flecha:/usr/local/src/qemu/qemu-1.1.0#

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

Title:
  Cannot compile 1.1.0

Status in QEMU:
  New

Bug description:
  Howdy,

  Testing QEMU 1.1.0 but doesn't compile:

  
    CC    fsdev/virtfs-proxy-helper.o
  In file included from /usr/include/i386-linux-gnu/bits/sigcontext.h:28:0,
                   from /usr/include/signal.h:339,
                   from ./qemu-common.h:38,
                   from fsdev/virtfs-proxy-helper.c:23:
  /usr/include/i386-linux-gnu/asm/sigcontext.h:28:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:191:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:192:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:193:2: error: unknown type name '__u64'
  make: *** [fsdev/virtfs-proxy-helper.o] Error 1

  
  Ideas?
  GCC 4.7, kernel 3.2x

  Thanks in advanced,
  Jorge,

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Qemu-devel] [Bug 1008136] Re: Cannot compile 1.1.0
  2012-06-03 16:14 [Qemu-devel] [Bug 1008136] [NEW] Cannot compile 1.1.0 Jorge Bastos
                   ` (5 preceding siblings ...)
  2012-06-04 13:19 ` Jorge Bastos
@ 2012-06-04 19:07 ` Stefan Weil
  2012-06-04 20:12 ` Jorge Bastos
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Stefan Weil @ 2012-06-04 19:07 UTC (permalink / raw)
  To: qemu-devel

I just compiled QEMU 1.1.0 on a fresh i386 installation of Debian Sid with the same configuration
which you used (well, nearly the same - I did not build the documentation).

Compilation of fsdev/virtfs-proxy-helper.c works without any error
message.

/usr/include/i386-linux-gnu/asm/sigcontext.h uses __u32 and __u64, but you got only error messages
for __u64. That indicates that __u32 was defined. If you want to see were it was defined, you can
modify /usr/include/i386-linux-gnu/asm/sigcontext.h (after making a backup copy):

* Add wrong typedefs for __u32 and __u64 starting in line 23:
  typedef int __u32;
  typedef int __u64;

* Run gcc with fsdev/virtfs-proxy-helper.c (see your previous mail).

Here is what I get:


# gcc -I/usr/local/src/qemu/qemu-1.1.0/slirp -I. -I/usr/local/src/qemu/qemu-1.1.0 -I/usr/local/src/qemu/qemu-1.1.0/fpu -Werror -fPIE -DPIE -m32 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing  -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -I/usr/include/libpng12   -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include    -I/usr/local/src/qemu/qemu-1.1.0/include -MMD -MP -MT fsdev/virtfs-proxy-helper.o -MF fsdev/virtfs-proxy-helper.d -O2 -g  -c -o fsdev/virtfs-proxy-helper.o fsdev/virtfs-proxy-helper.c 
In file included from /usr/include/i386-linux-gnu/bits/sigcontext.h:28:0,
                 from /usr/include/signal.h:339,
                 from ./qemu-common.h:38,
                 from fsdev/virtfs-proxy-helper.c:23:
/usr/include/i386-linux-gnu/asm/sigcontext.h:23:13: error: conflicting types for '__u32'
In file included from /usr/include/asm-generic/types.h:7:0,
                 from /usr/include/i386-linux-gnu/asm/types.h:4,
                 from /usr/include/linux/types.h:4,
                 from /usr/include/sys/capability.h:24,
                 from fsdev/virtfs-proxy-helper.c:15:
/usr/include/asm-generic/int-ll64.h:26:22: note: previous declaration of '__u32' was here
In file included from /usr/include/i386-linux-gnu/bits/sigcontext.h:28:0,
                 from /usr/include/signal.h:339,
                 from ./qemu-common.h:38,
                 from fsdev/virtfs-proxy-helper.c:23:
/usr/include/i386-linux-gnu/asm/sigcontext.h:24:13: error: conflicting types for '__u64'
In file included from /usr/include/asm-generic/types.h:7:0,
                 from /usr/include/i386-linux-gnu/asm/types.h:4,
                 from /usr/include/linux/types.h:4,
                 from /usr/include/sys/capability.h:24,
                 from fsdev/virtfs-proxy-helper.c:15:
/usr/include/asm-generic/int-ll64.h:30:42: note: previous declaration of '__u64' was here


Of course there are errors now (there should be conflicting types for __u32 and __u64, but I guess you will
get only one of those). The error messages also tell the source of the original (correct) definition.
In my case, it was /usr/include/asm-generic/int-ll64.h:26:22 and /usr/include/asm-generic/int-ll64.h:30:42.

Please try these instructions and compare your with my compiler output.

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

Title:
  Cannot compile 1.1.0

Status in QEMU:
  New

Bug description:
  Howdy,

  Testing QEMU 1.1.0 but doesn't compile:

  
    CC    fsdev/virtfs-proxy-helper.o
  In file included from /usr/include/i386-linux-gnu/bits/sigcontext.h:28:0,
                   from /usr/include/signal.h:339,
                   from ./qemu-common.h:38,
                   from fsdev/virtfs-proxy-helper.c:23:
  /usr/include/i386-linux-gnu/asm/sigcontext.h:28:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:191:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:192:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:193:2: error: unknown type name '__u64'
  make: *** [fsdev/virtfs-proxy-helper.o] Error 1

  
  Ideas?
  GCC 4.7, kernel 3.2x

  Thanks in advanced,
  Jorge,

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Qemu-devel] [Bug 1008136] Re: Cannot compile 1.1.0
  2012-06-03 16:14 [Qemu-devel] [Bug 1008136] [NEW] Cannot compile 1.1.0 Jorge Bastos
                   ` (6 preceding siblings ...)
  2012-06-04 19:07 ` Stefan Weil
@ 2012-06-04 20:12 ` Jorge Bastos
  2012-07-30 14:37 ` Ken Sharp
  2016-10-20 14:07 ` T. Huth
  9 siblings, 0 replies; 11+ messages in thread
From: Jorge Bastos @ 2012-06-04 20:12 UTC (permalink / raw)
  To: qemu-devel

Hi Stef,

Well, it works OK on another Debian machine, wierd, have to dig to find
why.

Thanks for your help!

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

Title:
  Cannot compile 1.1.0

Status in QEMU:
  New

Bug description:
  Howdy,

  Testing QEMU 1.1.0 but doesn't compile:

  
    CC    fsdev/virtfs-proxy-helper.o
  In file included from /usr/include/i386-linux-gnu/bits/sigcontext.h:28:0,
                   from /usr/include/signal.h:339,
                   from ./qemu-common.h:38,
                   from fsdev/virtfs-proxy-helper.c:23:
  /usr/include/i386-linux-gnu/asm/sigcontext.h:28:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:191:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:192:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:193:2: error: unknown type name '__u64'
  make: *** [fsdev/virtfs-proxy-helper.o] Error 1

  
  Ideas?
  GCC 4.7, kernel 3.2x

  Thanks in advanced,
  Jorge,

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Qemu-devel] [Bug 1008136] Re: Cannot compile 1.1.0
  2012-06-03 16:14 [Qemu-devel] [Bug 1008136] [NEW] Cannot compile 1.1.0 Jorge Bastos
                   ` (7 preceding siblings ...)
  2012-06-04 20:12 ` Jorge Bastos
@ 2012-07-30 14:37 ` Ken Sharp
  2016-10-20 14:07 ` T. Huth
  9 siblings, 0 replies; 11+ messages in thread
From: Ken Sharp @ 2012-07-30 14:37 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: New => Incomplete

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

Title:
  Cannot compile 1.1.0

Status in QEMU:
  Incomplete

Bug description:
  Howdy,

  Testing QEMU 1.1.0 but doesn't compile:

  
    CC    fsdev/virtfs-proxy-helper.o
  In file included from /usr/include/i386-linux-gnu/bits/sigcontext.h:28:0,
                   from /usr/include/signal.h:339,
                   from ./qemu-common.h:38,
                   from fsdev/virtfs-proxy-helper.c:23:
  /usr/include/i386-linux-gnu/asm/sigcontext.h:28:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:191:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:192:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:193:2: error: unknown type name '__u64'
  make: *** [fsdev/virtfs-proxy-helper.o] Error 1

  
  Ideas?
  GCC 4.7, kernel 3.2x

  Thanks in advanced,
  Jorge,

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Qemu-devel] [Bug 1008136] Re: Cannot compile 1.1.0
  2012-06-03 16:14 [Qemu-devel] [Bug 1008136] [NEW] Cannot compile 1.1.0 Jorge Bastos
                   ` (8 preceding siblings ...)
  2012-07-30 14:37 ` Ken Sharp
@ 2016-10-20 14:07 ` T. Huth
  9 siblings, 0 replies; 11+ messages in thread
From: T. Huth @ 2016-10-20 14:07 UTC (permalink / raw)
  To: qemu-devel

Since there hasn't been any response to this ticket anymore, I assume
the problem has been solved by other means on that machine - or by a
newer version of QEMU. So I'm closing this ticket now - if you still got
problems, please feel free to open it again.

** Changed in: qemu
       Status: Incomplete => Won't Fix

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

Title:
  Cannot compile 1.1.0

Status in QEMU:
  Won't Fix

Bug description:
  Howdy,

  Testing QEMU 1.1.0 but doesn't compile:

  
    CC    fsdev/virtfs-proxy-helper.o
  In file included from /usr/include/i386-linux-gnu/bits/sigcontext.h:28:0,
                   from /usr/include/signal.h:339,
                   from ./qemu-common.h:38,
                   from fsdev/virtfs-proxy-helper.c:23:
  /usr/include/i386-linux-gnu/asm/sigcontext.h:28:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:191:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:192:2: error: unknown type name '__u64'
  /usr/include/i386-linux-gnu/asm/sigcontext.h:193:2: error: unknown type name '__u64'
  make: *** [fsdev/virtfs-proxy-helper.o] Error 1

  
  Ideas?
  GCC 4.7, kernel 3.2x

  Thanks in advanced,
  Jorge,

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-10-20 14:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-03 16:14 [Qemu-devel] [Bug 1008136] [NEW] Cannot compile 1.1.0 Jorge Bastos
2012-06-04  5:42 ` Dunrong Huang
2012-06-04  5:45 ` [Qemu-devel] [Bug 1008136] " Anthony Liguori
2012-06-04  8:28 ` Jorge Bastos
2012-06-04  8:53 ` Jorge Bastos
2012-06-04 11:56 ` Anthony Liguori
2012-06-04 13:19 ` Jorge Bastos
2012-06-04 19:07 ` Stefan Weil
2012-06-04 20:12 ` Jorge Bastos
2012-07-30 14:37 ` Ken Sharp
2016-10-20 14:07 ` T. Huth

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).