delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/11/11/08:57: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:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=pqLtEr0
pDrPNP8DUxqODpooWuvU37tTK+/ihRdRrf60iOABMszGynVi8DtiVuCZFtRS3kWX
aCnO2EnxtYu9Ks2BGSX7el5fGrxBEr6L4O5rozV5wBLj+vxzc+UYj77u9pgllMLe
g2KykLci+HfzB5VxuIPHTU9LB75PuCnbwbX0=
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=ioXsdlhALmUB/
IxMZvMV4Z7NO+0=; b=dh962qJMl0VtwEf8S9r/Ic5P8FIR/MWstsJiXwItIwebY
UA8ztTfMjOrQuQxa2LIBdOMQ+7KIgtnkw1GigI8sE1UBDKO4LmPYZn/2pwnBCZ+J
869UpHCxHlz2NkVpJnQ72fJgvJ5bjVlwKikh36toMpvxxVrCWpRclMK7GqMnmk=
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=-0.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=kunalpghosh AT gmail DOT com, U*kunalpghosh, sk:kunalpg, kunalpghoshgmailcom
X-HELO: mail-it0-f49.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=twxBtnEAlJieBH2Poxx5Xspkv+3HwXSuca0BDgwrF4c=; b=e3NWJAv714mRrKIevUtw5vSwajqtObWqVt56OBPaM452O6jV76CTEuoK8vo02MX709 9HkyaxLvEh8gcWrRzQyU4wKMJA3tf1EkZcLBs9YvxEQGXRGYoTO/KmEMnEqxxCV6N4K3 Gk08Bq0sFAGw4lk40FTypD2eaa6qUD++qu8IoDQLJfbjXZ0BAzvqEz8pt/fW0gpcE3VV t6Cjg2kNmA2PFxz8iLWQtK1wpklG3t4sy6FpFPIUHCI/2Rbdt0kW4EFtNNWfiKwHEIwb GvNaDXI6c/b7GZJqeU5f2yznCKqa4+oyQvOw3/WQiQMQHYGScRY0iVDoeSLd846DW5cn U3yQ==
X-Gm-Message-State: ABUngvc14OTFs2LWeUxb0HNueUY8hPlp7minu4Yxksz0Xcn9/phk3b+b7NaRk8k1IOe6k6VNiSfo8NkUxKGLYw==
X-Received: by 10.107.19.22 with SMTP id b22mr11823644ioj.236.1478872633521; Fri, 11 Nov 2016 05:57:13 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <CAAgSk3hPKFJwVVgPy61OTYwOdsmG1U2ic3ZVaUpiKAV8zeHfcA@mail.gmail.com>
References: <CAAgSk3gsyX=4JKoWi9v4+_fk6SckoZ8xCMN-SrEKYANKcviRAg AT mail DOT gmail DOT com> <CAEhDDbCs2waHJqM01YL3L66vuCEY-UEvAZwbsP7M6MyYm7Jc4Q AT mail DOT gmail DOT com> <CAAgSk3hPKFJwVVgPy61OTYwOdsmG1U2ic3ZVaUpiKAV8zeHfcA AT mail DOT gmail DOT com>
From: kunal ghosh <kunalpghosh AT gmail DOT com>
Date: Fri, 11 Nov 2016 19:26:43 +0530
Message-ID: <CAAgSk3iturWUZ8kktk9G3U5P-j=aNVozi7RrgARm+fYMR51UZw@mail.gmail.com>
Subject: Re: problem installing openTimer in cygwin
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

Hi Csaba,

The original error has gone. Now I get the below error:

I do below (saw some update on this 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
make  all-recursive
make[1]: Entering directory '/cygdrive/c/VSD/Tools/openTimer/OpenTimer-1.0.5'
Making all in 3rd-party/glog-0.3.3
make[2]: Entering directory
'/cygdrive/c/VSD/Tools/openTimer/OpenTimer-1.0.5/3rd-party/glog-0.3.3'
/bin/sh ./libtool  --tag=CXX   --mode=compile x86_64-w64-mingw32-g++
-DHAVE_CONFIG_H -I. -I./src  -I./src    -Wall -Wwrite-strings
-Woverloaded-virtual -Wno-sign-compare  -DNO_FRAME_POINTER  -DNDEBUG
-g -O2 -MT src/libglog_la-logging.lo -MD -MP -MF
src/.deps/libglog_la-logging.Tpo -c -o src/libglog_la-logging.lo `test
-f 'src/logging.cc' || echo './'`src/logging.cc
libtool: compile:  x86_64-w64-mingw32-g++ -DHAVE_CONFIG_H -I. -I./src
-I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare
-DNO_FRAME_POINTER -DNDEBUG -g -O2 -MT src/libglog_la-logging.lo -MD
-MP -MF src/.deps/libglog_la-logging.Tpo -c src/logging.cc
-DDLL_EXPORT -DPIC -o src/.libs/libglog_la-logging.o
In file included from src/logging.cc:32:0:
src/utilities.h:78:19: fatal error: port.h: No such file or directory
compilation terminated.
make[2]: *** [Makefile:1176: src/libglog_la-logging.lo] Error 1
make[2]: Leaving directory
'/cygdrive/c/VSD/Tools/openTimer/OpenTimer-1.0.5/3rd-party/glog-0.3.3'
make[1]: *** [Makefile:2676: all-recursive] Error 1
make[1]: Leaving directory '/cygdrive/c/VSD/Tools/openTimer/OpenTimer-1.0.5'
make: *** [Makefile:846: all] Error 2

Can you pelase help how to workaround this?



On Fri, Nov 11, 2016 at 6:42 PM, kunal ghosh <kunalpghosh AT gmail DOT com> wrote:
> Thanks Csaba. Let me check with owner of this tool and keep you posted
>
> On Fri, Nov 11, 2016 at 2:28 PM, Csaba Raduly <rcsaba AT gmail DOT com> wrote:
>> 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 AT 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 AT gmail DOT 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
>>
>
>
>
> --
> Thanks & Regards
> Kunal P Ghosh
> (www.vlsisystemdesign.com)
>
> "A pessimist always sees difficulty in every opportunity, An optimist
> always sees opportunity in every difficulty"



-- 
Thanks & Regards
Kunal P Ghosh
(www.vlsisystemdesign.com)

"A pessimist always sees difficulty in every opportunity, An optimist
always sees opportunity in every difficulty"

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