Hi,
I guess you're using HB_USER_PRGFLAGS=-b to build Harbour,
and in this case harbour.dll creation doesn't work, and AFAIU
it never did.
Either turn it off, or maybe hbdebug lib (+ lib path option)
can be added to linker command in bin/hb-mkdyn.bat line 92-92
to solve this problem, I don't know whether this is the right
solution.
If we find out what to do here I can implement it.
Brgds,
Viktor
On 2009.08.17., at 9:41, FRANČEK PRIJATELJ wrote:
Hi
On winXP I can't build harbour-20.dll (using mingw or msvc):
Errors with msvc8:
! Making harbour-20.dll...
Creating library C:\HRB\msvc_D_Tr\bin\harbour-20.lib and object C:
\HRB\msvc_D_Tr\bin\harbour-20.exp
sxtrig_dyn.obj : error LNK2001: unresolved external symbol
_HB_FUN___DBGENTRY
harbinit_dyn.obj : error LNK2001: unresolved external symbol
_HB_FUN___DBGENTRY
rddord_dyn.obj : error LNK2001: unresolved external symbol
_HB_FUN___DBGENTRY
rddsys_dyn.obj : error LNK2001: unresolved external symbol
_HB_FUN___DBGENTRY
sxcompat_dyn.obj : error LNK2001: unresolved external symbol
_HB_FUN___DBGENTRY
.
.
.
dir_dyn.obj : error LNK2001: unresolved external symbol
_HB_FUN___DBGENTRY
alert_dyn.obj : error LNK2001: unresolved external symbol
_HB_FUN___DBGENTRY
altd_dyn.obj : error LNK2001: unresolved external symbol
_HB_FUN___DBGENTRY
C:\HRB\msvc_D_Tr\bin\harbourmt-20.dll : fatal error LNK1120: 1
unresolved externals
Errors with mingw:
! Making harbour-20.dll...
source\rtl\obj\win\mingw\achoice.o:achoice.c:(.data+0x2a8):
undefined reference to `HB_FUN___DBGENTRY'
source\rtl\obj\win\mingw\adir.o:adir.c:(.data+0xb8): undefined
reference to `HB_FUN___DBGENTRY'
source\rtl\obj\win\mingw\alert.o:alert.c:(.data+0x128): undefined
reference to `HB_FUN___DBGENTRY'
source\rtl\obj\win\mingw\altd.o:altd.c:(.data+0x78): undefined
reference to `HB_FUN___DBGENTRY'
source\rtl\obj\win\mingw\base64.o:base64.c:(.data+0x98): undefined
reference to `HB_FUN___DBGENTRY'
source\rtl\obj\win\mingw\browdb.o:browdb.c:(.data+0xa8): more
undefined references to `HB_FUN___DBGENTRY' follow
collect2: ld returned 1 exit status
! Making harbourmt-20.dll...
source\rtl\obj\win\mingw\achoice.o:achoice.c:(.data+0x2a8):
undefined reference to `HB_FUN___DBGENTRY'
source\rtl\obj\win\mingw\adir.o:adir.c:(.data+0xb8): undefined
reference to `HB_FUN___DBGENTRY'
source\rtl\obj\win\mingw\alert.o:alert.c:(.data+0x128): undefined
reference to `HB_FUN___DBGENTRY'
source\rtl\obj\win\mingw\altd.o:altd.c:(.data+0x78): undefined
reference to `HB_FUN___DBGENTRY'
source\rtl\obj\win\mingw\base64.o:base64.c:(.data+0x98): undefined
reference to `HB_FUN___DBGENTRY'
source\rtl\obj\win\mingw\browdb.o:browdb.c:(.data+0xa8): more
undefined references to `HB_FUN___DBGENTRY' follow
collect2: ld returned 1 exit status
<francek_prijatelj.vcf>_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour