Date: Mon, 5 Nov 2001 13:38:11 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Igor Bujna cc: djgpp Subject: Re: GPP problem In-Reply-To: <3BE67117.5020203@maxi-tip.cz> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 5 Nov 2001, Igor Bujna wrote: > Hi, > i have this c++ example file(o.cc): > #include > int main() > { > cout << "Well, hi there.\n"; > return 0; > } > When i compile this(gcc o.cc -lstdcxx) i get this errors. > Where is problem? > Thank you > x:/djgpp/lib/libstdcxx.a(iostream.o)(.text+0x1d50):iostream.cc: > undefined reference to `__rtti_class' What version of GCC is that? If it's 3.0.2, you are using incorrect (old) version of libstdcxx.a. The correct one is in the directory x:/djgpp/lib/gcc-lib/djgpp/3.02/libstdcxx.a.