LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-02-2011, 07:29 AM   #1
mukund91
LQ Newbie
 
Registered: Jun 2011
Distribution: linux mint 10 julia
Posts: 10

Rep: Reputation: Disabled
Installing gcc 3.2 make errors


Hi,

I am trying to install gcc 3.2 on linux mint 10 julia . I have gcc 4.4.5 installed already. I am getting errors during the 'make 'stage.
I did the following after downloading gcc-3.2.tar.gz

Code:
tar xvf gcc-3.2.tar.gz
mkdir build-gcc 
cd build-gcc
Code:
../gcc-3.2/configure --prefix=/usr/gcc32 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++
Code:
make

This is what i got when i issued 'make '. Please help.


Code:
linuxmint build-gcc # make
make[1]: Entering directory `/opt/build-gcc/libiberty'
if [ x"-fpic" != x ] && [ ! -d pic ]; then \
	  mkdir pic; \
	else true; fi
touch stamp-picdir
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/regex.c -o pic/regex.o; \
	else true; fi
In file included from ../../gcc-3.2/libiberty/../include/xregex.h:26,
                 from ../../gcc-3.2/libiberty/regex.c:195:
../../gcc-3.2/libiberty/../include/xregex2.h:548: warning: ISO C90 does not support ‘static’ or type qualifiers in parameter array declarators
In file included from ../../gcc-3.2/libiberty/regex.c:649:
../../gcc-3.2/libiberty/regex.c: In function ‘byte_compile_range’:
../../gcc-3.2/libiberty/regex.c:4602: warning: signed and unsigned type in conditional expression
../../gcc-3.2/libiberty/regex.c:4612: warning: signed and unsigned type in conditional expression
../../gcc-3.2/libiberty/regex.c:4612: warning: signed and unsigned type in conditional expression
../../gcc-3.2/libiberty/regex.c: At top level:
../../gcc-3.2/libiberty/regex.c:1428: warning: traditional C rejects string constant concatenation
../../gcc-3.2/libiberty/regex.c: In function ‘xregcomp’:
../../gcc-3.2/libiberty/regex.c:8099: warning: signed and unsigned type in conditional expression
../../gcc-3.2/libiberty/regex.c: In function ‘xregerror’:
../../gcc-3.2/libiberty/regex.c:8234: warning: unused parameter ‘preg’
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/regex.c
In file included from ../../gcc-3.2/libiberty/../include/xregex.h:26,
                 from ../../gcc-3.2/libiberty/regex.c:195:
../../gcc-3.2/libiberty/../include/xregex2.h:548: warning: ISO C90 does not support ‘static’ or type qualifiers in parameter array declarators
In file included from ../../gcc-3.2/libiberty/regex.c:649:
../../gcc-3.2/libiberty/regex.c: In function ‘byte_compile_range’:
../../gcc-3.2/libiberty/regex.c:4602: warning: signed and unsigned type in conditional expression
../../gcc-3.2/libiberty/regex.c:4612: warning: signed and unsigned type in conditional expression
../../gcc-3.2/libiberty/regex.c:4612: warning: signed and unsigned type in conditional expression
../../gcc-3.2/libiberty/regex.c: At top level:
../../gcc-3.2/libiberty/regex.c:1428: warning: traditional C rejects string constant concatenation
../../gcc-3.2/libiberty/regex.c: In function ‘xregcomp’:
../../gcc-3.2/libiberty/regex.c:8099: warning: signed and unsigned type in conditional expression
../../gcc-3.2/libiberty/regex.c: In function ‘xregerror’:
../../gcc-3.2/libiberty/regex.c:8234: warning: unused parameter ‘preg’
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/cplus-dem.c -o pic/cplus-dem.o; \
	else true; fi
../../gcc-3.2/libiberty/cplus-dem.c: In function ‘cplus_demangle’:
../../gcc-3.2/libiberty/cplus-dem.c:951: warning: dereferencing pointer ‘demangling_buffer.37’ does break strict-aliasing rules
../../gcc-3.2/libiberty/cplus-dem.c:1003: note: initialized from here
../../gcc-3.2/libiberty/cplus-dem.c:951: warning: dereferencing pointer ‘demangling_buffer.37’ does break strict-aliasing rules
../../gcc-3.2/libiberty/cplus-dem.c:1056: note: initialized from here
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/cplus-dem.c
../../gcc-3.2/libiberty/cplus-dem.c: In function ‘cplus_demangle’:
../../gcc-3.2/libiberty/cplus-dem.c:951: warning: dereferencing pointer ‘demangling_buffer.37’ does break strict-aliasing rules
../../gcc-3.2/libiberty/cplus-dem.c:1003: note: initialized from here
../../gcc-3.2/libiberty/cplus-dem.c:951: warning: dereferencing pointer ‘demangling_buffer.37’ does break strict-aliasing rules
../../gcc-3.2/libiberty/cplus-dem.c:1056: note: initialized from here
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/cp-demangle.c -o pic/cp-demangle.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/cp-demangle.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/md5.c -o pic/md5.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/md5.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/alloca.c -o pic/alloca.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/alloca.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/argv.c -o pic/argv.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/argv.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/choose-temp.c -o pic/choose-temp.o; \
	else true; fi
../../gcc-3.2/libiberty/choose-temp.c: In function ‘choose_temp_base’:
../../gcc-3.2/libiberty/choose-temp.c:68: warning: ignoring return value of ‘mktemp’, declared with attribute warn_unused_result
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/choose-temp.c
../../gcc-3.2/libiberty/choose-temp.c: In function ‘choose_temp_base’:
../../gcc-3.2/libiberty/choose-temp.c:68: warning: ignoring return value of ‘mktemp’, declared with attribute warn_unused_result
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/concat.c -o pic/concat.o; \
	else true; fi
../../gcc-3.2/libiberty/concat.c: In function ‘concat_length’:
../../gcc-3.2/libiberty/concat.c:111: warning: traditional C rejects ISO C style function definitions
../../gcc-3.2/libiberty/concat.c: In function ‘concat_copy’:
../../gcc-3.2/libiberty/concat.c:126: warning: traditional C rejects ISO C style function definitions
../../gcc-3.2/libiberty/concat.c: In function ‘concat_copy2’:
../../gcc-3.2/libiberty/concat.c:145: warning: traditional C rejects ISO C style function definitions
../../gcc-3.2/libiberty/concat.c: In function ‘concat’:
../../gcc-3.2/libiberty/concat.c:156: warning: traditional C rejects ISO C style function definitions
../../gcc-3.2/libiberty/concat.c: In function ‘reconcat’:
../../gcc-3.2/libiberty/concat.c:193: warning: traditional C rejects ISO C style function definitions
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/concat.c
../../gcc-3.2/libiberty/concat.c: In function ‘concat_length’:
../../gcc-3.2/libiberty/concat.c:111: warning: traditional C rejects ISO C style function definitions
../../gcc-3.2/libiberty/concat.c: In function ‘concat_copy’:
../../gcc-3.2/libiberty/concat.c:126: warning: traditional C rejects ISO C style function definitions
../../gcc-3.2/libiberty/concat.c: In function ‘concat_copy2’:
../../gcc-3.2/libiberty/concat.c:145: warning: traditional C rejects ISO C style function definitions
../../gcc-3.2/libiberty/concat.c: In function ‘concat’:
../../gcc-3.2/libiberty/concat.c:156: warning: traditional C rejects ISO C style function definitions
../../gcc-3.2/libiberty/concat.c: In function ‘reconcat’:
../../gcc-3.2/libiberty/concat.c:193: warning: traditional C rejects ISO C style function definitions
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/dyn-string.c -o pic/dyn-string.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/dyn-string.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/fdmatch.c -o pic/fdmatch.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/fdmatch.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/fibheap.c -o pic/fibheap.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/fibheap.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/floatformat.c -o pic/floatformat.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/floatformat.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/fnmatch.c -o pic/fnmatch.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/fnmatch.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/getopt.c -o pic/getopt.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/getopt.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/getopt1.c -o pic/getopt1.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/getopt1.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/getpwd.c -o pic/getpwd.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/getpwd.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/getruntime.c -o pic/getruntime.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/getruntime.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/hashtab.c -o pic/hashtab.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/hashtab.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/hex.c -o pic/hex.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/hex.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/lbasename.c -o pic/lbasename.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/lbasename.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/make-temp-file.c -o pic/make-temp-file.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/make-temp-file.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/objalloc.c -o pic/objalloc.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/objalloc.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/obstack.c -o pic/obstack.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/obstack.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/partition.c -o pic/partition.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/partition.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/pexecute.c -o pic/pexecute.o; \
	else true; fi
../../gcc-3.2/libiberty/pexecute.c: In function ‘pexecute’:
../../gcc-3.2/libiberty/pexecute.c:739: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result
../../gcc-3.2/libiberty/pexecute.c:745: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/pexecute.c
../../gcc-3.2/libiberty/pexecute.c: In function ‘pexecute’:
../../gcc-3.2/libiberty/pexecute.c:739: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result
../../gcc-3.2/libiberty/pexecute.c:745: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/safe-ctype.c -o pic/safe-ctype.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/safe-ctype.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/sort.c -o pic/sort.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/sort.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/spaces.c -o pic/spaces.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/spaces.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/splay-tree.c -o pic/splay-tree.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/splay-tree.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/strerror.c -o pic/strerror.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/strerror.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/strsignal.c -o pic/strsignal.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/strsignal.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/ternary.c -o pic/ternary.o; \
	else true; fi
../../gcc-3.2/libiberty/ternary.c:150: warning: ‘ternary_recursivesearch’ defined but not used
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/ternary.c
../../gcc-3.2/libiberty/ternary.c:150: warning: ‘ternary_recursivesearch’ defined but not used
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/xatexit.c -o pic/xatexit.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/xatexit.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/xexit.c -o pic/xexit.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/xexit.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/xmalloc.c -o pic/xmalloc.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/xmalloc.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/xmemdup.c -o pic/xmemdup.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/xmemdup.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/xstrdup.c -o pic/xstrdup.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/xstrdup.c
if [ x"-fpic" != x ]; then \
	  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/xstrerror.c -o pic/xstrerror.o; \
	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.2/libiberty/xstrerror.c
rm -f libiberty.a pic/libiberty.a
ar rc libiberty.a \
	  regex.o cplus-dem.o cp-demangle.o md5.o alloca.o argv.o choose-temp.o concat.o dyn-string.o fdmatch.o fibheap.o floatformat.o fnmatch.o getopt.o getopt1.o getpwd.o getruntime.o hashtab.o hex.o lbasename.o make-temp-file.o objalloc.o obstack.o partition.o pexecute.o safe-ctype.o sort.o spaces.o splay-tree.o strerror.o strsignal.o ternary.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o xstrerror.o  
ranlib libiberty.a
if [ x"-fpic" != x ]; then \
	  cd pic; \
	  ar rc libiberty.a \
	    regex.o cplus-dem.o cp-demangle.o md5.o alloca.o argv.o choose-temp.o concat.o dyn-string.o fdmatch.o fibheap.o floatformat.o fnmatch.o getopt.o getopt1.o getpwd.o getruntime.o hashtab.o hex.o lbasename.o make-temp-file.o objalloc.o obstack.o partition.o pexecute.o safe-ctype.o sort.o spaces.o splay-tree.o strerror.o strsignal.o ternary.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o xstrerror.o  ; \
	  ranlib libiberty.a; \
	  cd ..; \
	else true; fi
rm -f needed-list; touch needed-list; \
	for f in atexit calloc memchr memcmp memcpy memmove memset rename strchr strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf vprintf vfork waitpid bcmp bcopy bzero; do \
	  for g in  ; do \
	    case "$g" in \
	      *$f*) echo $g >> needed-list ;; \
	    esac; \
	  done; \
	done
echo regex.o cplus-dem.o cp-demangle.o md5.o alloca.o argv.o choose-temp.o concat.o dyn-string.o fdmatch.o fibheap.o floatformat.o fnmatch.o getopt.o getopt1.o getpwd.o getruntime.o hashtab.o hex.o lbasename.o make-temp-file.o objalloc.o obstack.o partition.o pexecute.o safe-ctype.o sort.o spaces.o splay-tree.o strerror.o strsignal.o ternary.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o xstrerror.o > required-list
make[2]: Entering directory `/opt/build-gcc/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/build-gcc/libiberty/testsuite'
make[1]: Leaving directory `/opt/build-gcc/libiberty'
make[1]: Entering directory `/opt/build-gcc/gcc'
HEADERS="auto-host.h ansidecl.h  i386/i386.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h defaults.h" DEFINES="POSIX" \
	TARGET_CPU_DEFAULT="TARGET_CPU_DEFAULT_pentiumpro" \
	/bin/sh ../../gcc-3.2/gcc/mkconfig.sh config.h
HEADERS="auto-host.h ansidecl.h  i386/i386.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h defaults.h" DEFINES="POSIX" \
	TARGET_CPU_DEFAULT="TARGET_CPU_DEFAULT_pentiumpro" \
	/bin/sh ../../gcc-3.2/gcc/mkconfig.sh hconfig.h
gcc -c -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc-3.2/gcc -I../../gcc-3.2/gcc/. -I../../gcc-3.2/gcc/config -I../../gcc-3.2/gcc/../include ../../gcc-3.2/gcc/gengenrtl.c -o gengenrtl.o
In file included from ../../gcc-3.2/gcc/gengenrtl.c:26:
../../gcc-3.2/gcc/rtl.h:125: warning: type of bit-field ‘code’ is a GCC extension
../../gcc-3.2/gcc/rtl.h:128: warning: type of bit-field ‘mode’ is a GCC extension
gcc -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE  -o gengenrtl \
	 gengenrtl.o ../libiberty/libiberty.a
./gengenrtl -h > tmp-genrtl.h
/bin/sh ../../gcc-3.2/gcc/move-if-change tmp-genrtl.h genrtl.h
./gengenrtl > tmp-genrtl.c
/bin/sh ../../gcc-3.2/gcc/move-if-change tmp-genrtl.c genrtl.c
echo timestamp > s-genrtl
gcc -c -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc-3.2/gcc -I../../gcc-3.2/gcc/. -I../../gcc-3.2/gcc/config -I../../gcc-3.2/gcc/../include ../../gcc-3.2/gcc/genflags.c -o genflags.o
In file included from ../../gcc-3.2/gcc/genflags.c:27:
../../gcc-3.2/gcc/rtl.h:125: warning: type of bit-field ‘code’ is a GCC extension
../../gcc-3.2/gcc/rtl.h:128: warning: type of bit-field ‘mode’ is a GCC extension
gcc -c -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc-3.2/gcc -I../../gcc-3.2/gcc/. -I../../gcc-3.2/gcc/config -I../../gcc-3.2/gcc/../include ../../gcc-3.2/gcc/rtl.c -o rtl.o
In file included from ../../gcc-3.2/gcc/rtl.c:24:
../../gcc-3.2/gcc/rtl.h:125: warning: type of bit-field ‘code’ is a GCC extension
../../gcc-3.2/gcc/rtl.h:128: warning: type of bit-field ‘mode’ is a GCC extension
gcc -c -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc-3.2/gcc -I../../gcc-3.2/gcc/. -I../../gcc-3.2/gcc/config -I../../gcc-3.2/gcc/../include ../../gcc-3.2/gcc/read-rtl.c -o read-rtl.o
In file included from ../../gcc-3.2/gcc/read-rtl.c:24:
../../gcc-3.2/gcc/rtl.h:125: warning: type of bit-field ‘code’ is a GCC extension
../../gcc-3.2/gcc/rtl.h:128: warning: type of bit-field ‘mode’ is a GCC extension
../../gcc-3.2/gcc/read-rtl.c: In function ‘fatal_with_file_and_line’:
../../gcc-3.2/gcc/read-rtl.c:61: warning: traditional C rejects ISO C style function definitions
../../gcc-3.2/gcc/read-rtl.c: In function ‘read_rtx’:
../../gcc-3.2/gcc/read-rtl.c:662: error: lvalue required as increment operand
make[1]: *** [read-rtl.o] Error 1
make[1]: Leaving directory `/opt/build-gcc/gcc'
make: *** [all-gcc] Error 2


Thanks and regards,
Mukund

Last edited by mukund91; 06-02-2011 at 10:35 AM. Reason: code tags
 
Old 06-02-2011, 07:55 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,735

Rep: Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317
Please edit post # 1 to use code tags. It's the # button in the 'Advanced Editor'.
I.e. [/code] at text end, and [code] at "error text start"
http://www.linuxquestions.org/questi....php?do=bbcode

Like :
Code:
make[1]: Leaving directory `/opt/gcc-3.2/gcc'
make: *** [bootstrap] Error 2

* GCC-3.2.x is too old for a contemporary Linux. ( See EDIT.)
* The oldest, that can be build, is gcc-3.3.3. * EDIT :
* EDIT : gcc-3.2.3 can be build, using gcc-3.4.6.

... And why do you want gcc-3.2 ? ?
Most old applications can be compiled with 3.3.3 or later.
( gcc-2.95 is available as a package.deb : /usr/bin/gcc-2.95.
The c++ (g++) from gcc-2.95 / gcc-3.2.x will not work.)

..

Last edited by knudfl; 06-06-2011 at 05:58 AM.
 
1 members found this post helpful.
Old 06-02-2011, 10:43 AM   #3
mukund91
LQ Newbie
 
Registered: Jun 2011
Distribution: linux mint 10 julia
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Please edit post # 1 to use code tags. It's the # button in the 'Advanced Editor'.
I.e. [/code] at text end, and [code] at "error text start"
http://www.linuxquestions.org/questi....php?do=bbcode

Like :
Code:
make[1]: Leaving directory `/opt/gcc-3.2/gcc'
make: *** [bootstrap] Error 2

GCC-3.2.x is too old for a contemporary Linux.
The oldest, that can be build, is gcc-3.3.3.

... And why do you want gcc-3.2 ? ?
Most old applications can be compiled with 3.3.3 or later.
( gcc-2.95 is available as a package.deb : /usr/bin/gcc-2.95.
The c++ (g++) from gcc-2.95 / gcc-3.2.x will not work.)

..
I've included the code tags now. Thanks. I need GCC 3.2 because I'm having trouble compiling a program( not written by me) which was tested out with GCC 3.2. I tried compiling it with the GCC 4.4.5 installed in my PC but I keep getting errors. The documentation for the program recommends use of GCC 3.2 for the compilation and so I think installing it may help solve my problem. Is there anything that can be done? Should i go for an old linux version ? If yes, what version would you suggest? Thanks again for your help.
 
Old 06-02-2011, 11:04 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,735

Rep: Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317
Actually there are no supported Linux with gcc-3.2.3.
The latest was CentOS 3.9. And for gcc-2.95 : Debian Etch.

Suggestions : Install gcc-3.3.6 from e.g. Ubuntu Hardy. May work.
( Package name = gcc-3.3 )

And if the application contains no c++ code, gcc-2.95 is the choice.
( Very close to the 3.2.x functions.) EDIT : See #2 and #5.

sudo dpkg -i gcc-2.95_2.95.4-27_i386.deb
http://archive.debian.org/debian-arc....4-27_i386.deb

http://archive.debian.org/debian-arc...in/g/gcc-2.95/

..

Last edited by knudfl; 06-06-2011 at 06:00 AM.
 
Old 06-03-2011, 01:35 PM   #5
mukund91
LQ Newbie
 
Registered: Jun 2011
Distribution: linux mint 10 julia
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Actually there are no supported Linux with gcc-3.2.3.
The latest was CentOS 3.9. And for gcc-2.95 : Debian Etch.

Suggestions : Install gcc-3.3.6 from e.g. Ubuntu Hardy. May work.
( Package name = gcc-3.3 )

And if the application contains no c++ code, gcc-2.95 is the choice.
( Very close to the 3.2.x functions.)

sudo dpkg -i gcc-2.95_2.95.4-27_i386.deb
http://archive.debian.org/debian-arc....4-27_i386.deb

http://archive.debian.org/debian-arc...in/g/gcc-2.95/

..
I build gcc 3.4 using the gcc 4.4.5 already installed and used this newly installed gcc 3.4 to install gcc 3.2.3 and now it works fine. Thanks for you replies.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
make gcc to report prototype errors nuliknol Programming 2 09-06-2010 06:30 PM
LFS 6.3 .... 6.12.1. Installation of GCC make errors Axo Linux From Scratch 4 03-29-2008 03:18 AM
Chapter 6.12 GCC make -k check errors kz_chopper Linux From Scratch 2 02-21-2007 12:54 AM
gcc compiling errors when i do make install TheBrick Linux - Software 2 03-09-2006 11:29 AM
make and gcc compile errors sedandawk Linux - General 1 12-18-2002 03:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration