Unresolved external symbol '__chkstk

Unresolved external symbol '__chkstk

Postby kajot » Sun Dec 12, 2010 7:35 pm

when I compile my sources I get the error :

Type: C >>>xhb.exe -o"wSETOW6.c" -m -n -p -q -gc0 -I"s:\include" -I"R:\include" -I"R:\include\w32" "wSETOW6.PRG"<<<

xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6726)
Copyright 1999-2010, http://www.xharbour.org http://www.harbour-project.org/
Generating object output to 'wSETOW6.obj'...

Type: C >>>xlink.exe -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -subsystem:windows -UNMANGLE -LIBPATH:"s:\lib" -LIBPATH:"R:\lib" -LIBPATH:"R:\c_lib" -LIBPATH:"R:\c_lib\win" "wSETOW6.obj" "kontrah.obj" "main.obj" "char_mat.obj" "a.obj" "sww.obj" "kasa.obj" "przg_ngl.obj" "cmr.obj" "cmr_poz.obj" "wyciag.obj" "dok_ngl.obj" "dok_poz.obj" "s:\xhb2.obj" "s:\lib\oledlg.lib" "s:\lib\version.lib" "FiveHCM.lib" "FiveHMX.lib" "OptG.lib" "sql.lib" "ace32.lib" "fbclient_ms.lib" "xhb.lib" "dbf.lib" "nsx.lib" "ntx.lib" "cdx.lib" "rmdbfcdx.lib" "ct3comm.lib" crt.lib kernel32.lib user32.lib winspool.lib ole32.lib oleaut32.lib odbc32.lib odbccp32.lib uuid.lib wsock32.lib ws2_32.lib wininet.lib advapi32.lib shlwapi.lib msimg32.lib mpr.lib OleDlg.lib version.lib comctl32.lib comdlg32.lib gdi32.lib shell32.lib winmm.lib lz32.lib Netapi32.lib -out:"wsetow6.exe"<<<

Creating object: wsetow6.EXP

Creating library: wsetow6.LIB

xLINK: error: Unresolved external symbol '__chkstk referenced from Fivehcm.lib(PROFILE.obj)'.

xLINK: fatal error: 1 unresolved external(s).


Type: C >>>Couldn't build: wsetow6.exe<<<
Type: C >>>TMAKEPROJECT<<<
Type: C >>>TMAKEPROJECT:REFRESH<<<
Type: N >>> 1423<<<

best regards
kajot
best regards
kajot
User avatar
kajot
 
Posts: 339
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Re: Unresolved external symbol '__chkstk

Postby driessen » Sun Dec 12, 2010 9:40 pm

Hello,

Have a look at topic http://forums.fivetechsupport.com/viewtopic.php?f=3&t=20471 and ask Antonio.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Unresolved external symbol '__chkstk

Postby fp » Tue May 01, 2012 7:39 am

When linking I get this error on FWH 04/2012:

xLINK: error: Unresolved external symbol '__chkstk referenced from Fivehcm.lib(C5CNEW.obj)'.

I use xHarbour commercial.
Frank-Peter
User avatar
fp
 
Posts: 76
Joined: Fri Dec 30, 2005 10:25 am
Location: Germany

Re: Unresolved external symbol '__chkstk

Postby Antonio Linares » Tue May 01, 2012 8:21 am

Frank,

Temporarly, please add this code to your main PRG:
Code: Select all  Expand view

#pragma BEGINDUMP

#include <windows.h>

void _chkstk( void )
{
   MessageBox( 0, "inside chkstk()", "ok", 0 );
}

#pragma ENDDUMP
 
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42089
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Unresolved external symbol '__chkstk

Postby fp » Tue May 01, 2012 8:28 am

Hallo Antonio,

thank you, I works perfectly.

Saludos
Frank
Frank-Peter
User avatar
fp
 
Posts: 76
Joined: Fri Dec 30, 2005 10:25 am
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 97 guests