On Tue, 09 Feb 2010, 2D Info - Leandro Damasio wrote:

Hi,

> There is an error when I try to recompile Harbour core with -DHB_DYNLIB.
> Apparently the problem is about hbpp.exe
> See the error below:
> ...
> gcc   -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer 
> -march=i586
> -mtune=pentiumpro -DHB_LEGACY_TYPES_OFF  -DHB_DYNLIB -ohbpp.o -c
> ../../../hbpp.c
> gcc  -L../../../../../lib/win/mingw   -o
> ..\..\..\..\..\bin\win\mingw\hbpp.exe h
> bpp.o -lhbnortl -lhbcommon -lkernel32 -luser32 -lws2_32 -ladvapi32 -lgdi32
> /mingw/lib/libmingw32.a(main.o):main.c:(.text+0xd2): undefined
> reference to `winm...@16'
> collect2: ld returned 1 exit status
> mingw32-make[3]: *** [hbpp.exe] Error 1

You are right. It's side effect of code added to exclude hbpp_dyn.obj
from DLL. I'll replace it with other solution. Anyhow probably today
we add support for using PCODE DLLs with standard static builds so
you can wait a while for it.

best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to