X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-4.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SARE_HEAD_8BIT_SPAM X-Spam-Check-By: sourceware.org MIME-Version: 1.0 X-Received: by 10.180.105.67 with SMTP id gk3mr33016663wib.31.1362662202910; Thu, 07 Mar 2013 05:16:42 -0800 (PST) In-Reply-To: References: Date: Thu, 7 Mar 2013 14:16:42 +0100 Message-ID: Subject: =?windows-1252?Q?Re=3A_Error_Compile_Ncmpcpp_=7C_global=2Eh=3A50=3A9=3A_error=3A_=E2?= =?windows-1252?Q?=80=98timeval=E2=80=99_does_not_name_a_type?= From: Csaba Raduly To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=windows-1252 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r27DH9hg013979 Hi, On Wed, Mar 6, 2013 at 7:52 PM, Bowo Keren wrote: > I get a problem when compiling ncmpcpp the cygwin version 1.7.16when I > am running "make" output like this > FYI : ncmpcpp ver 0.5.5 > > ----------------------------------------CUT > HERE------------------------------------------------ > bowo AT baw ~/ncmpcpp > $ make > make all-recursive > make[1]: Entering directory `/home/bowo/ncmpcpp' > Making all in src > make[2]: Entering directory `/home/bowo/ncmpcpp/src' > g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/taglib -g -O2 > -fno-exceptions -MT browser.o -MD -MP -MF .deps/browser.Tpo -c -o > browser.o browser.cpp > In file included from browser.cpp:30:0: > global.h:50:9: error: ‘timeval’ does not name a type > Makefile:355: recipe for target `browser.o' failed > make[2]: *** [browser.o] Error 1 > make[2]: Leaving directory `/home/bowo/ncmpcpp/src' > Makefile:352: recipe for target `all-recursive' failed > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/bowo/ncmpcpp' > Makefile:261: recipe for target `all' failed > make: *** [all] Error 2 > -------------------------------------------CUT > HERE------------------------------------------------ > > > how to fix this My suggestion would be to upgrade to the latest ncmpcpp (0.5.10). I was able to compile it straight out of the tarball. Alternatively, chack that global.h includes (it does in 0.5.10) Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds "People disagree with me. I just ignore them." -- Linus Torvalds -- 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