Selon chenliang wang <hi181904...@msn.com>:

> hi:
> I failed to build gdal 1.9 with minGW. I modified 'cpl_multiproc.h' with
> the patch.But there are still errors with build:cpl_multiproc.cpp:73:
> undefined reference to `CPLCreateOrAcquireMutex' .Pls help me out.Thanks!
>
-------------------------------------------------------------------------------
> #if defined(WIN32) && !defined(CPL_MULTIPROC_STUB)
> # define CPL_MULTIPROC_WIN32
> /* MinGW can have pthread support, so disable it to avoid issues */
> /* in cpl_multiproc.cpp */
> # undef CPL_MULTIPROC_PTHREAD
> #endif
>
------------------------------------------------------------------------------------

Did you 'make clean' after applying the patch and before rebuilding GDAL ? The
reporter of https://trac.osgeo.org/gdal/ticket/4430 confirmed that the above
patch fixed building for him.

>
>
> Chen-liang Wang
> _______________________________________________
> gdal-dev mailing list
> gdal-dev@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>


_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to