delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/07/03/17:38:11

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type:content-transfer-encoding; q=dns; s=default; b=Soj
MKPhebkDc9bVbbinIYj7xm8sY4UWQOusbGMMWTmEO2CXMvG0cmnoSVPijRTIoptp
vxtHyWGIaYCFNZJR8Dlg53cPjPkxOIKxtYDz0sp1ZhGrZdKcFIVx6zdt7MQpwjAN
jjjR45/t8YDwJJKkws8hhfESFhjo3MJ8IrqOaGY0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type:content-transfer-encoding; s=default; bh=9SMmVd/aW
xfh6WEM8kVRgkr19O8=; b=LOxQNDXcRRopUcoTUl30Bc62Pd5+hrHEO3YhVXZfo
Z4IdQMxeWYaAL3oYKjM3eNmnbHBI+wiGiL2TAQe1dK/FZvZVrhiuNPQrQCYyatl4
wu2CYrV7TtvGjvWgcbb/a4XO3ggjIbV6sWIZ8uL/k3Sj8H7fBqmswIyNRa5p2Q+s
VA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-qa0-f67.google.com
MIME-Version: 1.0
X-Received: by 10.140.90.7 with SMTP id w7mr11633395qgd.52.1404423467824; Thu, 03 Jul 2014 14:37:47 -0700 (PDT)
Date: Thu, 3 Jul 2014 17:37:47 -0400
Message-ID: <CAKEKBE5j83O+t_NQH0BE2eLD5GScvuAzMkj+xt5dnhEfyrfqpQ@mail.gmail.com>
Subject: =?UTF-8?Q?Problems_with_time=2Eh_from_an_inexperienced_user=3F=E2=80=8F?=
From: Hal Wills <hal DOT m DOT wills AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s63Lc7ZC016964

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019