delorie.com/archives/browse.cgi | search |
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:mime-version | |
:in-reply-to:date:to:cc; q=dns; s=default; b=I5uEFL8x64kR2yqZScy | |
uIUU1a66cnymtO2bqdy038j4B/fF4oPvD7AVBXy/Ve3xBG13H+9QKp8UBQVU3aYK | |
cu20d2Anr6PX+jlT93TNxSn+gKOuAWgne5onEKFrxUO+x+fUqp0ntpE5PqE6xFmQ | |
jGonYmXvE/UjO2Mq0XwwmUb4= | |
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:mime-version | |
:in-reply-to:date:to:cc; s=default; bh=EmdMzWV9iCdjyDwpCyj7MQMfZ | |
Ao=; b=rw8nDN1DcKYxoPpSRgWt43sygqZrYbXEhO5BkRc1mmII7usOoeWDomgM2 | |
MbdZ7b7x7agp84AXzfC18yugHfZ/Ztj/s6ztUzBDb81j1wNBo+hqKpYxqj8HRmHp | |
wKZhW6UjIVSVvgZqoI6LT7vWWYvh0Bqd3+9EbEIkWdC99ZMgI4= | |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=1.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 |
X-HELO: | DUB004-OMC1S33.hotmail.com |
X-TMN: | [IFnOkOfovwwlmgCLuHpZHgzRJp+RM/3O] |
Message-ID: | <DUB408-EAS423E1089FB3935699DB07A8B0420@phx.gbl> |
Subject: | Re: compiling error core.c in mapcache with cygwin |
References: | <DUB124-W279027A90C2E4D96E63BCCB05A0 AT phx DOT gbl> <54A81A0C DOT 3090000 AT gmail DOT com> <DUB124-W3574F49394D7EC88CF8093B0420 AT phx DOT gbl> <54B22AD9 DOT 5000203 AT gmail DOT com> |
From: | "Gery ." <gamejihou AT hotmail DOT com> |
MIME-Version: | 1.0 (1.0) |
In-Reply-To: | <54B22AD9.5000203@gmail.com> |
Date: | Sun, 11 Jan 2015 09:14:46 -0500 |
To: | Marco Atzeri <marco DOT atzeri AT gmail DOT com> |
CC: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
X-IsSubscribed: | yes |
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id t0BEF7Xp026638 |
Thanks Marco, is it possible to enable THREAD in that apr library? Sent from my iRon On Jan 11, 2015, at 2:58, "Marco Atzeri" <marco DOT atzeri AT gmail DOT com> 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. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |