|
lfs-SVN
chroot之后
make输出
- <若干废话>
- checking for off_t... yes
- checking size of off_t... configure: error: in `/sources/binutils-build/bfd':
- configure: error: cannot compute sizeof (off_t), 77
- See `config.log' for more details.
- make[1]: *** [configure-bfd] Error 1
- make[1]: Leaving directory `/sources/binutils-build'
- make: *** [all] Error 2
复制代码
不过
- # echo '#include <stdio.h>
- #include <sys/types.h>
- main()
- {
- off_t testvar = 1024;
- printf("%d\n", sizeof(testvar));
- }
- ' > dummy.c
- # cc dummy.c
- # ./a.out
- 4
复制代码 可以sizeof(off_t)啊
怎么讲不能计算sizeof(off_t)啊?
貌似是库有问题,重新搞一遍
解决了 |
|