+ -
当前位置:首页 → 问答吧 → CLFS-Sysroot alpha gcc第一遍遇到的问题

CLFS-Sysroot alpha gcc第一遍遇到的问题

时间:2009-07-14

来源:互联网

采用的lfs6.3livecd做主系统,手册 Cross-Compiled Linux From Scratch - Sysroot - Version SVN-0.0.1-20090511-Alpha
gcc第一遍遇到如下问题,请大家帮忙看看
In file included from ../../../gcc-4.3.3/libgcc/../gcc/unwind-dw2.c:338:
../../../gcc-4.3.3/libgcc/../gcc/config/alpha/linux-unwind.h:32:20: error: signal.h: No such file or directory
../../../gcc-4.3.3/libgcc/../gcc/config/alpha/linux-unwind.h:33:26: error: sys/ucontext.h: No such file or directory
In file included from ../../../gcc-4.3.3/libgcc/../gcc/unwind-dw2.c:338:
../../../gcc-4.3.3/libgcc/../gcc/config/alpha/linux-unwind.h: In function 'alpha_fallback_frame_state':
../../../gcc-4.3.3/libgcc/../gcc/config/alpha/linux-unwind.h:55: error: field 'info' has incomplete type
../../../gcc-4.3.3/libgcc/../gcc/config/alpha/linux-unwind.h:56: error: field 'uc' has incomplete type
../../../gcc-4.3.3/libgcc/../gcc/config/alpha/linux-unwind.h:62: error: dereferencing pointer to incomplete type
../../../gcc-4.3.3/libgcc/../gcc/config/alpha/linux-unwind.h:70: error: dereferencing pointer to incomplete type
../../../gcc-4.3.3/libgcc/../gcc/config/alpha/linux-unwind.h:76: error: dereferencing pointer to incomplete type
../../../gcc-4.3.3/libgcc/../gcc/config/alpha/linux-unwind.h:79: error: dereferencing pointer to incomplete type
make[2]: *** [unwind-dw2.o] Error 1
make[2]: Leaving directory `/mnt/clfs/sources/gcc-build/alpha-unknown-linux-gnu/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/mnt/clfs/sources/gcc-build'
make: *** [all] Error 2

作者: 冷血封情   发布时间: 2009-07-14

估计是这livecd主系统的事,我用个新点的发行版试试看去。如果大家有什么别的看法,也请告之一二啊

作者: 冷血封情   发布时间: 2009-07-15

我弄错了,最后一个可能就是没装glibc头文件,诸位老大的帖子算是白看了。汗一个。
指导书上现在没有这个步骤了,果然是alpha 版,我先装下glibc头文件看看,如果不行,那就战败,暂时性撤退。

作者: 冷血封情   发布时间: 2009-07-22

http://cross-lfs.org/view/clfs-sysroot/alpha/
老大,您在玩这个?
您确定您有 alpha 机器?
这可不是 alpha 版,这个是给 alpha 机器用的。

您要是 x86 机器,找对应的手册参考就是。
http://cross-lfs.org/view/clfs-sysroot/x86/

要是 x86_64 机器,参考 CLFS-1.x.x 或 CLFS-SVN 对应手册。
或者参考俺的帖子。

作者: 聚焦深空   发布时间: 2009-07-22

恩,真是感谢深空老大指点。这次又是你帮忙了,多谢阿。
老大的帖子已经打印了。要好好看看了。

作者: 冷血封情   发布时间: 2009-07-22