Undefined link symbols

Earnie Boyd earnie_boyd@yahoo.com
Thu Aug 20 05:10:00 GMT 1998

---"Bates, Rod" <Rod.Bates@wichita.boeing.com> wrote:
> While linking, I get undefined symbols _setjmp, ___infinity,
> ___errno, and sometimes _stderr.   My program is written
> in a mixture of Ada, using the gnat compiler, and Modula-3,
> using the Pm3 compiler.  It compiles, links, and runs fine on
> Linux.  When I go to NT, the link step gives these undefined
> symbols.

Are the gnat and Pm3 compiler cygwin32 versions?  If not then these
symbols are crtdll (or one of it's cousins) related.  If this is the
case then I suggest that you take a look at the EGCS-mingw32 version
of gcc found on Mumit Khan's page (URL is listed below) as it uses the
crtdll for function calls.

-        \\||//

To fix the most serious problems:
  Please, _READ_ the IMPORTANT UPGRADE NOTICE at the end of this note.
  Please, ensure that there is only _ONE_ cygwinb19.dll.
  Please, ensure that _ALL_ b18 binaries have been removed.

Please, research your question via the Searchable Mail Archives first.
http://www.cygnus.com/ml/gnu-win32          (Searchable Mail Archives)

Check out these great gnu-win32 related sites:
ftp://ftp.cygnus.com/pub/gnu-win32/latest/                  (ftp site)
http://www.cygnus.com/pubs/gnupro/                    (Comercial Page)
http://www.cygnus.com/misc/gnu-win32/                   (Project Page)
                                            (Cygwin32 Porting Project)
http://www.lexa.ru/sos                               (Sergey Okhapkin)
ftp://www.lexa.ru/pub/domestic/sos/                (Sergey's ftp site)
http://www.fu.is.saga-u.ac.jp/~colin/gcc.html (Colin Peters - Mingw32)
http://www.xraylith.wisc.edu/~khan/software/gnu-win32/    (Mumit Khan)
ftp://ftp.hksys.com/pub/mirrors/EGCS-Win32/   (Jeremy Bettis - mirror)
http://gnu-win32.paranoia.ru                   (Chuck Bogorad's ports)
                                        (GNU-Win32 Bash Configuration)
http://www.parallax.co.uk/~andyp/index_text.html  (Andy Piper - ports)
http://www.tiac.net/users/cgf     (Christopher Faylor - package ports)
                                               (Package Porting Notes)
                                                       (German mirror)
http://www.dol.ru/users/valtul      (Valery Tulnikov - software ports)
ftp://ftp.cs.nyu.edu/pub/local/fox/cygwin32 (David fox - RPM packages)
http://www.itribe.net/virtunix/winhelp-man-pages/     (HTML Man Pages)
http://www.kedemel.demon.co.uk/                       (Darren's ports)
                               ("Ludovic Lange" <llange@capgemini.fr>)
http://www.skydancer.demon.co.uk/gnu-win32/      (UK mirror and ports)

Help for Win32 Beginners: 

DISCLAIMER: These links or links from these pages to other sites do
not constitute an endorsement of any entities, advertisers, products 
or services therein. I am not responsible for and do not control or 
monitor the content of these sites or the accuracy of information 
found therein.

-------------------- IMPORTANT UPGRADE NOTICE ------------------------
You should get the following to update your cygwinb19 package:

Sergey Okhapkin's coolview package which contains an updated 
cygwinb19.dll.  (Yes, even if you've already downloaded the b19.1 
update from the Cygnus Site).

Mumit Khan's compilation of EGCS for the cygwinb19.dll; especially if 
you're using the C++ compiler.  The current version of the compiler
comes with the tools has lots of problems that have been fixed with 
the EGCS version.  This is a drop-in replacement for the GCC toolset.

URL's are listed above.

Get your free @yahoo.com address at http://mail.yahoo.com

For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

More information about the Cygwin mailing list