Hallo, jetzt habe ich dann doch nochmal ne Frage, wie üblich klappt es mit dem Kompilieren nicht. Ich hab eine eigentlich fehlerfreie *.C Datei die ich kompilieren möchte (unter Linux konnte ich sie bereits kompilieren) Wenn ich nun im Terminal den befehl: gcc <name der datei> -o <name> eingebe bekomme ich eine riesen Fehlermeldung, die ich nicht verstehe:
In file included from /usr/include/gcc/darwin/3.3/c++/debug/debug.h:248,
from /usr/include/gcc/darwin/3.3/c++/bits/stl_algobase.h:79,
from /usr/include/gcc/darwin/3.3/c++/memory:54,
from /usr/include/gcc/darwin/3.3/c++/string:48,
from /usr/include/gcc/darwin/3.3/c++/bits/locale_classes.h:47,
from /usr/include/gcc/darwin/3.3/c++/bits/ios_base.h:47,
from /usr/include/gcc/darwin/3.3/c++/ios:49,
from /usr/include/gcc/darwin/3.3/c++/ostream:45,
from /usr/include/gcc/darwin/3.3/c++/iostream:45,
from aufgabe4.C:1:
/usr/include/gcc/darwin/3.3/c++/cassert:48:20: assert.h: No such file or directory
In file included from /usr/include/gcc/darwin/3.3/c++/bits/locale_facets.tcc:41,
from /usr/include/gcc/darwin/3.3/c++/locale:47,
from /usr/include/gcc/darwin/3.3/c++/bits/ostream.tcc:37,
from /usr/include/gcc/darwin/3.3/c++/ostream:515,
from /usr/include/gcc/darwin/3.3/c++/iostream:45,
from aufgabe4.C:1:
/usr/include/gcc/darwin/3.3/c++/cmath: In function `long double std::acos(long
double)':
/usr/include/gcc/darwin/3.3/c++/cmath:109: error: `::acosl' undeclared (first
use here)
/usr/include/gcc/darwin/3.3/c++/cmath: In function `long double std::asin(long
double)':
/usr/include/gcc/darwin/3.3/c++/cmath:127: error: `::asinl' undeclared (first
use here)
/usr/include/gcc/darwin/3.3/c++/cmath: In function `long double std::atan(long
double)':
/usr/include/gcc/darwin/3.3/c++/cmath:145: error: `::atanl' undeclared (first
use here)
/usr/include/gcc/darwin/3.3/c++/cmath: In function `long double std::atan2(long
double, long double)':
/usr/include/gcc/darwin/3.3/c++/cmath:164: error: `::atan2l' undeclared (first
use here)
/usr/include/gcc/darwin/3.3/c++/cmath: In function `long double std::ceil(long
double)':
/usr/include/gcc/darwin/3.3/c++/cmath:183: error: `::ceill' undeclared (first
use here)
/usr/include/gcc/darwin/3.3/c++/cmath: In function `long double std::cosh(long
double)':
/usr/include/gcc/darwin/3.3/c++/cmath:211: error: `::coshl' undeclared (first
use here)
/usr/include/gcc/darwin/3.3/c++/cmath: In function `long double std::exp(long
double)':
/usr/include/gcc/darwin/3.3/c++/cmath:229: error: `::expl' undeclared (first
use here)
/usr/include/gcc/darwin/3.3/c++/cmath: In function `long double std::floor(long
double)':
/usr/include/gcc/darwin/3.3/c++/cmath:257: error: `::floorl' undeclared (first
use here)
/usr/include/gcc/darwin/3.3/c++/cmath: In function `long double std::fmod(long
double, long double)':
/usr/include/gcc/darwin/3.3/c++/cmath:276: error: `::fmodl' undeclared (first
use here)
/usr/include/gcc/darwin/3.3/c++/cmath: In function `long double std::frexp(long
double, int*)':
/usr/include/gcc/darwin/3.3/c++/cmath:295: error: `::frexpl' undeclared (first
use here)
/usr/include/gcc/darwin/3.3/c++/cmath: In function `long double std::ldexp(long
double, int)':
/usr/include/gcc/darwin/3.3/c++/cmath:315: error: `::ldexpl' undeclared (first
use here)
/usr/include/gcc/darwin/3.3/c++/cmath: In function `long double std::log(long
double)':
/usr/include/gcc/darwin/3.3/c++/cmath:334: error: `::logl' undeclared (first
use here)
/usr/include/gcc/darwin/3.3/c++/cmath: In function `long double std::log10(long
double)':
/usr/include/gcc/darwin/3.3/c++/cmath:352: error: `::log10l' undeclared (first
use here)
/usr/include/gcc/darwin/3.3/c++/cmath: In function `long double std::modf(long
double, long double*)':
/usr/include/gcc/darwin/3.3/c++/cmath:376: error: `::modfl' undeclared (first
use here)
/usr/include/gcc/darwin/3.3/c++/cmath: In function `long double std:
ow(long
double, long double)':
/usr/include/gcc/darwin/3.3/c++/cmath:410: error: `:
owl' undeclared (first
use here)
/usr/include/gcc/darwin/3.3/c++/cmath: In function `long double std::sinh(long
double)':
/usr/include/gcc/darwin/3.3/c++/cmath:451: error: `::sinhl' undeclared (first
use here)
/usr/include/gcc/darwin/3.3/c++/cmath: In function `long double std::tan(long
double)':
/usr/include/gcc/darwin/3.3/c++/cmath:479: error: `::tanl' undeclared (first
use here)
/usr/include/gcc/darwin/3.3/c++/cmath: In function `long double std::tanh(long
double)':
/usr/include/gcc/darwin/3.3/c++/cmath:497: error: `::tanhl' undeclared (first
use here)
Könnt ihr damit was anfangen?
Danke schon im Vorraus
mightymanyu