This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: compiling error core.c in mapcache with cygwin
- From: Marco Atzeri <marco dot atzeri at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 03 Jan 2015 17:34:20 +0100
- Subject: Re: compiling error core.c in mapcache with cygwin
- Authentication-results: sourceware.org; auth=none
- References: <DUB124-W279027A90C2E4D96E63BCCB05A0 at phx dot gbl>
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