X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Date: Tue, 2 Apr 2002 08:37:12 +0300 (WET) From: Andris Pavenis X-Sender: pavenis AT ieva06 To: deckerben Cc: djgpp AT delorie DOT com Subject: Re: making dxe2gen with clio.rice.edu binaries -or- "undefined reference to 'operator'"? In-Reply-To: <3ca78d87$0$364$9b622d9e@news.freenet.de> 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, 1 Apr 2002, deckerben wrote: > Has anyone successfuly compiled dxe2gen using the DJGPP 2.0.4 binaries on > Windows 2000? (if so, I would like to have a download site ;-) > I think there could be a small conflict here... > > The source code compiles fine. Object files are created without a problem, > which means the basic code follows the rules and all the needed > headers/defines exist. > > But when the makefile tries to link the executable together, I immediately > the following error sequence: > > gcc -s -o dxe2gen.exe dxe2gen.o -lstdcx > dxe2gen.o(.text+0xc80):dxe2gen.cpp: undefined reference to `operator > new[](unsigned long)' I guess You're trying to build dxe2gen from djlsr203.zip with gcc-3.0.X. Link it with either of libstdcxx.a or libsupcxx.a (inside gpp304b.zip) and all should work. Andris