QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1106|回复: 0

ViewML的编译问题(RedHat 9.0)

[复制链接]
发表于 2005-10-9 15:10:36 | 显示全部楼层 |阅读模式
ViewML在RedHat9.0下如何编译?
请教?
我这里编译出来一堆错误,

/usr/include/c++/3.2.1/cmath: In function `float std::acos(float)':
/usr/include/c++/3.2.1/cmath:99: `::acosf' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: At global scope:
/usr/include/c++/3.2.1/cmath:105: `acos' not declared
/usr/include/c++/3.2.1/cmath: In function `long double std::acos(long
double)':
/usr/include/c++/3.2.1/cmath:112: `::acos' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: At global scope:
/usr/include/c++/3.2.1/cmath:115: `asin' not declared
/usr/include/c++/3.2.1/cmath: In function `float std::asin(float)':
/usr/include/c++/3.2.1/cmath:119: `::asinf' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: In function `long double std::asin(long
double)':
/usr/include/c++/3.2.1/cmath:130: `::asin' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: At global scope:
/usr/include/c++/3.2.1/cmath:133: `atan' not declared
/usr/include/c++/3.2.1/cmath: In function `float std::atan(float)':
/usr/include/c++/3.2.1/cmath:137: `::atanf' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: In function `long double std::atan(long
double)':
/usr/include/c++/3.2.1/cmath:148: `::atan' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: At global scope:
/usr/include/c++/3.2.1/cmath:151: `atan2' not declared
/usr/include/c++/3.2.1/cmath: In function `float std::atan2(float,
float)':
/usr/include/c++/3.2.1/cmath:155: `::atan2f' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: In function `long double std::atan2(long
double,
   long double)':
/usr/include/c++/3.2.1/cmath:168: `::atan2' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: At global scope:
/usr/include/c++/3.2.1/cmath:171: `ceil' not declared
/usr/include/c++/3.2.1/cmath: In function `float std::ceil(float)':
/usr/include/c++/3.2.1/cmath:175: `::ceilf' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: In function `long double std::ceil(long
double)':
/usr/include/c++/3.2.1/cmath:186: `::ceil' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: At global scope:
/usr/include/c++/3.2.1/cmath:189: `cos' not declared
/usr/include/c++/3.2.1/cmath:199: `cosh' not declared
/usr/include/c++/3.2.1/cmath: In function `float std::cosh(float)':
/usr/include/c++/3.2.1/cmath:203: `::coshf' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: In function `long double std::cosh(long
double)':
/usr/include/c++/3.2.1/cmath:214: `::cosh' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: At global scope:
/usr/include/c++/3.2.1/cmath:217: `exp' not declared
/usr/include/c++/3.2.1/cmath: In function `float std::exp(float)':
/usr/include/c++/3.2.1/cmath:221: `::expf' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: In function `long double std::exp(long
double)':
/usr/include/c++/3.2.1/cmath:232: `::exp' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: At global scope:
/usr/include/c++/3.2.1/cmath:235: `fabs' not declared
/usr/include/c++/3.2.1/cmath:245: `floor' not declared
/usr/include/c++/3.2.1/cmath: In function `float std::floor(float)':
/usr/include/c++/3.2.1/cmath:249: `::floorf' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: In function `long double std::floor(long
   double)':
/usr/include/c++/3.2.1/cmath:260: `::floor' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: At global scope:
/usr/include/c++/3.2.1/cmath:263: `fmod' not declared
/usr/include/c++/3.2.1/cmath: In function `float std::fmod(float,
float)':
/usr/include/c++/3.2.1/cmath:267: `::fmodf' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: In function `long double std::fmod(long
double,
   long double)':
/usr/include/c++/3.2.1/cmath:280: `::fmod' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: At global scope:
/usr/include/c++/3.2.1/cmath:283: `frexp' not declared
/usr/include/c++/3.2.1/cmath: In function `float std::frexp(float,
int*)':
/usr/include/c++/3.2.1/cmath:287: `::frexpf' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: In function `long double std::frexp(long
double,
   int*)':
/usr/include/c++/3.2.1/cmath:299: `::frexp' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: At global scope:
/usr/include/c++/3.2.1/cmath:302: `ldexp' not declared
/usr/include/c++/3.2.1/cmath: In function `float std::ldexp(float,
int)':
/usr/include/c++/3.2.1/cmath:306: `::ldexpf' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: In function `long double std::ldexp(long
double,
   int)':
/usr/include/c++/3.2.1/cmath:319: `::ldexp' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: At global scope:
/usr/include/c++/3.2.1/cmath:322: `log' not declared
/usr/include/c++/3.2.1/cmath: In function `float std::log(float)':
/usr/include/c++/3.2.1/cmath:326: `::logf' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: In function `long double std::log(long
double)':
/usr/include/c++/3.2.1/cmath:337: `::log' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: At global scope:
/usr/include/c++/3.2.1/cmath:340: `log10' not declared
/usr/include/c++/3.2.1/cmath: In function `float std::log10(float)':
/usr/include/c++/3.2.1/cmath:344: `::log10f' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: In function `long double std::log10(long
   double)':
/usr/include/c++/3.2.1/cmath:355: `::log10' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: At global scope:
/usr/include/c++/3.2.1/cmath:358: `modf' not declared
/usr/include/c++/3.2.1/cmath: In function `float std::modf(float,
float*)':
/usr/include/c++/3.2.1/cmath:362: `::modff' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: In function `long double std::modf(long
double,
   long double*)':
/usr/include/c++/3.2.1/cmath:382: `::modf' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: At global scope:
/usr/include/c++/3.2.1/cmath:397: `pow' not declared
/usr/include/c++/3.2.1/cmath: In function `float std::pow(float,
float)':
/usr/include/c++/3.2.1/cmath:401: `::powf' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: In function `long double std::pow(long
double,
   long double)':
/usr/include/c++/3.2.1/cmath:414: `::pow' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: In function `double std::pow(double,
int)':
/usr/include/c++/3.2.1/cmath:419: `double std::pow(double, int)' used
prior to
   declaration
/usr/include/c++/3.2.1/cmath: At global scope:
/usr/include/c++/3.2.1/cmath:429: `sin' not declared
/usr/include/c++/3.2.1/cmath:439: `sinh' not declared
/usr/include/c++/3.2.1/cmath: In function `float std::sinh(float)':
/usr/include/c++/3.2.1/cmath:443: `::sinhf' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: In function `long double std::sinh(long
double)':
/usr/include/c++/3.2.1/cmath:454: `::sinh' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: At global scope:
/usr/include/c++/3.2.1/cmath:457: `sqrt' not declared
/usr/include/c++/3.2.1/cmath:467: `tan' not declared
/usr/include/c++/3.2.1/cmath: In function `float std::tan(float)':
/usr/include/c++/3.2.1/cmath:471: `::tanf' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: In function `long double std::tan(long
double)':
/usr/include/c++/3.2.1/cmath:482: `::tan' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: At global scope:
/usr/include/c++/3.2.1/cmath:485: `tanh' not declared
/usr/include/c++/3.2.1/cmath: In function `float std::tanh(float)':
/usr/include/c++/3.2.1/cmath:489: `::tanhf' undeclared (first use here)
/usr/include/c++/3.2.1/cmath: In function `long double std::tanh(long
double)':
/usr/include/c++/3.2.1/cmath:500: `::tanh' undeclared (first use here)
In file included from ../kdecore/kurl.h:31,
                 from html.cpp:24:
fltk/qstring.h: At global scope:
fltk/qstring.h:40: parse error before `{' token
fltk/qstring.h:45: parse error before `int'
fltk/qstring.h:46: parse error before `const'
fltk/qstring.h:46: warning: ISO C++ forbids declaration of `m_bNull'
with no
   type
fltk/qstring.h:46: parse error before `}' token
fltk/qstring.h:47: parse error before `const'
fltk/qstring.h:47: warning: ISO C++ forbids declaration of `m_bNull'
with no
   type
fltk/qstring.h:47: redefinition of `int m_bNull'
fltk/qstring.h:46: `int m_bNull' previously defined here
fltk/qstring.h:47: parse error before `}' token
fltk/qstring.h:48: parse error before `const'
fltk/qstring.h:48: warning: ISO C++ forbids declaration of `m_bNull'
with no
   type

还有几十行类似的错误,不知道怎么解决?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-27 06:56 , Processed in 0.078066 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表