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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=CLr8dH0jM+NR3U9HVvzPfyI58gL1q7d5Hfq60Q1a5fJ skLCaCE4iYAXPlKzUxehC5ItGAdHU6K+2Sq2lLOa1yby3II9EoCkGn6IIS3Lfz2W 1DAtXy86NNV0xO/EpdrEw7K/Os3dyneeFGW6d0LRDx5DGXqnCy322/Zlke2iJqm0 = 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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=TRZw/yF9/VeVd9KlCNCWYzyZobA=; b=pZjuu9zXjjjVZ6lOG 8rhdHeXzyf4SdTVemMrr/B+jo7mfvKCoqBfkDQoQFfc6ZvzP0UQMwqaGi80QSxab pY/D/dQo+vU0iyYPGzIQZujoPr9AWuxDvKYW35CkSVvBHTfD4RWJKH6vo/9A+BLr mKC/kj9hhToDxMnxEtNk24nwm8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.4 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f174.google.com X-Received: by 10.180.211.34 with SMTP id mz2mr19557220wic.56.1420962548854; Sat, 10 Jan 2015 23:49:08 -0800 (PST) Message-ID: <54B22AD9.5000203@gmail.com> Date: Sun, 11 Jan 2015 08:48:41 +0100 From: Marco Atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: "Gery ." , "cygwin AT cygwin DOT com" Subject: Re: compiling error core.c in mapcache with cygwin References: ,<54A81A0C DOT 3090000 AT gmail DOT com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes On 1/11/2015 5:20 AM, Gery . wrote: > Hello Marco, > > After getting some replies about mapcache in the mapserver forum (http://osgeo-org.1560.x6.nabble.com/compiling-error-core-c-in-mapcache-with-cygwin-td5179881.html#a5180931), I have the impression that apr has some issues in cygwin. Using this "thread-sample.c" (http://dev.ariel-networks.com/apr/apr-tutorial/sample/thread-sample.c) with > > gcc -Wall $(apr-1-config --cflags --cppflags --includes --link-ld) thread-sample.c > > I got: > > $ gcc -Wall $(apr-1-config --cflags --cppflags --includes --link-ld) thread-sample.c > thread-sample.c: In function ‘main’: > thread-sample.c:46:5: warning: implicit declaration of function ‘apr_threadattr_create’ [-Wimplicit-function-declaration] > apr_threadattr_create(&thd_attr, mp); $ grep THREAD apr.h #define APR_HAVE_PTHREAD_H 0 #define APR_USE_PROC_PTHREAD_SERIALIZE 0 #define APR_USE_PTHREAD_SERIALIZE 0 #define APR_HAS_PROC_PTHREAD_SERIALIZE 0 #define APR_HAS_THREADS 0 #define APR_HAS_XTHREAD_FILES 0 It seems that the current cygwin apr library has no THREAD enabled. -- 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