Deixa eu aproveitar esse topico.
Estou tentando gerar uma versão do Harbour 3.2 a partir do github(master) e usando Mingw32 ( gcc version 4.8.1) em 32bits e tenho o erro abaixo, mas em 64bits com MINGW não tenho erro.
Alguém sabe por que desse erro ?
Código: Selecionar todos
../../../../../src/rtl/obj/win/mingw/hbzlib_dyn.o:hbzlib.c:(.text+0x1): undefined reference to `compressBound'
d:/devel/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.8.1/../../../../i686-w64-mingw32/bin/ld.exe: ../../../../../src/rtl/obj/win/mingw/hbzlib_dyn.o: bad reloc address 0x4 in section `.text.startup'
collect2.exe: error: ld returned 1 exit status
../../../../../config/dyn.mk:110: recipe for target 'harbour-32.dll' failed
win-make.exe[3]: *** [harbour-32.dll] Error 1
../../config/dyn.mk:106: recipe for target 'descend' failed
win-make.exe[2]: *** [descend] Error 2
../config/dir.mk:68: recipe for target 'dynlib.inst' failed
win-make.exe[1]: *** [dynlib.inst] Error 2
config/dir.mk:68: recipe for target 'src.inst' failed
win-make.exe: *** [src.inst] Error 2
Meu PATH de compilação com Mingw 32 bits:
Código: Selecionar todos
SET PATH=D:\devel\MinGW32\bin;%PATH%
SET HB_INSTALL_PREFIX=d:\devel\hb32
REM SET HB_WITH_PCRE=D:\devel\pcre
SET HB_WITH_CURL=D:\devel\curl-8.2.1_9-win32-mingw\include
SET HB_WITH_PGSQL=D:\pg10_32bits\include
SET HB_WITH_FREEIMAGE=D:\devel\FreeImage\Dist\x32
SET HB_WITH_GD=D:\devel\gd-2.0.34\include
SET HB_WITH_ZLIB=D:\devel\zlib
SET HB_WITH_MINIZIP=D:\devel\zlib\contrib\minizip
SET HB_WITH_OPENSSL=D:\devel\OpenSSLWin32\include
SET HB_WITH_PNG=d:\devel\libpng
SET HB_WITH_LIBHARU=D:\devel\libharu-2.2.1\include
SET HB_BUILD_VERBOSE=yes
SET INCLUDE=%INCLUDE%;d:\devel\hb32\include;D:\devel\MinGW32\include;D:\devel\MinGW32\include\sys
SET LIB=%LIB%;D:\devel\MinGW32\lib;d:\devel\hb32\lib
SET HB_PATH=d:\devel\hb32
SET HRB_DIR=d:\devel\hb32
SET HB_INC_PGSQL=d:\pg10_32bits\include
%SystemRoot%\system32\cmd.exe
Para compilar uso apenas:
win-make.exe clean install