Hi,
  In RedHat8.0, the gcc package version is 3.2-7.
  I installed gcc source package from the CDs, and I found it includes lots
patches.
  I decompressed the gcc-3.2-20020903.tar.bz2 and tried to rebuild the gcc
by using command below.
        #./configure --prefix=/gcc
        #make
  But I failed during "make", the message shows below.
  ********* error msg  start *********
In file included from locale.cc:406:
/usr/src/redhat/SOURCES/gcc-3.2-20020903/i686-pc-linux-gnu/libstdc++-v3/incl
ude/i686-pc-linux-gnu/bits/ctype_noninline.h: In
   static member function `static const short unsigned int*
   std::ctype<char>::classic_table()':
/usr/src/redhat/SOURCES/gcc-3.2-20020903/i686-pc-linux-gnu/libstdc++-v3/incl
ude/i686-pc-linux-gnu/bits/ctype_noninline.h:45: `
   __ctype_b' undeclared (first use this function)
/usr/src/redhat/SOURCES/gcc-3.2-20020903/i686-pc-linux-gnu/libstdc++-v3/incl
ude/i686-pc-linux-gnu/bits/ctype_noninline.h:45: (Each
   undeclared identifier is reported only once for each function it appears
   in.)
/usr/src/redhat/SOURCES/gcc-3.2-20020903/i686-pc-linux-gnu/libstdc++-v3/incl
ude/i686-pc-linux-gnu/bits/ctype_noninline.h: In
   constructor `std::ctype<char>::ctype(int*, const short unsigned int*,
bool,
   unsigned int)':
/usr/src/redhat/SOURCES/gcc-3.2-20020903/i686-pc-linux-gnu/libstdc++-v3/incl
ude/i686-pc-linux-gnu/bits/ctype_noninline.h:61: `
   __ctype_toupper' undeclared (first use this function)
/usr/src/redhat/SOURCES/gcc-3.2-20020903/i686-pc-linux-gnu/libstdc++-v3/incl
ude/i686-pc-linux-gnu/bits/ctype_noninline.h:61: `
   __ctype_tolower' undeclared (first use this function)
make[3]: *** [locale.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive-am] Error 2
make: *** [all-target-libstdc++-v3] Error 2
  ********* error msg  end *********
I also tried to rebuild after patching all the patch files, but it fails
again in the same point.
Any idea??  Thanks in advance.
Best Regards,
             Joseph

-----------------------------------------------------------------
< ¨C¤Ñ³£ Yahoo!©_¼¯ >  www.yahoo.com.tw



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to