LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 643|回复: 0

请教:安装glibc-2.3.2时出现错误

[复制链接]
发表于 2004-4-30 15:40:11 | 显示全部楼层 |阅读模式
在make后出现如下错误:
In file included from ../linuxthreads/internals.h:29,
                 from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:27,
                 from ../sysdeps/generic/ldsodefs.h:38,
                 from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
                 from ../sysdeps/unix/sysv/linux/init-first.c:30:
../linuxthreads/descr.h:164: error: parse error before "td_eventbuf_t"
../linuxthreads/descr.h:164: warning: no semicolon at end of struct or union
../linuxthreads/descr.h:184: error: parse error before '}' token
../linuxthreads/descr.h:184: warning: empty declaration
../linuxthreads/descr.h: In function `thread_self':
../linuxthreads/descr.h:250: error: invalid use of undefined type `struct _pthre                                             ad_descr_struct'
In file included from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:27,
                 from ../sysdeps/generic/ldsodefs.h:38,
                 from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
                 from ../sysdeps/unix/sysv/linux/init-first.c:30:
../linuxthreads/internals.h: At top level:
../linuxthreads/internals.h:159: error: parse error before "__pthread_threads_ev                                             ents"
../linuxthreads/internals.h:159: warning: type defaults to `int' in declaration                                              of `__pthread_threads_events'
../linuxthreads/internals.h:159: warning: data definition has no type or storage                                              class
../linuxthreads/internals.h: In function `invalid_handle':
../linuxthreads/internals.h:178: error: dereferencing pointer to incomplete type
../linuxthreads/internals.h:178: error: dereferencing pointer to incomplete type
../linuxthreads/internals.h: In function `nonexisting_handle':
../linuxthreads/internals.h:183: error: dereferencing pointer to incomplete type
../stdio-common/_itoa.h: At top level:
../stdio-common/_itoa.h:40: warning: inlining failed in call to `_itoa_word'
../stdio-common/_itoa.h:76: warning: called from here
make[2]: *** [/mnt/lfs/glibc-build/csu/init-first.o] Error 1
make[2]: Leaving directory `/mnt/lfs/glibc-2.3.2/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/glibc-2.3.2'
make: *** [all] Error 2
[lfs@localhost glibc-build]$
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表