From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 128235 invoked by alias); 26 Oct 2016 05:12:16 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 127293 invoked by uid 89); 26 Oct 2016 05:11:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM autolearn=no version=3.3.2 spammy=H*F:D*ro, hello! X-HELO: mail-wm0-f41.google.com Received: from mail-wm0-f41.google.com (HELO mail-wm0-f41.google.com) (74.125.82.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 26 Oct 2016 05:10:52 +0000 Received: by mail-wm0-f41.google.com with SMTP id b80so202151221wme.1 for ; Tue, 25 Oct 2016 22:10:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=i/sGsWSKH0j5OJ5jlMshXFsKj446OyhkEc8F8/GGvTE=; b=i27dA8rwWvbjpjTtu8x316iabhzHzGQG2VA87r9PXLu7KVdZkuHVnd+iHRA9CuHS7V SBOQ+To1VM9qQcWRqJljxHyDf4s2uVtpZWKU6Opp9QPyYjoomUZOBV4rvwdWt6IlMt6e GfsKKMXv5SaEfnTDTQqvNxbzLPlEndx0ix/lnIjeA/+D6qnFXNJxBBPQl3SlI3swVDeB Mi0guhK2DyIH9m3bGAeVAJE2+TGxC/nJ3YYqAXkmhWQBS8PZsUNX0/3VTkCtYS2KEOlI JaVoPkJyAES4hG2ufH/KCjFxehla2CKuXmgZ0rkiKxUqtGJb5xGI4Xb2nTCq4HzXTKDp FFxw== X-Gm-Message-State: ABUngveyAL9pEsunov7+iRDMFvz25wxJYmfO1KXrpmEwcp+yvk0UBlRRl6oLJ+5QBl+C1w/Lu0+LZaHEPq/5IQ== X-Received: by 10.28.94.130 with SMTP id s124mr6109820wmb.34.1477458610514; Tue, 25 Oct 2016 22:10:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.6.66 with HTTP; Tue, 25 Oct 2016 22:10:10 -0700 (PDT) From: Sorin Adrian Savu Date: Wed, 26 Oct 2016 05:55:00 -0000 Message-ID: Subject: Compiling rtorrent-0.9.4-1 with cygport To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-10/txt/msg00269.txt.bz2 Hello! I'm trying to compile rtorrent-0.9.4-1 with cygport to add support for XMLR= PC. I've added: CYGCONF_ARGS=3D"--with-xmlrpc-c" in the cygport file. When I try to compile, I get the following error: /usr/src/rtorrent-0.9.4-1.src/rtorrent-0.9.4-1.x86_64/src/rtorrent-0.9.4/sr= c/display/window_file_list.cc: In function =E2=80=98std::wstring display::wstring_width(const string&, int= )=E2=80=99: /usr/src/rtorrent-0.9.4-1.src/rtorrent-0.9.4-1.x86_64/src/rtorrent-0.9.4/sr= c/display/window_file_list.cc:80:38: error: =E2=80=98wcswidth=E2=80=99 was not declared in this scope int swidth =3D wcswidth(result, width); ^ /usr/src/rtorrent-0.9.4-1.src/rtorrent-0.9.4-1.x86_64/src/rtorrent-0.9.4/sr= c/display/window_file_list.cc:87:18: error: =E2=80=98::wcwidth=E2=80=99 has not been declared int next =3D ::wcwidth(result[length]); ^ After some investigation it seems to be related to _XOPEN_SOURCE flag, but when I add that I get other errors. I've tried compiling with the CYGCONF_ARGS commented out and the behavior is the same. Am I missing something ? How can I find out which compile flags were used at the package build time ? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple