Probleme beim kompilieren

Post Reply
Message
Author
Joscha Arenz

Probleme beim kompilieren

#1 Post by Joscha Arenz »

hi,
ich hab seit einiger zeit probleme mit dem kompilieren von differsen Programmen (Maelstrom, lyx, ...) die anscheinend alle die anscheinend alle die selbe Ursache haben.

Maelstrom:
----
c++ -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.1\" -I. -I. -g -O2 -g -O2 -I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/local/games/Maelstrom\" -c snd2wav.cpp
snd2wav.cpp: In function `int main (int, char **)':
snd2wav.cpp:42: `strcmp' undeclared (first use this function)
snd2wav.cpp:42: (Each undeclared identifier is reported only once for
each function it appears in.)
make<font size="1">: *** [snd2wav.o] Fehler 1
make<font size="1">: Verlassen des Verzeichnisses Verzeichnis >>/home/joscha/Maelstrom-3.0.1/maclib<<
make: *** [all-recursive] Fehler 1
--

lyx (die ist ziemlich lang ich poste nur mal den anfang):
----
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I/usr/X11R6/include -g -O2 -fhonor-std -c formula.C -o formula.o
In file included from formula.C:20:
/usr/include/g++-3/sstream:49: parse error before `&'
/usr/include/g++-3/sstream:57: semicolon missing after declaration of
`std::stringbuf'
/usr/include/g++-3/sstream:57: parse error at null character
/usr/include/g++-3/sstream: In method `std::stringbuf::stringbuf
(int)':
/usr/include/g++-3/sstream:45: class `std::stringbuf' does not have any
field named `buf'
/usr/include/g++-3/sstream:45: class `std::stringbuf' does not have any
field named `mode'
/usr/include/g++-3/sstream:46: class `std::stringbuf' does not have any
field named `rpos'
/usr/include/g++-3/sstream:46: class `std::stringbuf' does not have any
--


könnte es sein das da irgendwelche includefiles (srings?) nicht richtig eingebunden sind? Würde mich freuen wenn mir jemand helfen könnte!

und sorry falls das hier das falsche forum ist, wusst nicht genau ob ichs in Programmieung oder linux posten sollte....

Gruss
Joscha Arenz

Joscha Arenz

Re: Probleme beim kompilieren

#2 Post by Joscha Arenz »

achso was ich vergas:
Bei dem Sytem handelt es sich um ein Redhat7 und die Probleme sind unabhängig vom verwendeten Conmpiler (c++ / g++ falls das verschiedene sind)..

Post Reply