[Kroupware] Problem compiling gcc package from kolab

Carlos A. Rega kroupware@mail.kde.org
Tue, 21 Jan 2003 15:06:38 +0000


Hi, I am not sure if I am sending this to the right address, but I couldn't 
find any other that looked suitable.

I am trying to test kolab, so I followed the instructuctions from 
http://kroupware.kde.org/howto-kolab.html
as explained there I downloaded everything from 
ftp://master.kde.org/pub/kde/unstable/server/kolab/kolab-current/
and followed the steps indicated there, everything works fine, up to the 
creation of the gcc rpm, which aborts during compilation with the following 
message:

/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 
../../../../libstdc++-v3/src/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 ../../../../libstdc++-v3/src/locale.cc -o locale.o
In file included from ../../../../libstdc++-v3/src/locale.cc:406:
/kolab/RPM/TMP/gcc-3.2/obj/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h: 
In
   static member function `static const short unsigned int* 
   std::ctype<char>::classic_table()':
/kolab/RPM/TMP/gcc-3.2/obj/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h:45: 
`
   __ctype_b' undeclared (first use this function)
/kolab/RPM/TMP/gcc-3.2/obj/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h:45: 
(Each
   undeclared identifier is reported only once for each function it appears 
   in.)
/kolab/RPM/TMP/gcc-3.2/obj/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h: 
In
   constructor `std::ctype<char>::ctype(int*, const short unsigned int*, bool, 
   unsigned int)':
/kolab/RPM/TMP/gcc-3.2/obj/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h:61: 
`
   __ctype_toupper' undeclared (first use this function)
/kolab/RPM/TMP/gcc-3.2/obj/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h:61: 
`
   __ctype_tolower' undeclared (first use this function)
make[4]: *** [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.83813 (%build)


RPM build errors:
    Bad exit status from /kolab/RPM/TMP/rpm-tmp.83813 (%build)

looking in google, it looks like it is a problem with the version of the 
headers used, but I could not pinpoint it in this case, has anybody had a 
similar problem? I am using a Red Hat 8.0 fairly up to date.

Thanks

Carlos