Compiling error GCC-3.4.1 Pass 2 LFS-6.0 Chapter 5

Jose Carlos Carrion Plaza jc at um.es
Wed Jun 15 09:11:13 PDT 2005


Jose Carlos Carrion Plaza escribió:

> Platform Notes:
>
> HW=PowerPC G4 eMac
> S.O.= LFS-6.0 Live CD
>
> Error description:
>
> The Chapter 5 steps were OK until GCC-3.4.1 pass 2.
>
> At GCC-3.4.1 Pass-2 «make» command aborts with
>
> ../../gcc-3.4.1/gcc/unwind-dw2.c: In function `uw_frame_state_for':
> ../../gcc-3.4.1/gcc/unwind-dw2.c:1022: error: structure has no member\
> named `regs'
> ../../gcc-3.4.1/gcc/unwind-dw2.c:1022: error: structure has no member\
> named `regs'
> ../../gcc-3.4.1/gcc/unwind-dw2.c:1022: error: structure has no member\
> named `regs'
> ../../gcc-3.4.1/gcc/unwind-dw2.c:1022: error: structure has no member
> named `regs'
> make[2]: *** [libgcc/./unwind-dw2.o] Error 1
> make[2]: Leaving directory `/mnt/lfs/src/gcc-build/gcc'
> make[1]: *** [smtp-multilib] Error 2
> make[1]: Leaving directory `/mnt/lfs/src/gcc-build/gcc'
> make: *** [all-gcc] Error 2
>
> «--disable-multilibs» configure switch gives the same error.
>
> Thanks in advance.
>
> José Carlos
>
>
>
I answer myself:

LFS 6.0 Chapter 5 says:

«5.6 Linux-Libc-headers-2.6.8.1
...
Install the header files:

cp -R include/asm-i386 /tools/include/asm
cp -R include/linux /tools/include

If your architecture is not i386 (compatible), adjust the first command 
accordingly.»

That was my error. My solution:

cp -R include/asm-ppc /tools/include/asm

Thanks a lot.

José Carlos Carrión Plaza.





More information about the lfs-support mailing list