#4430 closed defect (fixed)
Windows build error: undefined reference to `CPLCreateOrAcquireMutex'
Reported by: | realityexists | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | ConfigBuild | Version: | 1.8.1 |
Severity: | major | Keywords: | mingw pthread |
Cc: |
Description
Building on Windows XP x64 with 32-bit MinGW I get the following error:
c:\projects\gdal\gdal-1.8.1\port/cpl_multiproc.cpp:73: undefined reference to `CPLCreateOrAcquireMutex'
I'm building following the instructions at http://trac.osgeo.org/postgis/wiki/DevWikiWinMingWSys_20 so the configure command was:
./configure --without-libtool --with-libtiff=internal --with-libz=/c/gtkbundle --prefix=/c/projects/gdal/rel-trunk
Others seem to have run into this as well - see http://osgeo-org.1803224.n2.nabble.com/gdal-dev-Unable-to-link-gdal-CPLCreateOrAcquireMutex-reference-not-found-td7073804.html
Change History (4)
comment:1 by , 12 years ago
comment:3 by , 12 years ago
Component: | default → ConfigBuild |
---|---|
Keywords: | mingw pthread added |
Milestone: | → 1.8.2 |
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Could you try the following fix in port/cpl_multiproc.h