X-Recipient: archive-cygwin@delorie.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:from:to:subject:date:content-type
	:content-transfer-encoding:mime-version; q=dns; s=default; b=etF
	REF4N1kXBc7aS0Uj8j/c4BiZeYiPqqS4jEaLJ4Fm03fFpFk56SpuJLoBat0ZN/Es
	9M7yK7hD51+eUoMxXELWMwAwuIatqn/y8blBAzFhhrMXO0hTsHZAeOypfQer9puH
	B2S1tA6m7HXaBooIdp5bfE7//KFwYamb1/zanrN4=
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:from:to:subject:date:content-type
	:content-transfer-encoding:mime-version; s=default; bh=v0F3Q9myq
	o0OYK/RyZ9ReoGMMVQ=; b=EcITp6IM6c/JhMoSrEF74BBvwVg3S7WEHqZYHiobk
	N3p1XetOJ+IUeG3mI8KMfIXWV6dbhvuJfNg2nMiF1AuCtbF6UccgQ/1srz9bZshE
	wTVMVLu53EJ8rTOrly8fz9O2bDCcEF2reLpgpWR0uLb3RhZKodlXUPZhxRZjRHlR
	Vg=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: DUB004-OMC1S35.hotmail.com
X-TMN: [q0fNTgnHJ7RSuJ4mlk/64dVx3QovT7YkLR+qPoGKunk=]
Message-ID: <DUB124-W279027A90C2E4D96E63BCCB05A0@phx.gbl>
From: "Gery ." <gamejihou@hotmail.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: compiling error core.c in mapcache with cygwin
Date: Sat, 3 Jan 2015 13:39:02 +0000
Content-Type: text/plain; charset="Windows-1252"
MIME-Version: 1.0
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t03DdKu6028905

Hello,

When installing mapcache in cygwin, `make` produced:

    /opt/mapcache/mapcache-rel-1-2-1/lib/core.c: In function ‘mapcache_prefetch_tiles’:
    /opt/mapcache/mapcache-rel-1-2-1/lib/core.c:81:3: error: unknown type name ‘apr_thread_t’
       apr_thread_t **threads;
       ^
    /opt/mapcache/mapcache-rel-1-2-1/lib/core.c:82:3: error: unknown type name ‘apr_threadattr_t’
       apr_threadattr_t *thread_attrs;
       ^
    /opt/mapcache/mapcache-rel-1-2-1/lib/core.c:83:7: warning: unused variable ‘nthreads’ [-Wunused-variable]
       int nthreads;
           ^
    /opt/mapcache/mapcache-rel-1-2-1/lib/core.c:82:21: warning: unused variable ‘thread_attrs’ [-Wunused-variable]
       apr_threadattr_t *thread_attrs;
                         ^
    /opt/mapcache/mapcache-rel-1-2-1/lib/core.c:81:18: warning: unused variable ‘threads’ [-Wunused-variable]
       apr_thread_t **threads;
                      ^

I searched for some hints about this error but didn't find anything. Looking for `apr_thread_t` and cywgin, I found some pages pointing to an error with apache, but not really sure if apache has something to do here.

thanks for any hints on this,

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


