[Centos] compat-gcc-7.3 on centos4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



 From my experience, rebuilding compat libs is not a good idea because 
they do not turn out as compat but rather for your current system.  I 
would recommend that you install the binary rpm.  If you want a pretty 
looking package (without redhat written all over it), try rpmrebuild.

John.

Marcello Mezzanotti wrote:

> Hello all, i need compat-libstdc++.so.2.8 and this lib comes with
> compat-libstdc++-7.3 and the last version i saw come with fc2, so i download
> compat-gcc-7.3-2.96.126.src.rpm from fc2 repos and rebuild.
> 
> i got this error, anyone could help me?
> 
> ng  -DHAVE_CONFIG_H    -I. -I../../gcc -I../../gcc/config
> -I../../gcc/../include ../../gcc/c-lex.c
> In file included from ../../gcc/c-lex.c:25:
> ../../gcc/rtl.h:107: warning: type of bit-field `code' is a GCC extension
> ../../gcc/rtl.h:110: warning: type of bit-field `mode' is a GCC extension
> In file included from ../../gcc/c-lex.c:26:
> ../../gcc/tree.h:130: warning: type of bit-field `code' is a GCC extension
> In file included from ../../gcc/c-lex.c:26:
> ../../gcc/tree.h:1116: warning: type of bit-field `mode' is a GCC extension
> ../../gcc/tree.h:1591: warning: type of bit-field `mode' is a GCC extension
> ../../gcc/tree.h:1617: warning: type of bit-field `built_in_class' is a GCC
> extension
> In file included from ../../gcc/c-lex.c:32:
> ../../gcc/c-parse.h:54: error: conflicting types for 'RETURN'
> ../../gcc/rtl.def:542: error: previous definition of 'RETURN' was here
> make[2]: *** [c-lex.o] Error 1
> make[2]: Leaving directory
> `/usr/src/redhat/BUILD/gcc-2.96-20000731/obj-i386-redhat-linux7/gcc'
> make[1]: *** [bootstrap-lean] Error 2
> make[1]: Leaving directory
> `/usr/src/redhat/BUILD/gcc-2.96-20000731/obj-i386-redhat-linux7/gcc'
> make: *** [bootstrap-lean] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.12675 (%build)
> 
> 
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.12675 (%build)
> [root@plutao SPECS]#
> 
> thanks
> marcello
> 
> 
> 
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxxx
> http://lists.caosity.org/mailman/listinfo/centos
> 
> 
> 


-- 
John Newbigin
Computer Systems Officer
Faculty of Information and Communication Technologies
Swinburne University of Technology
Melbourne, Australia
http://www.ict.swin.edu.au/staff/jnewbigin


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux