All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergey Smolov <smolov@ispras.ru>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Concerning " [PULL 6/6] curses: Use cursesw instead of curses"
Date: Wed, 09 Nov 2016 10:04:15 +0300	[thread overview]
Message-ID: <5822CA6F.2080707@ispras.ru> (raw)
In-Reply-To: <20161108164951.GG11274@stefanha-x1.localdomain>


On 08.11.2016 19:49, Stefan Hajnoczi wrote:
> On Tue, Nov 08, 2016 at 10:40:20AM +0300, Sergey Smolov wrote:
>> Dear List!
>>
>> I've encountered the same problem as was discussed in this thread:
>> https://lists.gnu.org/archive/html/qemu-devel/2016-10/msg07898.html
>>
>> Does anybody succeeded in solving the problem?
>>
>>  From my side, the problem appears when I run the 'configure' script with
>> '--target-list=aarch64-softmmu' option. The script returns the following
>> message to me:
>>
>> ERROR: configure test passed without -Werror but failed with -Werror.
>>         This is probably a bug in the configure script. The failing command
>>         will be at the bottom of config.log.
>>         You can run configure with --disable-werror to bypass this check.
>>
>> I've attached a config.log to this e-mail.
> [...]
>
>> cc -Werror -fPIE -DPIE -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -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 -fstack-protector-all -I/usr/include/libpng14 -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -Wl,-z,relro -Wl,-z,now -pie -m64 -g -lncursesw
>> config-temp/qemu-conf.c: In function ‘main’:
>> config-temp/qemu-conf.c:9:3: error: implicit declaration of function ‘addwstr’ [-Werror=implicit-function-declaration]
>> config-temp/qemu-conf.c:9:3: error: nested extern declaration of ‘addwstr’ [-Werror=nested-externs]
>> config-temp/qemu-conf.c:10:3: error: implicit declaration of function ‘addnwstr’ [-Werror=implicit-function-declaration]
>> config-temp/qemu-conf.c:10:3: error: nested extern declaration of ‘addnwstr’ [-Werror=nested-externs]
>> cc1: all warnings being treated as errors
> http://pdcurses.sourceforge.net/doc/PDCurses.txt:
>
>    Wide-character functions from the X/Open standard -- these are only
>    available when PDCurses is built with PDC_WIDE defined, and the
>    prototypes are only available from curses.h when PDC_WIDE is defined
>    before its inclusion in your app:
>
>    	addnwstr		addstr
>    	addwstr			addstr
>
> QEMU does not define PDC_WIDE.  Try adding ./configure
> --extra-flags=-DPDC_WIDE.

Dear Stefan,

The QEMU from master branch does not have an "--extra-flags" option. 
I've tried to use "--extra-cflags" but I get the same issue.

-- 
Thanks,
Sergey Smolov

      parent reply	other threads:[~2016-11-09  7:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-08  7:40 [Qemu-devel] Concerning " [PULL 6/6] curses: Use cursesw instead of curses" Sergey Smolov
2016-11-08 16:49 ` Stefan Hajnoczi
2016-11-08 17:28   ` Cornelia Huck
2016-11-09  7:12     ` Sergey Smolov
2016-11-09  7:04   ` Sergey Smolov [this message]

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=5822CA6F.2080707@ispras.ru \
    --to=smolov@ispras.ru \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.