This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Lot of undefined symbols at link time, even with -l option on good libraries

> -----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@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.

Can't think of a witty .sigline today....

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]