trouble in compiling gcc in chapter 6 of lfs-5.1.1

Joel Miller cheeziologist at mail.isc.rit.edu
Mon Jan 10 00:45:32 PST 2005


mukesh wrote:
> hello,
>   host: FedoraCore 1(Kernel-2.4.22)
>   working on lfs-5.1.1. I used binutils-2.15 instead of binutils-2.14 as 
> mentioned in the book.Now I got a problem in the compilation of 
> gcc-3.3.3 in chapter 6.The problem is :
> -------------------------------------------------------------------------------------------------------------------------
>         ../../gcc-3.3.3/gcc/crtstuff.c: In function `__do_global_dtors_aux':
> ../../gcc-3.3.3/gcc/crtstuff.c:277: warning: passing arg 1 of 
> `__deregister_frame_info_bases' discards qualifiers from pointer target type
> ../../gcc-3.3.3/gcc/crtstuff.c: In function `frame_dummy':
> ../../gcc-3.3.3/gcc/crtstuff.c:313: warning: passing arg 1 of 
> `__register_frame_info_bases' discards qualifiers from pointer target type
> make[1]: *** [crtbegin.o] Error 1
> make[1]: Leaving directory `/sources/gcc-build/gcc'
> make: *** [all-gcc] Error 2
> root:/sources/gcc-build#
> -----------------------------------------------------------------------------------------------------------------------
> Plz suggest me where I could be wrong.
> Thanx in advance
> monny
> 

Do you have the text of the actual error? All you gave us was stdout (I 
think). The error would have been sent to stderr and it will be hard to 
help you without it.

-- 
Registered LFS User 6929
Registered Linux User 298182




More information about the lfs-support mailing list