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: 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 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: References: From: Csaba Raduly Date: Sun, 13 Nov 2016 13:04:02 +0100 Message-ID: Subject: Re: problem installing openTimer in cygwin To: cygwin list Content-Type: text/plain; charset=UTF-8 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