delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/06/23/21:59:55

Subject: iostream unresolved externals
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Thu, 23 Jun 94 19:08:09 MDT
From: "David D. Jenkins" <ddjenkin AT acs DOT ucalgary DOT ca>

-----BEGIN PGP SIGNED MESSAGE-----

Please forgive me; I know this is a FAQ, since I just looked in
the djgpp.faq file and saw it there, but I have been getting
unresolved externals pointing to the various members of the
iostream classes.  I have been linking like this:

gcc -o myprog -lgpp -lgpl myprog.cc

and still not getting the iostreams library linked.  In
desperation, I downloaded the libgpl source code and compiled it,
and still it would not work.  I noticed that the dosmake.bat file
resulted in two new libraries, libio.a and libiostr.a, neither of
which would find the externals, and that the newly-compiled
version of libgpl.a was slightly smaller than the out-of-the-box
version.

Obviously I am doing something very stupid, and humbly request
help in correcting my mistakes.

-----BEGIN PGP SIGNATURE-----
Version: 2.3a

iQCVAgUBLgox73GS1O0gKUQ5AQH9iQP+J6ovcltqb3nr92ncOetENQ632ATWrVMj
IF1GBHovQKUiS6OtnWqbQSz148lGRRPxqbTlfC6v7GOGlXNuUf66mbHn7g6KVbFh
3q9U54fhlYagmn/F/hNFGgrNdNBpGclGwkYNLidMTnr3S/C/3vldgZZVZK4zXVQw
Yuzqx+U6wbs=
=/pnq
-----END PGP SIGNATURE-----

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019