qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] libacard build error
@ 2011-10-27  7:33 Jan Kiszka
  2011-10-27  7:56 ` Alon Levy
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Kiszka @ 2011-10-27  7:33 UTC (permalink / raw)
  To: Alon Levy; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 583 bytes --]

Hi Alon,

I'm getting this with current qemu.git:

  CC    libcacard/vcard_emul_nss.o
cc1: warnings being treated as errors
In file included from /usr/include/nss3/pkcs11t.h:1780:0,
                 from /usr/include/nss3/keythi.h:41,
                 from /usr/include/nss3/keyt.h:41,
                 from /usr/include/nss3/pk11pub.h:43,
                 from /data/qemu/libcacard/vcard_emul_nss.c:21:
/usr/include/nss3/pkcs11n.h:365:26: error: "__GNUC_MINOR" is not defined

Just dumping, haven't looked into details. Any patch to fix this already
queued?

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

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

* Re: [Qemu-devel] libacard build error
  2011-10-27  7:33 [Qemu-devel] libacard build error Jan Kiszka
@ 2011-10-27  7:56 ` Alon Levy
  2011-10-27  8:13   ` Jan Kiszka
  2011-10-27  8:23   ` Alon Levy
  0 siblings, 2 replies; 4+ messages in thread
From: Alon Levy @ 2011-10-27  7:56 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: qemu-devel

On Thu, Oct 27, 2011 at 09:33:50AM +0200, Jan Kiszka wrote:
> Hi Alon,
> 
> I'm getting this with current qemu.git:
> 
>   CC    libcacard/vcard_emul_nss.o
> cc1: warnings being treated as errors
> In file included from /usr/include/nss3/pkcs11t.h:1780:0,
>                  from /usr/include/nss3/keythi.h:41,
>                  from /usr/include/nss3/keyt.h:41,
>                  from /usr/include/nss3/pk11pub.h:43,
>                  from /data/qemu/libcacard/vcard_emul_nss.c:21:
> /usr/include/nss3/pkcs11n.h:365:26: error: "__GNUC_MINOR" is not defined
> 
> Just dumping, haven't looked into details. Any patch to fix this already
> queued?
> 

No, I haven't noticed this, thanks for letting me know. I don't get it here, I have this command line: (via V=1)

gcc -I/home/alon/src/qemu/slirp -I. -I/home/alon/src/qemu -I/home/alon/src/qemu/fpu -Werror -m64 -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 -I/home/alon/spice/include  -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   -I/home/alon/spice/include/spice-server -I/home/alon/spice/include/spice-1 -I/usr/include/pixman-1   -I/home/alon/src/qemu/libcacard -I/usr/include/nss3 -I/usr/include/nspr4     -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I../ -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -MMD -MP -MT vcard_emul_nss.o -MF ./vcard_emul_nss.d -g  -c -o vcard_emul_nss.o vcard_emul_nss.c

$ rpm -qf /usr/include/nss3/pkcs11n.h
nss-util-devel-3.12.10-1.fc16.x86_64

grep GNU_MINOR /usr/include/nss3/pkcs11n.h
<empty>

What version of nss-util are you using?

> Jan
> 

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

* Re: [Qemu-devel] libacard build error
  2011-10-27  7:56 ` Alon Levy
@ 2011-10-27  8:13   ` Jan Kiszka
  2011-10-27  8:23   ` Alon Levy
  1 sibling, 0 replies; 4+ messages in thread
From: Jan Kiszka @ 2011-10-27  8:13 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 2073 bytes --]

On 2011-10-27 09:56, Alon Levy wrote:
> On Thu, Oct 27, 2011 at 09:33:50AM +0200, Jan Kiszka wrote:
>> Hi Alon,
>>
>> I'm getting this with current qemu.git:
>>
>>   CC    libcacard/vcard_emul_nss.o
>> cc1: warnings being treated as errors
>> In file included from /usr/include/nss3/pkcs11t.h:1780:0,
>>                  from /usr/include/nss3/keythi.h:41,
>>                  from /usr/include/nss3/keyt.h:41,
>>                  from /usr/include/nss3/pk11pub.h:43,
>>                  from /data/qemu/libcacard/vcard_emul_nss.c:21:
>> /usr/include/nss3/pkcs11n.h:365:26: error: "__GNUC_MINOR" is not defined
>>
>> Just dumping, haven't looked into details. Any patch to fix this already
>> queued?
>>
> 
> No, I haven't noticed this, thanks for letting me know. I don't get it here, I have this command line: (via V=1)
> 
> gcc -I/home/alon/src/qemu/slirp -I. -I/home/alon/src/qemu -I/home/alon/src/qemu/fpu -Werror -m64 -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 -I/home/alon/spice/include  -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   -I/home/alon/spice/include/spice-server -I/home/alon/spice/include/spice-1 -I/usr/include/pixman-1   -I/home/alon/src/qemu/libcacard -I/usr/include/nss3 -I/usr/include/nspr4     -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I../ -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -MMD -MP -MT vcard_emul_nss.o -MF ./vcard_emul_nss.d -g  -c -o vcard_emul_nss.o vcard_emul_nss.c
> 
> $ rpm -qf /usr/include/nss3/pkcs11n.h
> nss-util-devel-3.12.10-1.fc16.x86_64
> 
> grep GNU_MINOR /usr/include/nss3/pkcs11n.h

GNUC_MINOR :)

> <empty>
> 
> What version of nss-util are you using?

mozilla-nss-devel-3.13.0-2.1.x86_64

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

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

* Re: [Qemu-devel] libacard build error
  2011-10-27  7:56 ` Alon Levy
  2011-10-27  8:13   ` Jan Kiszka
@ 2011-10-27  8:23   ` Alon Levy
  1 sibling, 0 replies; 4+ messages in thread
From: Alon Levy @ 2011-10-27  8:23 UTC (permalink / raw)
  To: Jan Kiszka, qemu-devel

On Thu, Oct 27, 2011 at 09:56:46AM +0200, Alon Levy wrote:
> On Thu, Oct 27, 2011 at 09:33:50AM +0200, Jan Kiszka wrote:
> > Hi Alon,
> > 
> > I'm getting this with current qemu.git:
> > 
> >   CC    libcacard/vcard_emul_nss.o
> > cc1: warnings being treated as errors
> > In file included from /usr/include/nss3/pkcs11t.h:1780:0,
> >                  from /usr/include/nss3/keythi.h:41,
> >                  from /usr/include/nss3/keyt.h:41,
> >                  from /usr/include/nss3/pk11pub.h:43,
> >                  from /data/qemu/libcacard/vcard_emul_nss.c:21:
> > /usr/include/nss3/pkcs11n.h:365:26: error: "__GNUC_MINOR" is not defined
> > 
> > Just dumping, haven't looked into details. Any patch to fix this already
> > queued?
> > 
> 
> No, I haven't noticed this, thanks for letting me know. I don't get it here, I have this command line: (via V=1)
> 
> gcc -I/home/alon/src/qemu/slirp -I. -I/home/alon/src/qemu -I/home/alon/src/qemu/fpu -Werror -m64 -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 -I/home/alon/spice/include  -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   -I/home/alon/spice/include/spice-server -I/home/alon/spice/include/spice-1 -I/usr/include/pixman-1   -I/home/alon/src/qemu/libcacard -I/usr/include/nss3 -I/usr/include/nspr4     -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I../ -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -MMD -MP -MT vcard_emul_nss.o -MF ./vcard_emul_nss.d -g  -c -o vcard_emul_nss.o vcard_emul_nss.c
> 
> $ rpm -qf /usr/include/nss3/pkcs11n.h
> nss-util-devel-3.12.10-1.fc16.x86_64
> 
> grep GNU_MINOR /usr/include/nss3/pkcs11n.h
> <empty>
Doh, should have been GNUC_MINOR. But that is empty too.

> 
> What version of nss-util are you using?
> 
> > Jan
> > 
> 
> 
> 

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

end of thread, other threads:[~2011-10-27  8:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-27  7:33 [Qemu-devel] libacard build error Jan Kiszka
2011-10-27  7:56 ` Alon Levy
2011-10-27  8:13   ` Jan Kiszka
2011-10-27  8:23   ` Alon Levy

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