delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Tue, 05 Feb 2008 21:38:40 +0530 |
From: | Anik Pal <anik AT vadodara DOT oilfield DOT slb DOT com> |
Subject: | undefined refernce symbol __chkstk |
To: | cygwin AT cygwin DOT com |
Message-id: | <000001c86811$601d3a00$af0ab7a3@mea.slb.com> |
MIME-version: | 1.0 |
X-Mailer: | Microsoft Outlook, Build 10.0.6822 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
I got the linking error message "undefined reference symbol __chkstk". When I try to link my source code with a MSVC compiled library. From the following url I got a workaround to remove this problem is to copy CHKSTK.OBJ from MSVC library and rename it to chkstk.o and link with it. http://eegeerg.blogspot.com/2008_01_01_archive.html#4158852069709002699 But that option remove this error message and create the executable, But when run the executable it doesn't give anything just abort, no error message I'm also linking my code with cygwin/lib/mingw/libmsvcrt.a Now I suspect that wither CHKSTK.OBJ MSVC object file or mingw libmsvcrt.a library or both is causing this problem. But I'm not sure How to replace them with equivalent lib if I want to remove dependency from Mingc and MSVC both. regard Anik Pal Schlumberger, Vadodara, India -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |