Suse Linux 6.2: gpp
Von: , Frage gestellt am Fr, 30. Jun 2000
Hallo,
Ich habe folgendes Problem: Ich wollte eigentlich nur mal den gpp-Compiler
testen. Dazu habe ich folgendes kleines Hello-World-Programm geschrieben:
------------------------------------------------
#include <iostream.h>
void main()
{
cout<<"dies ist ein Test\n";
}
------------------------------------------------
Dies erzeugte mir folgende Fehler:
------------------------------------------------
max@terra:~/gcctest > g++ test.cpp In file included from /usr/lib/g++-include/iostream.h:31, from test.cpp:1: /usr/lib/g++-include/streambuf.h:403: warning: invalid type `void *' for default argument to `ios *' In file included from test.cpp:1: /usr/lib/g++-include/iostream.h:50: warning: invalid type `void *' for default argument to `ostream *' /usr/lib/g++-include/iostream.h:123: warning: invalid type `void *' for default argument to `ostream *' /usr/lib/g++-include/iostream.h:230: warning: invalid type `void *' for default argument to `ostream *' /usr/i486-linux/bin/ld: cannot open crtbegin.o: Datei oder Verzeichnis nicht gefunden
------------------------------------------------
Installierte Pakete:
gcc, gccfront, gpp, libc, libgpp, gppshare
Linux:
SuSE Linux 6.2
Hat vielleicht einer von euch ne Idee woran es liegen koennte?
Vielen Dank im Voraus,
Max
