QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 883|回复: 1

求助,跑lfs5.0 第一遍编译glibc时出错.

[复制链接]
发表于 2005-5-11 21:48:41 | 显示全部楼层 |阅读模式
scanf.c:31: warning: conflicting types for built-in function `sscanf'
sscanf.c: In function `sscanf':
sscanf.c:37: error: `va_start' used in function with fixed args
../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/stdio-common/sscanf.o] Error 1
make[2]: Leaving directory `/mnt/lfs/glibc-build/glibc-2.3.2/stdio-common'
make[1]: *** [stdio-common/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/glibc-build/glibc-2.3.2'
make: *** [all] Error 2



各位看看这是怎么回事啊?谢谢
发表于 2005-5-13 15:58:27 | 显示全部楼层
`va_start' used in function with fixed args
sscanf函数的参数是固定的,
va_start的错误提示表示参数数不确定,
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-10-5 01:18 , Processed in 0.039375 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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