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:content-type :content-transfer-encoding:subject:references:from:in-reply-to :date:cc:to:mime-version; q=dns; s=default; b=FY/+MsUAsT32f9mzwY Q1Qr8f2dhrxyJ40vcZxWyzHyI3wF0PVVAc8HfS0jeaa5+xDwsi/SXqHZRsm9FOVS 8q0chAVlz/VNXTa8D415BOdKrvL9nRm1yUS1gFqL+ijFnoVxreZEf2ulNzFYDcnA ycyOwUrce5E/koPE/onHHz51o= 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:content-type :content-transfer-encoding:subject:references:from:in-reply-to :date:cc:to:mime-version; s=default; bh=I39XrT569AHlKyeMMDXTQD7r SJQ=; b=CjN41nWJITiYIklHRk2TCFAGEZYz2y/JJhRAuIFmq3Zdph31wIbgXDa4 R9YjJ9/4P3+VrhAFQxzlPi/d0fmTn3K0xtlHJQkMEqTtsdElbivMQTNy2BKyMBX7 oNz8oXuud7qVfIHdXIIBHQBstq4YiVZiwvf1Z9/rVZhJRjBR5ok= 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=2.1 required=5.0 tests=AWL,BAYES_50,DATE_IN_PAST_03_06,FREEMAIL_FROM,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: DUB004-OMC1S10.hotmail.com X-TMN: [VvHtihy0HsuXJvVJfh8ZSLDaOHxf6puw] Message-ID: Content-Type: text/plain; charset="utf-8" Subject: Re: compiling error core.c in mapcache with cygwin References: <54A81A0C DOT 3090000 AT gmail DOT com> <54B22AD9 DOT 5000203 AT gmail DOT com> <54B2CD83 DOT 8000506 AT acm DOT org> From: "Gery ." In-Reply-To: <54B2CD83.8000506@acm.org> Date: Sun, 11 Jan 2015 15:17:23 -0500 CC: "cygwin AT cygwin DOT com" To: "cygwin AT cygwin DOT com" MIME-Version: 1.0 (1.0) X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id t0C0ktKj029294 Thanks David but I don't have either the expertise to do so, I'll try to get mapcache working without threads enabled. Sent from my iRon On Jan 11, 2015, at 14:23, "David Rothenberger" wrote: On 1/11/2015 6:14 AM, Gery . wrote: > Thanks Marco, is it possible to enable THREAD in that apr library? I am the maintainer for the APR library. I didn't enable threads because the unit tests don't pass with it enabled and I don't have the time or expertise to fix it. If you want to fix it and submit a patch to this list, I'll be happy to try the unit tests and include the patch in APR if it works. > > Sent from my iRon > > On Jan 11, 2015, at 2:58, "Marco Atzeri" wrote: > > > > 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. -- David Rothenberger ---- daveroth AT acm DOT org Be careful of reading health books, you might die of a misprint. -- Mark Twain -- 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