include/stdio.h:373: error: no previous prototype for 'getc'
2011-03-10 16:28
375 查看
错误提示:
$ make install
CC /usr/local/lib/libavdevice.a
In file included from d:/ffmpeg/libavformat/avformat.h:55,
from d:/ffmpeg/libavdevice/alldevices.c:22:
D:/MingW/include/stdio.h:372: error: no previous prototype for 'getc'
D:/MingW/include/stdio.h:379: error: no previous prototype for 'putc'
D:/MingW/include/stdio.h:386: error: no previous prototype for 'getchar'
D:/MingW/include/stdio.h:393: error: no previous prototype for 'putchar'
D:/MingW/include/stdio.h:606: error: no previous prototype for 'vsnwprintf'
去掉configure 文件文件里的
该标签存在两次都去掉
check_cflags -Werror=missing-prototypes
原因是
ffmpeg 的 configure 文件,3.8号更新了 添加了 -Werror=missing-prototypes 这个编译选择项
Error on missing function prototypes with gcc
This makes it an error to not have a prototype in scope for
a function with external linkage. The flag is only enabled
for gcc due to -Werror=type not working with all compilers.
$ make install
CC /usr/local/lib/libavdevice.a
In file included from d:/ffmpeg/libavformat/avformat.h:55,
from d:/ffmpeg/libavdevice/alldevices.c:22:
D:/MingW/include/stdio.h:372: error: no previous prototype for 'getc'
D:/MingW/include/stdio.h:379: error: no previous prototype for 'putc'
D:/MingW/include/stdio.h:386: error: no previous prototype for 'getchar'
D:/MingW/include/stdio.h:393: error: no previous prototype for 'putchar'
D:/MingW/include/stdio.h:606: error: no previous prototype for 'vsnwprintf'
去掉configure 文件文件里的
该标签存在两次都去掉
check_cflags -Werror=missing-prototypes
原因是
ffmpeg 的 configure 文件,3.8号更新了 添加了 -Werror=missing-prototypes 这个编译选择项
Error on missing function prototypes with gcc
This makes it an error to not have a prototype in scope for
a function with external linkage. The flag is only enabled
for gcc due to -Werror=type not working with all compilers.
相关文章推荐
- ubuntu14.10下解决"ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)"
- ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password:NO)
- Error retrieving parent for item: No resource found that matches the given name 'android:TextAppeara
- ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
- ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
- LibvirtError: no supported architecture for os type 'hvm'
- ubuntu 系统解决mysql连接问题(ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO))
- error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCo
- ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
- error: No resource identifier found for attribute 'XXX' in package 'xxxxx'
- QT:make: Nothing to be done for `first'和error:QtSql:No such file or directory
- Linux mysql: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) 的解决办
- C语言编译错误 fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
- Android错误之--Error retrieving parent for item: No resource found that matches the given name 'Theme.A
- Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.A
- Error retrieving parent for item: No resource found that matches the given name 'android:Theme....
- Bringing up interface eth0: Error: No suitable device found: no device found for connection 'System
- ERROR 1045 (28000): Access denied for user 'robin'@'localhost' (using password: NO)
- Bringing up interface eth2: Error: No suitable device found: no device found for connection 'System
- Error: internal error: no supported architecture for os type 'hvm'