public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Problems with time.h from an inexperienced user?‏
@ 2014-07-03 21:37 Hal Wills
  2014-07-04  8:20 ` Problems with time.h from an inexperienced user? Csaba Raduly
  2014-07-04  8:43 ` Csaba Raduly
  0 siblings, 2 replies; 3+ messages in thread
From: Hal Wills @ 2014-07-03 21:37 UTC (permalink / raw)
  To: cygwin

Apparently there is a discrepancy between how Cygwin handles timeval.h
and how most Linux distributions handle it, because I am unable to
build htop and ncmpcpp with visualizer support on Cygwin.

Here are the errors when I attempt to 'make' ncmpcpp and './configure' htop:


then mv -f ".deps/cmdargs.Tpo" ".deps/cmdargs.Po"; else rm -f
".deps/cmdargs.Tpo"; exit 1; fi
In file included from cmdargs.cpp:41:0:
visualizer.h:72:2: error: ‘timeval’ does not name a type
  timeval m_timer;
  ^
Makefile:444: recipe for target 'cmdargs.o' failed
make[2]: *** [cmdargs.o] Error 1
make[2]: Leaving directory '/home/ullr/ncmpcpp/src'
Makefile:305: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ullr/ncmpcpp'
Makefile:217: recipe for target 'all' failed
make: *** [all] Error 2


In file included from Header.h:13:0,
                 from Settings.h:15,
                 from AvailableMetersPanel.h:12,
                 from AvailableMetersPanel.c:8:
Meter.h:88:19: error: field ‘time’ has incomplete type
    struct timeval time;
                   ^


Assuming these are the same issues, is there anything I can do about 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] 3+ messages in thread

end of thread, other threads:[~2014-07-04  8:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-03 21:37 Problems with time.h from an inexperienced user?‏ Hal Wills
2014-07-04  8:20 ` Problems with time.h from an inexperienced user? Csaba Raduly
2014-07-04  8:43 ` 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).