This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problems compiing with g++ / c++
- From: "Anthony R. Mattke" <tonhe at adelphia dot net>
- To: gcc-help at gcc dot gnu dot org
- Date: 17 Mar 2003 20:51:12 -0500
- Subject: Problems compiing with g++ / c++
- Organization:
I have a older slack 8 install on my desktop that has been giving me
trouble for a couple months.
Neithier c++ or g++ can seem to find their own headers anymore in
/usr/include/g++-3 Does anyone have any clue why this would be ?
Here is a partial output from a failed build of mozilla from last
night..
Thanks in advance for the help.
g++ -o TestCOMPtr.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI
-I./../ds
-I./services -I../../dist/include/string -I../../dist/include/xpcom
-I../../dist/include -I/root/mozilla/dist/include/nspr
-I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti
-fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -pedantic
-Wno-long-long -pthread -pipe -DDEBUG -D_DEBUG -DDEBUG_root -DTRACING
-g -fno-inline -I/usr/X11R6/include -DMOZILLA_CLIENT -include
../../mozilla-config.h -Wp,-MD,.deps/TestCOMPtr.pp TestCOMPtr.cpp
TestCOMPtr.cpp:39: iostream.h: No such file or directory
TestCOMPtr.cpp: In method `test_message::test_message()':
TestCOMPtr.cpp:104: `cout' undeclared (first use this function)
TestCOMPtr.cpp:104: (Each undeclared identifier is reported only once
TestCOMPtr.cpp:104: for each function it appears in.)
TestCOMPtr.cpp:104: `endl' undeclared (first use this function)
make[3]: *** [TestCOMPtr.o] Error 1
make[3]: Leaving directory `/server/root/mozilla/xpcom/tests'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/server/root/mozilla/xpcom'
make[1]: *** [tier_2] Error 2
make[1]: Leaving directory `/server/root/mozilla'
make: *** [default] Error 2
--
Anthony R. Mattke <tonhe at adelphia dot net>