From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 36485 invoked by alias); 12 Nov 2016 03:29:29 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 36116 invoked by uid 89); 12 Nov 2016 03:29:29 -0000 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 Received: from mail-it0-f46.google.com (HELO mail-it0-f46.google.com) (209.85.214.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 12 Nov 2016 03:29:28 +0000 Received: by mail-it0-f46.google.com with SMTP id u205so14715053itc.0 for ; Fri, 11 Nov 2016 19:29:27 -0800 (PST) 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 Received: by 10.79.160.5 with HTTP; Fri, 11 Nov 2016 19:28:55 -0800 (PST) From: kunal ghosh Date: Sat, 12 Nov 2016 10:45:00 -0000 Message-ID: Subject: errors while doing 'make' for openTimer installation To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-11/txt/msg00124.txt.bz2 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