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:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=EglVWkcS9mdhkJY7dBZeaWDHlg46Ebz3KxOchv7UGWe
	zTv9XgoGeGs9QzmurEraXxiZB+2GDBy1ZabWphl42vhOY+eO7zgWjIQCfy3ndDy/
	rd1NlgzFs3iOezZ97ieJyy+Yy49/iTWGS1cYx5XDV0jC47dlDL9nwZiPa/TdImMo
	=
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=m+2Xsyp7g1+SC3MupYHS2EMYQ5E=; b=EW1J2xvSEFdj0ApFA
	wcF3/EhYHrrG67qE1Wc0l4w2t+HyZjrt4l69xYln6ea9NA3JEJOMV7cZqF6nq9oh
	3G1bFKUasHYMpc9SXZSR3MhzDgI5Wwf1eRKfe4yhW2i8otSs59vBG0Ww2V6JCiNF
	4OAx6J/icO5A/MHFo8dvvRFcDo=
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=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wi0-f181.google.com
X-Received: by 10.194.110.69 with SMTP id hy5mr163871187wjb.121.1420302865749;        Sat, 03 Jan 2015 08:34:25 -0800 (PST)
Message-ID: <54A81A0C.3090000@gmail.com>
Date: Sat, 03 Jan 2015 17:34:20 +0100
From: Marco Atzeri <marco.atzeri@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: compiling error core.c in mapcache with cygwin
References: <DUB124-W279027A90C2E4D96E63BCCB05A0@phx.gbl>
In-Reply-To: <DUB124-W279027A90C2E4D96E63BCCB05A0@phx.gbl>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes



On 1/3/2015 2:39 PM, Gery . wrote:
> 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.

have you installed the development package suggest here
http://mapserver.org/mapcache/install.html


https://cygwin.com/packages/x86/libapr1-devel/libapr1-devel-1.4.8-1

>
> thanks for any hints on this,
>
> Gery
>   		 	   		

I guess you need this package

https://cygwin.com/packages/x86/libapr1-devel/libapr1-devel-1.4.8-1

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

