delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/05/11:48:36

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A50CE3A.8080805@gmail.com>
Date: Sun, 05 Jul 2009 17:00:58 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Commoncpp make error
References: <24344078 DOT post AT talk DOT nabble DOT com> <4A50C7B1 DOT 8000405 AT sh DOT cvut DOT cz>
In-Reply-To: <4A50C7B1.8000405@sh.cvut.cz>
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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019