X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "deckerben" Newsgroups: comp.os.msdos.djgpp Subject: making dxe2gen with clio.rice.edu binaries -or- "undefined reference to 'operator'"? Date: Mon, 1 Apr 2002 00:43:54 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Lines: 51 Message-ID: <3ca78d87$0$364$9b622d9e@news.freenet.de> NNTP-Posting-Host: 213.7.9.84 X-Trace: 1017613704 news.freenet.de 364 213.7.9.84 X-Complaints-To: abuse AT freenet DOT de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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)' dxe2gen.o(.text+0xcbf):dxe2gen.cpp: undefined reference to `operator new[](unsigned long)' dxe2gen.o(.text+0xd05):dxe2gen.cpp: undefined reference to `operator new[](unsigned long)' dxe2gen.o(.text+0xd43):dxe2gen.cpp: undefined reference to `operator new[](unsigned long)' dxe2gen.o(.text+0x10b3):dxe2gen.cpp: undefined reference to `operator delete[](void*)' dxe2gen.o(.text+0x10cf):dxe2gen.cpp: undefined reference to `operator delete[](void*)' dxe2gen.o(.text+0x10eb):dxe2gen.cpp: undefined reference to `operator delete[](void*)' dxe2gen.o(.text+0x1107):dxe2gen.cpp: undefined reference to `operator delete[](void*)' dxe2gen.o(.text+0x186e):dxe2gen.cpp: undefined reference to `operator new[](unsigned long)' dxe2gen.o(.text+0x1a13):dxe2gen.cpp: undefined reference to `operator delete[](void*)' dxe2gen.o(.text+0x1aff):dxe2gen.cpp: undefined reference to `operator delete[](void*)' dxe2gen.o(.text+0x1f0b):dxe2gen.cpp: undefined reference to `operator new[](unsigned long)' Now I have seen this error ONCE before, when I tried to compile the Coin DIME (DXF) library. It officially supports DJGPP. But the author could not explain this problem, either. The plot thickens: I looked at all the "dxe2gen" source code and the token "operator" isn't even anywhere in the code! Does this mean one of the clio.rice.edu libraries might be messed up? Or maybe a known function from the source code is being called in an incorrect fassion? curious. Ben