当前位置: 技术问答>linux和unix
遇到一个很怪的问题,请大家帮忙分析一下!先谢了!
来源: 互联网 发布时间:2015-07-25
本文导语: 我再linux下编了个程序,由四个小程序组成,写好了makefile,好不容易改完了语法错误。再编译却出现一大堆的错误如下: /usr/include/bits/types.h:34:storage class specified for parameter `__u_char` ......... /usr/include/bits/types.h:45:...
我再linux下编了个程序,由四个小程序组成,写好了makefile,好不容易改完了语法错误。再编译却出现一大堆的错误如下:
/usr/include/bits/types.h:34:storage class specified for parameter `__u_char`
.........
/usr/include/bits/types.h:45:storage class specified for parameter `__uint32_t`
/usr/include/bits/types.h:50:parse error before "__extension__"
/usr/include/_G_config.h:28:parse error before "__off_t"
......
/usr/include/_G_config.h:35:parase error before "}" token
/usr/include/libio.h:311:parse error before "_offset"
........
/usr/include/libio.h:470:parse error before "__off64_t"
/usr/include/stdio.h:281:parse error before "size_t"
.....
/usr/include/stdio.h:552:parse error before '*' token
/usr/include/string.h:39:parse error before "size_t"
....
/usr/include/string.h:88:parse error before "size_t"
错误提示就时这样的。请大家帮我看看是什么地方出错了。
/usr/include/bits/types.h:34:storage class specified for parameter `__u_char`
.........
/usr/include/bits/types.h:45:storage class specified for parameter `__uint32_t`
/usr/include/bits/types.h:50:parse error before "__extension__"
/usr/include/_G_config.h:28:parse error before "__off_t"
......
/usr/include/_G_config.h:35:parase error before "}" token
/usr/include/libio.h:311:parse error before "_offset"
........
/usr/include/libio.h:470:parse error before "__off64_t"
/usr/include/stdio.h:281:parse error before "size_t"
.....
/usr/include/stdio.h:552:parse error before '*' token
/usr/include/string.h:39:parse error before "size_t"
....
/usr/include/string.h:88:parse error before "size_t"
错误提示就时这样的。请大家帮我看看是什么地方出错了。
|
up