From: "Paul Derbyshire" Newsgroups: comp.os.msdos.djgpp References: Subject: Re: Braindead linker? Lines: 13 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-ID: Date: Mon, 13 Apr 1998 05:07:05 GMT NNTP-Posting-Host: 206.172.244.227 NNTP-Posting-Date: Mon, 13 Apr 1998 01:07:05 EST Organization: Bell Solutions To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Worse, there appears to be an outright error in the G++ FAQ, which I just searched high and low for a solution to my template problems: "GNU ld (2.8 or later) ... will automatically remove duplicate instantiations of templates ..." ld 2.8.1 evidently does not. Use of rope in two .cc files leads to multiple definition link errors on a number of rope-related variables and functions, such as that list of Fibonacci numbers in a "max_len" array in ropeimpl.h.