From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4Mvl-0008Qo-Up for qemu-devel@nongnu.org; Wed, 09 Nov 2016 02:04:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4Mvi-0003Zd-PA for qemu-devel@nongnu.org; Wed, 09 Nov 2016 02:04:21 -0500 Received: from bran.ispras.ru ([83.149.199.196]:47165 helo=smtp.ispras.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4Mvi-0003ZO-Hd for qemu-devel@nongnu.org; Wed, 09 Nov 2016 02:04:18 -0500 Message-ID: <5822CA6F.2080707@ispras.ru> Date: Wed, 09 Nov 2016 10:04:15 +0300 From: Sergey Smolov MIME-Version: 1.0 References: <58218164.2040106@ispras.ru> <20161108164951.GG11274@stefanha-x1.localdomain> In-Reply-To: <20161108164951.GG11274@stefanha-x1.localdomain> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Concerning " [PULL 6/6] curses: Use cursesw instead of curses" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: QEMU Developers 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 w= ith >> '--target-list=3Daarch64-softmmu' option. The script returns the follo= wing >> message to me: >> >> ERROR: configure test passed without -Werror but failed with -Werror. >> This is probably a bug in the configure script. The failing co= mmand >> will be at the bottom of config.log. >> You can run configure with --disable-werror to bypass this che= ck. >> >> I've attached a config.log to this e-mail. > [...] > >> cc -Werror -fPIE -DPIE -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=3D= 64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wunde= f -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -= fwrapv -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-extern= s -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-s= tyle-declaration -Wold-style-definition -Wtype-limits -fstack-protector-a= ll -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 =91main=92: >> config-temp/qemu-conf.c:9:3: error: implicit declaration of function =91= addwstr=92 [-Werror=3Dimplicit-function-declaration] >> config-temp/qemu-conf.c:9:3: error: nested extern declaration of =91ad= dwstr=92 [-Werror=3Dnested-externs] >> config-temp/qemu-conf.c:10:3: error: implicit declaration of function = =91addnwstr=92 [-Werror=3Dimplicit-function-declaration] >> config-temp/qemu-conf.c:10:3: error: nested extern declaration of =91a= ddnwstr=92 [-Werror=3Dnested-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=3D-DPDC_WIDE. Dear Stefan, The QEMU from master branch does not have an "--extra-flags" option.=20 I've tried to use "--extra-cflags" but I get the same issue. --=20 Thanks, Sergey Smolov