Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Dave Korn" To: , "'Cygwin List'" Subject: RE: Lot of undefined symbols at link time, even with -l option on good libraries Date: Wed, 22 Sep 2004 14:22:02 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" In-Reply-To: <4151707C.1050401@atosorigin.com> Message-ID: X-OriginalArrivalTime: 22 Sep 2004 13:24:46.0330 (UTC) FILETIME=[874EFDA0:01C4A0A7] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i8MDOvbJ029056 > -----Original Message----- > From: cygwin-owner On Behalf Of Frédéric ORMANCEY > Sent: 22 September 2004 13:31 > problem seems coming from trailing @nn in library symbols. > cygwin linker don't know how to translate a reference like > _FormatMessageA to _FormatMessageA AT 28 > the calling convention ( C, Stdcall, C++, ... ) has effect only on > underscore preceeding symbol name, not on @nn notation. > > It seems there is no solutions to this problem, I will > abandon cygwin to > build my Ada application under windows :-( You didn't read that letter that you were replying to very well: > >default for Windows). If you cannot get Ada to ask for the > proper symbol, > >you could try using the '--enable-stdcall-fixup' option (for > 'ld') to > >attempt to massage away the problem. It doesn't seem from your reply that you have actually tried this. Note that to pass the option through to the linker from the compiler you would need to add "-Wl," before it, but if you have a separate link stage in your makefile that invokes the linker directly that would not be necessary. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/