• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

immer dieser Fehler 2 ...

Da ich gerne immer etwas dazu lernen möchte, stell ich heute euch diese Frage:

Wenn ich etwas kompilieren will kommt nach dem Befehl make meist ein Fehler. Das ganze sieht dann so ähnlich aus:

Code:
\
then mv -f ".deps/fulltext_oo.Tpo" ".deps/fulltext_oo.Plo"; \
else rm -f ".deps/fulltext_oo.Tpo"; exit 1; \
fi
In file included from fulltext_oo.cpp:28:
fulltext_oo.h:27:24: kat_export.h: No such file or directory
In file included from fulltext_oo.cpp:28:
fulltext_oo.h:30: error: syntax error before `:' token
fulltext_oo.h:34: error: destructors must be member functions
fulltext_oo.h:34: error: virtual outside class declaration
fulltext_oo.h:35: error: virtual outside class declaration
fulltext_oo.h:37: error: syntax error before `private'
fulltext_oo.h:41: error: syntax error before `}' token
fulltext_oo.cpp:30: error: syntax error before `::' token
fulltext_oo.cpp:36: error: syntax error before `::' token
fulltext_oo.cpp:40: error: syntax error before `::' token
fulltext_oo.cpp:48: error: ISO C++ forbids declaration of `m_bDone' with no
   type
fulltext_oo.cpp:52: error: syntax error before `if'
fulltext_oo.cpp:58: error: syntax error before `if'
fulltext_oo.cpp:66: error: syntax error before `->' token
fulltext_oo.cpp:68: error: ISO C++ forbids declaration of `d' with no type
fulltext_oo.cpp:68: error: conflicting types for `int d'
fulltext_oo.cpp:64: error: previous declaration as `QString d'
fulltext_oo.cpp:68: error: request for member `replace' in `d', which is of
   non-aggregate type `int'
fulltext_oo.cpp:69: error: ISO C++ forbids declaration of `d' with no type
fulltext_oo.cpp:69: error: redefinition of `int d'
fulltext_oo.cpp:68: error: `int d' previously defined here
fulltext_oo.cpp:69: error: request for member `simplifyWhiteSpace' in `d',
   which is of non-aggregate type `int'
fulltext_oo.cpp:71: error: `data' was not declared in this scope
fulltext_oo.cpp:72: error: syntax error before `<<' token
fulltext_oo.cpp:73: error: syntax error before `<<' token
fulltext_oo.cpp:74: error: syntax error before `<<' token
fulltext_oo.cpp:76: error: ISO C++ forbids declaration of `kdDebug' with no
   type
fulltext_oo.cpp: In function `int kdDebug()':
fulltext_oo.cpp:76: error: syntax error before `<<' token
make[3]: *** [fulltext_oo.lo] Fehler 1
make[3]: Leaving directory `/home/master/downloads/programme/kat-0.5.1/src/libfulltext_oo'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/master/downloads/programme/kat-0.5.1/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/master/downloads/programme/kat-0.5.1'
make: *** [all] Fehler 2

Das gibts bei mir ziemlich oft. Liegt das daran, das ich 64 Bit benutze? Oder muss ich noch etwas zu dem Befehl ./configure noch etwas anderes als --enable-libsuffix=64 schreiben? Oder ist irgend was am Makefile falsch, was ich ändern könnte? Würde mich mal interessieren ...
 
A

Anonymous

Gast
lass mich raten: du hast mit gcc rumgespielt und versucht ne neue version draufzumachen, richtig? diese ganzen syntax errors kommen mir doch sehr komisch vor..... denke mal das liegt an gcc
 
ah das kann sein. Ich glaub ich hab mal gcc geupdatet, das stimmt ...

Sollte man denn dann nie gcc updaten? Oder woher soll ich wissen, wann die meisten Programmierer auf die neue Version umgestiegen sind?
 
Oben