delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/11/11/22:29:48

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: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 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.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 AT gmail DOT 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 AT cygwin DOT com
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 AT 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

- Raw text -


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