delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/30/00:20:24

From: Goh Yong Kwang <s6606555 AT mercury DOT np DOT ac DOT sg>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Linker error
Date: Wed, 30 Sep 1998 12:00:26 +0800
Organization: Ngee Ann Polytechnic, Singapore
Lines: 41
Message-ID: <Pine.SOL.3.91.980930114519.21245C-100000@mercury>
References: <360D4DF7 DOT AF97D918 AT galaxycorp DOT com>
NNTP-Posting-Host: mercury.np.ac.sg
Mime-Version: 1.0
NNTP-Posting-User: s6606555
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In-Reply-To: <360D4DF7 DOT AF97D918 AT galaxycorp DOT com> 

I guess you're trying to compile and link a C++ program. Try checking 
whether you've a file named "libstdcx.a" in "c:\djgpp\lib". If you find a 
file called "libstdcxx.a" try renaming it to "libstdcx.a" and that may 
solve the problem.

Note that if you want to compile and link C++ program, you must download 
and install the lgpp package. This package contains stuffs for C++ such 
as iostream, fstream and the STL, just to name a few.

If you've used DJGPP for compiling and linking plain C programs before 
without problems, then maybe you've not installed the lgpp package. 

I don't know the name of the lgpp package exactly though. I think it goes 
something like lgpp###.zip where ### denotes the version number. Ask 
around if you're not sure.

That's the best I can help you.

----------------------------------
Many regards,
Goh Yong Kwang
96606555
3K
----------------------------------

On Sat, 26 Sep 1998, ajschrotenboer wrote:

> I can compile and link .c files, but cannot .cc or .cpp.
> 
> I can compile .cc and .cpp, but when I go to make (I'm using RHIDE 1.4)
> I get a linker error.
> 
> Error: c:/djgpp/bin/ld.exe: cannot open -lstdcx: No such file or
> directory (ENOENT)
> 
> What's wrong??????
> 
> 
> 
> 
> 

- Raw text -


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