delorie.com/archives/browse.cgi | search |
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 <pavenis AT lanet DOT lv> |
X-Sender: | pavenis AT ieva06 |
To: | deckerben <deckerben AT freenet DOT de> |
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: | <Pine.A41.4.05.10204020835350.25844-100000@ieva06> |
MIME-Version: | 1.0 |
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 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |