Error compiling GCC 4.8.2

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

 



I'm receiving the following error when compiling GCC 4.8.2 on a redhat
machine with kernel version 2.6.18:

g++ -c  -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall
-Wwrite-strings -Wcast-qual  -fno-common  -DHAVE_CONFIG_H -I.
-Ic-family -I../../gcc-4.8.2/gcc -I../../gcc-4.8.2/gcc/c-family
-I../../gcc-4.8.2/gcc/../include
-I../../gcc-4.8.2/gcc/../libcpp/include -I/share/apps/include
-I/home/vale/toor/include  -I../../gcc-4.8.2/gcc/../libdecnumber
-I../../gcc-4.8.2/gcc/../libdecnumber/bid -I../libdecnumber
-I../../gcc-4.8.2/gcc/../libbacktrace
../../gcc-4.8.2/gcc/c-family/c-ppoutput.c -o c-family/c-ppoutput.o
../../gcc-4.8.2/gcc/../libcpp/internal.h:32: error: conflicting
declaration 'typedef int libiconv_t'
/home/vale/toor/include/iconv.h:47: error: 'libiconv_t' has a previous
declaration as 'typedef void* libiconv_t'
make[3]: *** [c-family/c-ppoutput.o] Error 1
make[3]: Leaving directory `/home/vale/build/gcc-objdir/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/vale/build/gcc-objdir'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/vale/build/gcc-objdir'
make: *** [all] Error 2


I used the following options for configure:
../gcc-4.8.2/configure --prefix=/home/vale/toor
--with-mpfr=/share/apps --with-mpc=/home/vale/toor
--with-libiconv-prefix=/home/vale/toor

and compiled and installed libiconv-1.14 to $HOME/toor

Any ideas about what's going on?

Many Thanks,
vale

--
vale cofer-shabica
vale.cofershabica@xxxxxxxxx




[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