[mapserver-users] compiling error core.c in mapcache with cygwin
Andy Colson
andy at squeakycode.net
Sat Jan 3 06:57:49 PST 2015
On 01/03/2015 08:08 AM, 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 cygwin, 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
You need the Apache Portable Runtime library. Its a generic lib, not the webserver.
This gives an overview of all the area's it covers:
http://apr.apache.org/docs/apr/1.4/modules.html
-Andy
More information about the MapServer-users
mailing list