All About Symbian - Nokia (S60) and Sony Ericsson (UIQ) smartphones unwrapped

  #1  
Old 21-05-2003, 06:11 AM
Guest
 
Posts: n/a
unresolved external symbol __chkstk

hi
When we port a C program to symbian;it works fine but when we link a Win32 static library "STATICLIBRARY samp.lib" to a .mmp file;unresolved external symbol __chkstk is ther.
i have seen that solution is to reduce the use of stack space but there is no problem of stack space in my case...If any body let me know,what may be the efficient solution for this problem??

thanx
Ads

  #2  
Old 21-05-2003, 06:40 AM
cmatthee's Avatar
cmatthee cmatthee is offline
Registered User
 
Join Date: May 2002
Posts: 175
cmatthee is on a distinguished road
This error normally means that somewhere a function has allocated a lot of memory on the stack space.

The solution is to move the memory from the stack to the heap. This is the best solution.

If you can not (for some reason) move the memory to the heap, then you may try implementing a dummy __chkstk function and increase the stack size in the MMP file. And then you hope for the best.
__________________
The box said Windows 98 or better. Why is it not working on FreeBSD?
 

Bookmarks

Tags
chkstk, external, symbol, unresolved

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT. The time now is 01:44 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright Notes || Contact Us || Privacy Policy