Commoncpp make error

View: New views
3 Messages — Rating Filter:   Alert me  

Commoncpp make error

by faiz2009 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
2. How to solve this problem

I' am waiting for a response

Thanks for you all

Re: Commoncpp make error

by Václav Haisman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

>
> I' am waiting for a response
>
> Thanks for you all

--
VH

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


Re: Commoncpp make error

by Dave Korn-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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