Date: Mon, 18 Nov 1996 08:17:10 +0200 (IST) From: Eli Zaretskii To: Christian Mangold Cc: djgpp AT delorie DOT com Subject: Re: STL-example - Linking problem In-Reply-To: <328f421b.8751280@news.tuwien.ac.at> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 17 Nov 1996, Christian Mangold wrote: > gcc accum1.o -frepo -frtti -lgpp -o test > accum1.o: In function `main': > accum1.cc:14: undefined reference to `vector::vector(unsigned [snip] > Any advice to get this example run would be very welcome. Advice: read the DJGPP FAQ list. Section 8.7 there explains that you should either use gxx instead of gcc when linking C++ programs or append all the C++ libraries to the link command lines if you insist on using gcc. The latest version of the FAQ is available as v2/faq202b.zip from the same place you get DJGPP.