LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   GCC build error real.h mpfr_srcptr (https://www.linuxquestions.org/questions/linux-from-scratch-13/gcc-build-error-real-h-mpfr_srcptr-691671/)

R03L 12-19-2008 06:09 AM

GCC build error real.h mpfr_srcptr
 
i got this error
$:make

Code:

../../gcc-4.3.2/gcc/real.h:444: error: expected declaration specifiers or '...' before 'mpfr_srcptr'
../../gcc-4.3.2/gcc/real.h:444: error: expected declaration specifiers or '...' before 'mp_rnd_t'
../../gcc-4.3.2/gcc/real.h:445: error: expected ')' before 'const'
make[3]: *** [attribs.o] Fout 1
make[3]: Map '/mnt/lfs/gcc-build/gcc' wordt verlaten
make[2]: *** [all-stage2-gcc] Fout 2
make[2]: Map '/mnt/lfs/gcc-build' wordt verlaten
make[1]: *** [stage2-bubble] Fout 2
make[1]: Map '/mnt/lfs/gcc-build' wordt verlaten
make: *** [all] Fout 2

can anybody help or explain this.

vladmihaisima 12-19-2008 08:26 AM

What version of mpfr are you using ? You could try downloading the latest mpfr.

R03L 12-19-2008 11:22 AM

Quote:

Originally Posted by vladmihaisima (Post 3381126)
What version of mpfr are you using ? You could try downloading the latest mpfr.

mpfr 2.3.2
i already tried version 2.3.1

vladmihaisima 12-19-2008 07:20 PM

Could you post more of the output? For example from the last command executed by the makefile (including the command).

I downloaded gcc 4.3.2 and mpfr 2.3.2 and I do not have any problem compiling that specific file...

R03L 12-21-2008 06:42 AM

solved
 
i solved it by installing
mpfr devel package from whitin yum
mpfr-devel.i386


All times are GMT -5. The time now is 05:58 PM.