elulue 发表于 2005-5-11 21:48:41

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

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: *** Error 1
make: Leaving directory `/mnt/lfs/glibc-build/glibc-2.3.2/stdio-common'
make: *** Error 2
make: Leaving directory `/mnt/lfs/glibc-build/glibc-2.3.2'
make: *** Error 2



各位看看这是怎么回事啊?谢谢

windguy 发表于 2005-5-13 15:58:27

`va_start' used in function with fixed args
sscanf函数的参数是固定的,
va_start的错误提示表示参数数不确定,
页: [1]
查看完整版本: 求助,跑lfs5.0 第一遍编译glibc时出错.