Commoncpp make error

Dave Korn dave.korn.cygwin@googlemail.com
Sun Jul 5 16:10:00 GMT 2009


Václav Haisman wrote:
> faiz2009 wrote, On 5.7.2009 17:26:
>> Hello, 
>>
>> I try to install commoncpp2-1.7.0 under cygwin, then I proceed as follows:
>>
>> 1) . / configure (takes place without any problem).
>> 2) make. but during the compilation I receives the following error:
>> ------------------------------------------------------------
>> timer.cpp:131: error:'::clock_nanosleep' has not been declared
>> make[2]: ***[timer.lo] Error 1
>> make[2]: Leaving directory '/usr/local/commoncpp2-1.7.0/src'
>> make[1]: ***[All-recursive] Error 1
>> make[1]: Leaving directory '/usr/local/commoncpp2-1.7.0'
>> make: *** [all] Error 2
>> ------------------------------------------------------------
>>
>>   So I have two questions:
>> 1. To what is exactly of use commoncpp2 
> Ask the library vendor.
> 
>> 2. How to solve this problem 
> Ask the library vendor.

  When you talk to them, tell them that "clock_nanosleep" is not supported on
all platforms, and needs to be made the subject of an autoconf test.

    cheers,
      DaveK


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



More information about the Cygwin mailing list