problem installing openTimer in cygwin
Fri Nov 11 14:13:00 GMT 2016
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
and then below :
make: Entering directory '/cygdrive/c/VSD/Tools/openTimer/OpenTimer-1.0.5'
Making all in 3rd-party/glog-0.3.3
make: Entering directory
/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
make: *** [Makefile:1176: src/libglog_la-logging.lo] Error 1
make: Leaving directory
make: *** [Makefile:2676: all-recursive] Error 1
make: 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 <email@example.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 <firstname.lastname@example.org> wrote:
>> Hi Kunal,
>> On Fri, Nov 11, 2016 at 7:21 AM, kunal ghosh wrote:
>>> I am trying to install OpenTimer software on my Windows 7 machine
>>> through cygwin, using standard steps "./configure", "make" , "make
>>> ./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.
>>> 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).
>>> /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
>>> 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 email@example.com"
>> 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
> "A pessimist always sees difficulty in every opportunity, An optimist
> always sees opportunity in every difficulty"
Thanks & Regards
Kunal P Ghosh
"A pessimist always sees difficulty in every opportunity, An optimist
always sees opportunity in every difficulty"
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin