X-Recipient: archive-cygwin@delorie.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:from:date:message-id:subject:to
	:content-type; q=dns; s=default; b=nwSwwdnOtrgdeMRg6Bb+b/UIaz+L1
	8RGbGYwzezQVhh6oNGKhls6T9N85itt1OIT9vUdUA/fBmlIbIskl/pumS09s9iw4
	s2zl6o56hP+nVvALTBWQqAkYgYPaEtwhb8yOEblCIuwNdfiCemIwrrQTMOqxt6Tk
	Ppzdxda1Rzw/6k=
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:from:date:message-id:subject:to
	:content-type; s=default; bh=4zT81Z4ZDXv94XbWtqOZWYwmRVM=; b=CFX
	h7YssJ3A1Soiy0wvZQb2kTJi3EMbFqn1js9D164XJYL2Tj9PLJHJHoNF1FOyTccd
	hx05GkEv+RCQFidjZGkkJbc3/t3PvKFfDbMsnpyeazAj19WXBa4p24FPsvebHhsY
	/HfWljro/PFbkge1jgo9d6CsYA0UP1p15AXqE0w4=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy=
X-HELO: mail-it0-f46.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:from:date:message-id:subject:to;        bh=1ffEn8DKNzBuJsPB+nJPXoXrv1o1qpDGJeAKKtFeqps=;        b=HNcvIADodH/A2x4B1Fv5xYfk7o2Gfo8HssjFuHhk8ofJ9j0uddRoCvvg1WCRyNJ1f0         4Alx97thcR2zy9yo1kWofTAT/0lv/G0uU1xUkIBvWBtHIGP4A7NAZxZ411NeAfjlGtAo         Gyx9SKV/hDcGYTZhwaXSvZJCrKQjZokm+XetFrlSfl3Yqwcv8itDj+7nHtkLPf2PzWAF         gFi0fm1NeaVqy1MAeaq1vnDTxiyemgXhdl5+M9BBj+Ir5PgBM85fpwglSK2NfxNBEA1o         Hfbkvv25392G6y6KGlWHyHdptSzKypID4i3eI+cb+r8SXR8vbeDECRc8VznpJnJ3TMLz         4TtQ==
X-Gm-Message-State: ABUngvc3TfZ6JH2yrOI45RmYqpDp5bvIoRtdvrhiq4H+6MpOf0mFvZ7laP/B9FP7ZCPZIPQT5BWQ96dfhFXGQg==
X-Received: by 10.107.168.79 with SMTP id r76mr14660803ioe.205.1478921365857; Fri, 11 Nov 2016 19:29:25 -0800 (PST)
MIME-Version: 1.0
From: kunal ghosh <kunalpghosh@gmail.com>
Date: Sat, 12 Nov 2016 08:58:55 +0530
Message-ID: <CAAgSk3gG7DfVeqf67a_uJLddLQM1+Z9jC-TPpAx+8XtZCkhB_Q@mail.gmail.com>
Subject: errors while doing 'make' for openTimer installation
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

Hi,

I am trying to install OpenTimer on Cygwin

I do below (saw some update on this in cygwin mailing list and so
using --host): --- Works fine
./configure --host=x86_64-w64-mingw32

and then below :

Kunal@Kunal-PC /cygdrive/c/VSD/Tools/openTimer/OpenTimer-1.0.5
$ make

I went ahead modifying the utilities.h to point to
windows/port.h, instead of port.h.
And some more hacks to get rid of other errors. Now 'make' gives me
the below errors. Not sure how to resolve this. Can you please help?

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) {
                                             ^
src/logging.cc: In function 'void google::TruncateLogFile(const char*,
google::int64, google::int64)':
src/logging.cc:1828:69: error: 'O_NOFOLLOW' was not declared in this scope
   if (strncmp(procfd_prefix, path, strlen(procfd_prefix))) flags |= O_NOFOLLOW;
                                                                     ^
src/logging.cc:1867:68: error: 'pread' was not declared in this scope
   while ((bytesin = pread(fd, copybuf, sizeof(copybuf), read_offset)) > 0) {
                                                                    ^
src/logging.cc:1868:57: error: 'pwrite' was not declared in this scope
     bytesout = pwrite(fd, copybuf, bytesin, write_offset);

Thanks
Kunal

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

