GCC 4.3.2 installation on Linux

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

 



Hi All

I have issues when trying to compile GCC 4.3.2 on Linux. The following
are details 

./configure --prefix=/usr/local --enable-threads=posix
--with-mpfr=/usr/local --with-gmp=/usr/local
--enable-languages=c,c++,fortran --disable-multilibs

I get the following errors

.libs/compile_options.o: In function `feof_unlocked':
/usr/include/bits/stdio.h:123: multiple definition of `feof_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:123: first defined here
.libs/compile_options.o: In function `ferror_unlocked':
/usr/include/bits/stdio.h:130: multiple definition of `ferror_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:130: first defined here
.libs/compile_options.o: In function `__signbitf':
/usr/include/bits/mathinline.h:38: multiple definition of `__signbitf'
.libs/backtrace.o:/usr/include/bits/mathinline.h:38: first defined here
.libs/compile_options.o: In function `__signbit':
/usr/include/bits/mathinline.h:44: multiple definition of `__signbit'
.libs/backtrace.o:/usr/include/bits/mathinline.h:44: first defined here
.libs/compile_options.o: In function `__signbitl':
/usr/include/bits/mathinline.h:50: multiple definition of `__signbitl'
.libs/backtrace.o:/usr/include/bits/mathinline.h:50: first defined here
.libs/compile_options.o: In function `gnu_dev_major':
/usr/include/sys/sysmacros.h:43: multiple definition of `gnu_dev_major'
.libs/backtrace.o:/usr/include/sys/sysmacros.h:43: first defined here
.libs/compile_options.o: In function
`gnu_dev_minor':/usr/include/sys/sysmacros.h:49: multiple definition of
`gnu_dev_minor'
.libs/backtrace.o:/usr/include/sys/sysmacros.h:49: first defined here
.libs/compile_options.o: In function `gnu_dev_makedev':
/usr/include/sys/sysmacros.h:55: multiple definition of
`gnu_dev_makedev'
.libs/backtrace.o:/usr/include/sys/sysmacros.h:55: first defined here
.libs/compile_options.o: In function `__sigismember':
/usr/include/bits/sigset.h:117: multiple definition of `__sigismember'
.libs/backtrace.o:/usr/include/bits/sigset.h:117: first defined here
.libs/compile_options.o: In function `__sigaddset':
/usr/include/bits/sigset.h:118: multiple definition of `__sigaddset'
.libs/backtrace.o:/usr/include/bits/sigset.h:118: first defined here
.libs/compile_options.o: In function `__sigdelset':
/usr/include/bits/sigset.h:119: multiple definition of `__sigdelset'
.libs/backtrace.o:/usr/include/bits/sigset.h:119: first defined here
.libs/compile_options.o: In function `getline':
/usr/include/bits/stdio.h:113: multiple definition of `getline'
.libs/backtrace.o:/usr/include/bits/stdio.h:113: first defined here
.libs/compile_options.o: In function `putchar_unlocked':
/usr/include/bits/stdio.h:104: multiple definition of `putchar_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:104: first defined here
.libs/compile_options.o: In function `putc_unlocked':
/usr/include/bits/stdio.h:97: multiple definition of `putc_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:97: first defined here
.libs/compile_options.o: In function `fputc_unlocked':
/usr/include/bits/stdio.h:87: multiple definition of `fputc_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:87: first defined here
.libs/compile_options.o: In function `putchar':
/usr/include/bits/stdio.h:78: multiple definition of `putchar'
.libs/backtrace.o:/usr/include/bits/stdio.h:78: first defined here
.libs/compile_options.o: In function `getchar_unlocked':
/usr/include/bits/stdio.h:69: multiple definition of `getchar_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:69: first defined here
.libs/compile_options.o: In function `getc_unlocked':
/usr/include/bits/stdio.h:62: multiple definition of `getc_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:62: first defined here
.libs/compile_options.o: In function `fgetc_unlocked':
/usr/include/bits/stdio.h:52: multiple definition of `fgetc_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:52: first
define.libs/compile_options.o: In function `getchar':
/usr/include/bits/stdio.h:43: multiple definition of `getchar'
.libs/backtrace.o:/usr/include/bits/stdio.h:43: first defined here
.libs/compile_options.o: In function `vprintf':
/usr/include/bits/stdio.h:36: multiple definition of `vprintf'
.libs/backtrace.o:/usr/include/bits/stdio.h:36: first defined here
.libs/environ.o: In function `feof_unlocked':
/usr/include/bits/stdio.h:123: multiple definition of `feof_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:123: first defined here
.libs/environ.o: In function `ferror_unlocked':
/usr/include/bits/stdio.h:130: multiple definition of `ferror_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:130: first defined here
.libs/environ.o: In function `__signbitf':
/usr/include/bits/mathinline.h:38: multiple definition of `__signbitf'
.libs/backtrace.o:/usr/include/bits/mathinline.h:38: first defined here
.libs/environ.o: In function `__signbit':
/usr/include/bits/mathinline.h:44: multiple definition of `__signbit'
.libs/backtrace.o:/usr/include/bits/mathinline.h:44: first defined here
.libs/environ.o: In function `__signbitl':
/usr/include/bits/mathinline.h:50: multiple definition of `__signbitl'
.libs/backtrace.o:/usr/include/bits/mathinline.h:50: first defined here
.libs/environ.o: In function `gnu_dev_major':
/usr/include/sys/sysmacros.h:43: multiple definition of `gnu_dev_major'
.libs/backtrace.o:/usr/include/sys/sysmacros.h:43: first defined here
.libs/environ.o: In function `gnu_dev_minor':
/usr/include/sys/sysmacros.h:49: multiple definition of `gnu_dev_minor'
.libs/backtrace.o:/usr/include/sys/sysmacros.h:49: first defined here
.libs/environ.o: In function `gnu_dev_makedev':
/usr/include/sys/sysmacros.h:55: multiple definition of
`gnu_dev_makedev'
.libs/backtrace.o:/usr/include/sys/sysmacros.h:55: first defined here
.libs/environ.o: In function `__strcspn_c1':
/usr/include/bits/string2.h:974: multiple definition of `__strcspn_c1'
.libs/backtrace.o:/usr/include/bits/string2.h:974: first defined here
.libs/environ.o: In function `__strcspn_c2':
/usr/include/bits/string2.h:985: multiple definition of `__strcspn_c2'
.libs/backtrace.o:/usr/include/bits/string2.h:985: first defined here
.libs/environ.o: In function `__strcspn_c3':
/usr/include/bits/string2.h:998: multiple definition of `__strcspn_c3'
............................................................

collect2: ld returned 1 exit status
make[3]: *** [libgfortran.la] Error 1
make[3]: Leaving directory
`/cots/gnu/gcc-4.3.2/x86_64-unknown-linux-gnu/libgfortran'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/cots/gnu/gcc-4.3.2/x86_64-unknown-linux-gnu/libgfortran'
make[1]: *** [all-target-libgfortran] Error 2
make[1]: Leaving directory `/cots/gnu/gcc-4.3.2'
make: *** [all] Error 2

I am using  Linux 2.6.18-53.el5 #1 SMP machine and using gcc 4.3.1 to
compile.

I would very much appreciate your help and advice.

With Regards

Vardhan




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux