[GRASS-dev] winGRASS 64bit

Glynn Clements glynn at gclements.plus.com
Wed Feb 25 16:40:45 PST 2015


Martin Landa wrote:

> I am hopefully close to winGRASS7 64bit build. Currently I am trying
> to solve this issue:
> 
> OBJ.x86_64-pc-mingw32/ls_filter.o:ls_filter.c:(.text+0x3e9): undefined
> reference to `__imp_regexec'
> ...
> c:/MinGW64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld.exe:
> OBJ.x86_64-pc-mingw32/ls_filter.o: bad reloc address 0x0 in section
> `.data'
> collect2.exe: error: ld returned 1 exit status
> make[3]: *** [/osgeo4w/usr/src/grass700/dist.x86_64-pc-mingw32/lib/libgrass_gis.7.0.0.dll]
> Error 1
> 
> Any kind of hint will be highly appreciated, thanks in advance, Martin

"undefined reference to __imp_xxxx" usually means that it found the
import library but not the corresponding DLL.

Or maybe it's finding a 32-bit version?

MSVCRT doesn't have the <regex.h> functions; MinGW uses a port of the
regex functionality from GNU libc.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list