[Kroupware] gcc compiling errors

Tobias Hadem kroupware@mail.kde.org
Tue, 21 Jan 2003 13:17:19 +0100


Hello,

after nearly 35 minutes compiling gcc i get the following errors:


<----snip---->
/bin/sh ../libtool --tag CXX --mode=compile 
/kolab/RPM/TMP/gcc-3.2/obj/gcc/xgcc -shared-libgcc 
-B/kolab/RPM/TMP/gcc-3.2/obj/gcc/ -nostdinc++ 
-L/kolab/RPM/TMP/gcc-3.2/obj/i686-pc-linux-gnu/libstdc++-v3/src 
-L/kolab/RPM/TMP/gcc-3.2/obj/i686-pc-linux-gnu/libstdc++-v3/src/.libs 
-B/kolab/i686-pc-linux-gnu/bin/ -B/kolab/i686-pc-linux-gnu/lib/ -isystem 
/kolab/i686-pc-linux-gnu/include -nostdinc++ 
-I/kolab/RPM/TMP/gcc-3.2/obj/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu 
-I/kolab/RPM/TMP/gcc-3.2/obj/i686-pc-linux-gnu/libstdc++-v3/include 
-I../../../../libstdc++-v3/libsupc++  -I../../../../libstdc++-v3/libmath 
    -g -O2 -D_GNU_SOURCE -fno-implicit-templates  -Wall -Wno-format -W 
-Wwrite-strings -Winline  -fdiagnostics-show-location=once 
-ffunction-sections -fdata-sections -g    -c c++locale.cc
/kolab/RPM/TMP/gcc-3.2/obj/gcc/xgcc -shared-libgcc 
-B/kolab/RPM/TMP/gcc-3.2/obj/gcc/ -nostdinc++ 
-L/kolab/RPM/TMP/gcc-3.2/obj/i686-pc-linux-gnu/libstdc++-v3/src 
-L/kolab/RPM/TMP/gcc-3.2/obj/i686-pc-linux-gnu/libstdc++-v3/src/.libs 
-B/kolab/i686-pc-linux-gnu/bin/ -B/kolab/i686-pc-linux-gnu/lib/ -isystem 
/kolab/i686-pc-linux-gnu/include -nostdinc++ 
-I/kolab/RPM/TMP/gcc-3.2/obj/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu 
-I/kolab/RPM/TMP/gcc-3.2/obj/i686-pc-linux-gnu/libstdc++-v3/include 
-I../../../../libstdc++-v3/libsupc++ -I../../../../libstdc++-v3/libmath 
-g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W 
-Wwrite-strings -Winline -fdiagnostics-show-location=once 
-ffunction-sections -fdata-sections -g -c c++locale.cc -o c++locale.o
c++locale.cc: In function `void std::__convert_to_v(const char*, _Tv&,
    std::_Ios_Iostate&, __locale_struct* const&, int) [with _Tv = long 
int]':
c++locale.cc:51: `__strtol_l' undeclared (first use this function)
c++locale.cc:51: (Each undeclared identifier is reported only once for each
    function it appears in.)
c++locale.cc: In function `void std::__convert_to_v(const char*, _Tv&,
    std::_Ios_Iostate&, __locale_struct* const&, int) [with _Tv = long 
unsigned
    int]':
c++locale.cc:69: `__strtoul_l' undeclared (first use this function)
c++locale.cc: In function `void std::__convert_to_v(const char*, _Tv&,
    std::_Ios_Iostate&, __locale_struct* const&, int) [with _Tv = long long
    int]':
c++locale.cc:87: `__strtoll_l' undeclared (first use this function)
c++locale.cc: In function `void std::__convert_to_v(const char*, _Tv&,
    std::_Ios_Iostate&, __locale_struct* const&, int) [with _Tv = long long
    unsigned int]':
c++locale.cc:106: `__strtoull_l' undeclared (first use this function)
c++locale.cc: In function `void std::__convert_to_v(const char*, _Tv&,
    std::_Ios_Iostate&, __locale_struct* const&, int) [with _Tv = float]':
c++locale.cc:124: `__strtof_l' undeclared (first use this function)
c++locale.cc: In function `void std::__convert_to_v(const char*, _Tv&,
    std::_Ios_Iostate&, __locale_struct* const&, int) [with _Tv = double]':
c++locale.cc:141: `__strtod_l' undeclared (first use this function)
c++locale.cc: In function `void std::__convert_to_v(const char*, _Tv&,
    std::_Ios_Iostate&, __locale_struct* const&, int) [with _Tv = long 
double]':
c++locale.cc:158: `__strtold_l' undeclared (first use this function)
c++locale.cc: In static member function `static void
    std::locale::facet::_S_create_c_locale(__locale_struct*&, const char*,
    __locale_struct*)':
c++locale.cc:170: `__newlocale' undeclared (first use this function)
c++locale.cc: In static member function `static void
    std::locale::facet::_S_destroy_c_locale(__locale_struct*&)':
c++locale.cc:180: `__freelocale' undeclared (first use this function)
c++locale.cc: In static member function `static __locale_struct*
    std::locale::facet::_S_clone_c_locale(__locale_struct*&)':
c++locale.cc:184: `__duplocale' undeclared (first use this function)
make[4]: *** [c++locale.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive-am] Error 2
make[1]: *** [all-target-libstdc++-v3] Error 2
make: *** [bootstrap-lean] Error 2
error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.74649 (%build)


RPM build errors:
     Bad exit status from /kolab/RPM/TMP/rpm-tmp.74649 (%build)
kolab@kolab$
<----snap---->


Before compiling gcc i have installed binutils, my Debian 3.0 runs gcc 
3.2.1.

Everything else from the whole Kolab-Package is no problem, except gcc.

Do i have to modify my Debian, like installing an older version of gcc 
or installing any other software?


Thanks for helping,


Regards
-- 
Tobias Hadem			th@lt-ec.de
LT-ec service & solutions 	http://www.lt-ec.de
fon +49 (0)911 97791355		fax +49 (0)911 97791358
Benno-Strauss-Strasse 5		D-90763 Fürth/Bay.

LinuxTag - Europes largest expo and conference
vom 10.-13.7.2003 im Messe- und Kongresszentrum Karlsruhe