From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52806 invoked by alias); 11 Nov 2016 08:58:51 -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 52695 invoked by uid 89); 11 Nov 2016 08:58:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,FREEMAIL_REPLY,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=imaginary, ghosh, kunal, gcs X-HELO: mail-wm0-f41.google.com Received: from mail-wm0-f41.google.com (HELO mail-wm0-f41.google.com) (74.125.82.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 11 Nov 2016 08:58:48 +0000 Received: by mail-wm0-f41.google.com with SMTP id f82so79570453wmf.1 for ; Fri, 11 Nov 2016 00:58:47 -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:in-reply-to:references:from:date :message-id:subject:to; bh=I5UAyJaulCjurFAY8RVJe2kPa5nxQJc1StameR1x8qk=; b=M+Na0OIkNAwkg2QiX0nJ5pY4K+5SVuKdWjWUzHSt3x8mESUZEyHoEg+vxjQxOTD+m9 u0apOBJgdEzDcCqGg5oa1e5t49UjHJuyMlktnWGiYfgznSzI+koykrdprFRmn6g0F+y3 ZDmK75tYw6mLtXqBoD87kvTZwic1mSVwfwahkfU6/XPVHNKMohyj9aNEGnYQfi5Q9pIU BWkKYKiNYsJ5xx/uQsoJJb73uTrMmVQfxD7jObdAOAKYuTFe7i/7NdqqJEGrE7yTmqHp Qojda14sNnzpc35i1HXJZ7FS6gfu5b9k5jHr49geb0xzZIzWq3xDescgmgBO2uhh1YmV vXyA== X-Gm-Message-State: ABUngvd1hMfMeHEKI3yzlXovxK5wkFwebt3SQZ2JMMcHGsm0WnCR9VZlTvouA9rkC9Y9G5VfiyDOneRLM9bQtg== X-Received: by 10.194.122.101 with SMTP id lr5mr8221602wjb.210.1478854725680; Fri, 11 Nov 2016 00:58:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.187.139 with HTTP; Fri, 11 Nov 2016 00:58:45 -0800 (PST) In-Reply-To: References: From: Csaba Raduly Date: Fri, 11 Nov 2016 11:57:00 -0000 Message-ID: Subject: Re: problem installing openTimer in cygwin To: cygwin list Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2016-11/txt/msg00113.txt.bz2 Hi Kunal, On Fri, Nov 11, 2016 at 7:21 AM, kunal ghosh wrote: > Hi > I am trying to install OpenTimer software on my Windows 7 machine > through cygwin, using standard steps "./configure", "make" , "make > install" > > ./configure gives me the below errors for which I have googled and > didnt founf anything constructive: > > Kunal@Kunal-PC /cygdrive/c/VSD/Tools/openTimer/OpenTimer-1.0.5 > $ grep error config.log configure tries to compile a variety of throw-away programs to check for the capabilities of the system. Lots of errors in config.log are expected. You should only look at config.log if configure reports an error and fails to generate the Makefile. (snip) > g++: error: unrecognized command line option '-V' > g++: fatal error: no input files > g++: error: unrecognized command line option '-qversion' > g++: fatal error: no input files Here it probably tries to find the switch that prints the compiler version. It has to try every known switch that does that; but no compiler will accept every possibility. These errors are harmless. They tell configure that GCC doesn't support the -qversion switch (-qversion is accepted by IBM's XL C/C++ compiler for AIX). (snip) > /usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/omp.h:39:3: error: > 'omp_lock_t' does not name a type > /usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/omp.h:86:28: error: > variable or field 'omp_init_lock' declared void Here it probably found out that OMP is not supported. > Inspite of the above errors, I go ahead with 'make' command and I get > below errors: > > src/utilities.cc: In function 'pid_t > google::glog_internal_namespace_::GetTID()': > src/utilities.cc:265:29: error: 'GetCurrentThreadId' was not declared > in this scope > return GetCurrentThreadId(); > ^ This suggests that OpenTimer thinks it's being compiled under Windows (GetCurrentThreadId is a Win32 API function). It failed to identify Cygwin as a POSIX platform. You could try submitting a bug report or, if you're a programmer, fix it and supply a patch: "OpenTimer is actively maintained by Tsung-Wei Huang. If you are discovering any bugs or are interested in pursuing an OpenTimer-based project with me, please contact twh760812@gmail.com" 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