Ergebnis 1 bis 1 von 1

Thema: Probleme mit den include-Dateien der C++-Standardbibliothek

  1. #1

    Probleme mit den include-Dateien der C++-Standardbibliothek

    Moin,

    ich habe mir gestern proximodo runtergeladen. Beim kompilieren kamen die folgenden, netten Fehlermeldungen:
    Code:
    lukas@linux:/home/downloads/proximodo/src> make
    g++ -Wall -g -O2 -I/usr/local/lib/wx/include/gtk2-ansi-release-2.5 -I/usr/local/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWX_PRECOMP -DNO_GCC_PRAGMA -I/usr/local/lib/wx/include/gtk2-ansi-release-2.5 -I/usr/local/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWX_PRECOMP -DNO_GCC_PRAGMA -c -o configscreen.o configscreen.cpp
    In file included from /usr/include/errno.h:36,
                     from /usr/include/g++/cerrno:48,
                     from /usr/include/g++/bits/locale_facets.tcc:38,
                     from /usr/include/g++/locale:47,
                     from /usr/include/g++/bits/istream.tcc:37,
                     from /usr/include/g++/istream:768,
                     from /usr/include/g++/sstream:44,
                     from zlibbuffer.h:30,
                     from requestmanager.h:32,
                     from proxy.h:32,
                     from configscreen.cpp:38:
    /usr/include/bits/errno.h:38: error: syntax error before `)' token
    In file included from /usr/include/math.h:70,
                     from /usr/include/g++/cmath:51,
                     from /usr/include/g++/bits/locale_facets.tcc:41,
                     from /usr/include/g++/locale:47,
                     from /usr/include/g++/bits/istream.tcc:37,
                     from /usr/include/g++/istream:768,
                     from /usr/include/g++/sstream:44,
                     from zlibbuffer.h:30,
                     from requestmanager.h:32,
                     from proxy.h:32,
                     from configscreen.cpp:38:
    /usr/include/bits/mathcalls.h:179: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:179: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:182: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:182: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:185: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:185: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:193: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:196: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:202: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:205: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:218: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:218: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:225: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:225: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:231: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:235: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:283: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:283: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:285: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:285: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:310: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:310: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:314: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:314: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:347: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:351: error: syntax error before `)' token
    In file included from /usr/include/math.h:93,
                     from /usr/include/g++/cmath:51,
                     from /usr/include/g++/bits/locale_facets.tcc:41,
                     from /usr/include/g++/locale:47,
                     from /usr/include/g++/bits/istream.tcc:37,
                     from /usr/include/g++/istream:768,
                     from /usr/include/g++/sstream:44,
                     from zlibbuffer.h:30,
                     from requestmanager.h:32,
                     from proxy.h:32,
                     from configscreen.cpp:38:
    /usr/include/bits/mathcalls.h:179: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:179: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:182: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:182: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:185: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:185: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:193: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:196: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:202: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:205: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:218: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:218: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:225: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:225: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:231: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:235: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:283: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:283: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:285: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:285: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:310: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:310: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:314: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:314: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:347: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:351: error: syntax error before `)' token
    In file included from /usr/include/math.h:114,
                     from /usr/include/g++/cmath:51,
                     from /usr/include/g++/bits/locale_facets.tcc:41,
                     from /usr/include/g++/locale:47,
                     from /usr/include/g++/bits/istream.tcc:37,
                     from /usr/include/g++/istream:768,
                     from /usr/include/g++/sstream:44,
                     from zlibbuffer.h:30,
                     from requestmanager.h:32,
                     from proxy.h:32,
                     from configscreen.cpp:38:
    /usr/include/bits/mathcalls.h:179: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:179: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:182: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:182: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:185: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:185: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:193: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:196: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:202: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:205: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:218: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:218: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:225: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:225: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:231: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:235: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:283: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:283: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:285: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:285: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:310: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:310: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:314: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:314: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:347: error: syntax error before `)' token
    /usr/include/bits/mathcalls.h:351: error: syntax error before `)' token
    make: *** [configscreen.o] Fehler 1
    lukas@linux:/home/downloads/proximodo/src>
    Ich habe Suse Linux 9.2, die Version von g++ ist 3.3.4
    Weiß jemand, was da los ist?

    Edit:
    An der Datei liegt's nicht. Ich habe testweise ein Programm geschrieben, dass math.h includet, das arbeitet fehlerfrei.

    Geändert von Lukas (01.02.2005 um 15:30 Uhr)

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •