What is ChkStk - unpresolved external symbol error
-
- Enthusiast
- Posts: 665
- Joined: Fri Sep 12, 2003 10:40 pm
- Location: Tallahassee, Florida
What is ChkStk - unpresolved external symbol error
What is ___chkstk? i am linking to a static lib, and polink screams at me about unresolved external symbols.
i am compiling the lib in pellesc as a single threaded lib with windows and pellesc extensions enabled.
why does polink almost always scream about unresolved external symbols?
i am compiling the lib in pellesc as a single threaded lib with windows and pellesc extensions enabled.
why does polink almost always scream about unresolved external symbols?
Code: Select all
!.WHILE status != dwPassedOut
! Invoke AllocateDrink, dwBeerAmount
!MOV Mug, Beer
!Invoke Drink, Mug, dwBeerAmount
!.endw
My guess would have been that you need to link in one of the c runtime libraries with your application, but the following suggests otherwise:
http://blog.mypapit.net/2006/05/solutio ... hkstk.html
http://blog.mypapit.net/2006/05/solutio ... hkstk.html
I may look like a mule, but I'm not a complete ass.
-
- Enthusiast
- Posts: 665
- Joined: Fri Sep 12, 2003 10:40 pm
- Location: Tallahassee, Florida
i figured it out just now. i had to link with pelles c CRT.LIB. thats where that function resides.
the static lib now works beautifully. i can now use huffman, rice, shannon-fano, RLE, and LZW compression schemes.
the static lib now works beautifully. i can now use huffman, rice, shannon-fano, RLE, and LZW compression schemes.
Code: Select all
!.WHILE status != dwPassedOut
! Invoke AllocateDrink, dwBeerAmount
!MOV Mug, Beer
!Invoke Drink, Mug, dwBeerAmount
!.endw
-
- Enthusiast
- Posts: 665
- Joined: Fri Sep 12, 2003 10:40 pm
- Location: Tallahassee, Florida
yes. i am working with ZLIB, and this really cool set of compression routines in plain ANSI C. i compiled them with Pelles and imported them to use their compression in my new image format.
they all kind of suck at compressing image data, especially real world pictures of real things, and not simple drawings and artwork.
know any pb importable static compression libs to use instead?
they all kind of suck at compressing image data, especially real world pictures of real things, and not simple drawings and artwork.
know any pb importable static compression libs to use instead?
Code: Select all
!.WHILE status != dwPassedOut
! Invoke AllocateDrink, dwBeerAmount
!MOV Mug, Beer
!Invoke Drink, Mug, dwBeerAmount
!.endw
i run also in a this polink error .
There is a nice very fast C code for compressing.
I set a peles-c project for that and wrote a small
purebasic-code.
i bundled everythiing in a zip file
download at: http://www.turboupload.com/08iye6anghdb ... b.zip.html
use the button with "Kostenloser Download"
can someone help ?
There is a nice very fast C code for compressing.
I set a peles-c project for that and wrote a small
purebasic-code.
i bundled everythiing in a zip file
download at: http://www.turboupload.com/08iye6anghdb ... b.zip.html
use the button with "Kostenloser Download"
can someone help ?
SPAMINATOR NR.1
thx ts-soft for the answer:
Code: Select all
!extrn __chkstk
!public __chkstk as "___chkstk"
SPAMINATOR NR.1
Re: What is ChkStk - unpresolved external symbol error
Sorry for bumping old topic. I get the same problem when static linking to static library compiled with Code::Blocks. The error messages is
Polink error: unresolved external symbol '__chkstk_ms'
Polink error: unresolved external symbol '_stat'
Anyone can help?
Polink error: unresolved external symbol '__chkstk_ms'
Polink error: unresolved external symbol '_stat'
Anyone can help?
Re: What is ChkStk - unpresolved external symbol error
Not quite familiar with those. Seems like some missing library.coder14 wrote:Polink error: unresolved external symbol '__chkstk_ms'
Polink error: unresolved external symbol '_stat'
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel
Re: What is ChkStk - unpresolved external symbol error
I have been trying to resolve this but no success.
Anyone could help please?
Anyone could help please?
Re: What is ChkStk - unpresolved external symbol error
You could try to update MinGW (Although it says: This Guide is Old and will no longer work, maybe there are some hints for you).
Or maybe switch to Visual Studio Community 2015
Or maybe switch to Visual Studio Community 2015
Et cetera is my worst enemy