public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Error Compile Ncmpcpp | global.h:50:9: error: ‘timeval’ does not name a type
@ 2013-03-06 18:53 Bowo Keren
  2013-03-07 13:16 ` Csaba Raduly
  0 siblings, 1 reply; 2+ messages in thread
From: Bowo Keren @ 2013-03-06 18:53 UTC (permalink / raw)
  To: cygwin

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@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

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

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

* Re: Error Compile Ncmpcpp | global.h:50:9: error: ‘timeval’ does not name a type
  2013-03-06 18:53 Error Compile Ncmpcpp | global.h:50:9: error: ‘timeval’ does not name a type Bowo Keren
@ 2013-03-07 13:16 ` Csaba Raduly
  0 siblings, 0 replies; 2+ messages in thread
From: Csaba Raduly @ 2013-03-07 13:16 UTC (permalink / raw)
  To: cygwin

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@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 <sys/time.h>  (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

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

end of thread, other threads:[~2013-03-07 13:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-06 18:53 Error Compile Ncmpcpp | global.h:50:9: error: ‘timeval’ does not name a type Bowo Keren
2013-03-07 13:16 ` Csaba Raduly

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 read-only IMAP folder(s) and NNTP newsgroup(s).