From: "Clint Allen" Subject: Problem making Lib3D demos Newsgroups: comp.os.msdos.djgpp Message-ID: <01bdc1c4$61606520$ea0437a6@busterbrown> Lines: 42 Date: Fri, 07 Aug 1998 05:28:48 GMT NNTP-Posting-Host: 166.55.4.234 NNTP-Posting-Date: Fri, 07 Aug 1998 05:28:48 GMT Organization: MCI2000 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I've compiled the library & primitive library for lib3d, but I can't get the demos to compile. In particular, the compilation breaks down on "testobj.cc". It gives: make.exe[1]: *** No rule to make target `c:/djgpp/lang/cxx/std/new.h', needed by `testobj.o'. Stop. Now I've looked around and found the "new.h" file in "c:\djgpp\lib\gcc-lib\djgpp\2.81\include". There is also a "new" file with no extension. I tried copying them to the "lang\cxx\std" directory, which is where "testobj.cc" expects to find them. It then gives me more errors. Here is a sample: c:/djgpp/lib/gcc-lib/djgpp/2.81/include/exception:17: conflicts with new declaration with C++ linkage c:/djgpp/include/math.h:79: previous declaration of `exception::exception(const struct exception &)' with C linkage c:/djgpp/lib/gcc-lib/djgpp/2.81/include/exception:20: conflicts with new declaration with C++ linkage c:/djgpp/include/math.h:79: previous declaration of `struct exception & exception::operator =(const struct exception &)' with C linkage c:/djgpp/lib/gcc-lib/djgpp/2.81/include/exception:20: conflicts with new declaration with C++ linkage cc1plus.exe: warnings being treated as errors c:/djgpp/lib/gcc-lib/djgpp/2.81/include/exception: In method `bad_exception::bad_exception()': c:/djgpp/lib/gcc-lib/djgpp/2.81/include/exception:17: warning: can't inline call to `exception::exception()' c:/djgpp/lib/gcc-lib/djgpp/2.81/include/exception:24: warning: called from here c:/djgpp/lib/gcc-lib/djgpp/2.81/include/exception:18: warning: can't inline call to `exception::~exception()' c:/djgpp/lib/gcc-lib/djgpp/2.81/include/exception:24: warning: called from here make.exe[1]: *** [testobj.o] Error 1 make.exe[1]: Leaving directory `c:/djgpp/contrib/lib3d19/demos' make.exe: *** [demos] Error 2 Does anyone have any idea what's going on here? Any help will be appreciated.