delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/11/13/07:04:26

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:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=xXAuTf4
u7tnfsjPhnKBufG/Ta+GSB6RNBeWSZ6NHG82OO6SzfaLm8jNiNR7O2aZIyIjC+5g
TbsWH4Qpd5BaScBXgKZfnqZ+5SHFdtpUuTmohkDC8vXAC4oJI6nKntdwhY9eX3rJ
OM1l3Q8PduE+jJ7CKCCVh4ZKnTwLoqb8fEP4=
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:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=sKuLW4fiB6Ajk
aLAceM/S+UqEQA=; b=XbpfIH1hTtSINnKZf5Ygc9nSN4fYg+syBax/ZJgLx0dQR
/Sjsz9dQlJBPaXZ30ag7Rii/YH6N3Ud20IBIylefCf+/CAw/ILDYEtbUzhQ7RUqw
xfcB5a9ev1cLn+E9sp1F9JlO9Nj50OAkiEPrTnZhYpBkaML4/bJHJWkbA7oZq8=
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=1.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Tao, tao, boots, ghosh
X-HELO: mail-wm0-f51.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=A3WLaisUeMuEjGw41C/JG52UtZH8WaVx58ayHkd9mdo=; b=V9DAsLHWmwJaAfHcIoaHrhlOOa1a4ltUYocB6xarktnrQwIZ3IF465NOW/WFi3rwl8 fMbvK1IjRTnij3whXH68+7jCb19Xxrk1ZeJuBKDRpSolRa07EUHYfl2S0IcvpsKLa5iZ kiRtGIFJTg2Wq5JqfRKjPsMWlpoocKHjTNK4r9DDq+k3LrRPOgFC2vhhOysggMhZrDnV 8dKqGtFRZ4S108k4M76WzM90iEQAyZUId3MdWAEKAApltOZcUxtDyDLfftfZLvhyyURD dOGcy2rYCx65WIncyygsxfq7ArL/B/5C1awknIPqCeum5gfoUeizNHWNiW7Vd8rGyERf rh3w==
X-Gm-Message-State: ABUngvcZbbhOmhbDxWlRNyLiAIeQC0vssdAp7jiLzO3sYiEEAV1ZUVIjKiFAQiagHV6osD6WpOJL5w2/Xd0LKA==
X-Received: by 10.28.15.5 with SMTP id 5mr6458566wmp.141.1479038642798; Sun, 13 Nov 2016 04:04:02 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <CAAgSk3hq+001kGvrofLL7BF_MEjj_4HQ8hxJkL2cdvWYob47oQ@mail.gmail.com>
References: <CAAgSk3gsyX=4JKoWi9v4+_fk6SckoZ8xCMN-SrEKYANKcviRAg AT mail DOT gmail DOT com> <CAEhDDbCs2waHJqM01YL3L66vuCEY-UEvAZwbsP7M6MyYm7Jc4Q AT mail DOT gmail DOT com> <CAAgSk3hPKFJwVVgPy61OTYwOdsmG1U2ic3ZVaUpiKAV8zeHfcA AT mail DOT gmail DOT com> <CAAgSk3iturWUZ8kktk9G3U5P-j=aNVozi7RrgARm+fYMR51UZw AT mail DOT gmail DOT com> <CAAgSk3hq+001kGvrofLL7BF_MEjj_4HQ8hxJkL2cdvWYob47oQ AT mail DOT gmail DOT com>
From: Csaba Raduly <rcsaba AT gmail DOT com>
Date: Sun, 13 Nov 2016 13:04:02 +0100
Message-ID: <CAEhDDbDhOQ4TyOENRkKLqyq3BGpWjjk=Orp37XUQFm68Giycbw@mail.gmail.com>
Subject: Re: problem installing openTimer in cygwin
To: cygwin list <cygwin AT cygwin DOT com>

On Fri, Nov 11, 2016 at 3:12 PM, kunal ghosh wrote:
> Also, I went ahead modifying the utilities.h to point to
> windows/port.h, instead of port.h.

That sounds dangerous

> And some more hacks to get rid of other errors. Now 'make' gives me
> the below errors. Not sure how to resolve this
>
> src/logging.cc: In member function 'bool
> google::{anonymous}::LogFileObject::CreateLogfile(const string&)':
> src/logging.cc:895:43: error: 'symlink' was not declared in this scope
>      if (symlink(linkdest, linkpath.c_str()) != 0) {
>                                            ^
> src/logging.cc:904:45: error: 'symlink' was not declared in this scope
>        if (symlink(filename, linkpath.c_str()) != 0) {

symlink() is in unistd.h
You need to make  _DEFAULT_SOURCE or _GNU_SOURCE be defined for
symlin() to be visible on Cygwin.

It seems to me that the author of OpenTimer does not understand what
Cygwin is or what it does,
as evidenced by lines like

#if defined( WIN32) || defined(CYGWIN)

and the attempt to use Win32 instead of pthreads when compiling
Cygwin. Unfortunately (for you), I have no interest in OpenTimer, so I
can't help you any further.

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

- Raw text -


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