- 爱易网页
-
Linux
- types.h:136: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘_attribute_’ before ‘_dev_t’解决方法
日期:2014-05-16 浏览次数:20690 次
types.h:136: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__dev_t’
[root@localhost xc]# make World
In file included from /Cross/target/local/mipsel-linux/include/stdio.h:36,
from ./config/util/printver.c:10:
/Cross/target/local/mipsel-linux/include/bits/types.h:127:3: error: #error
In file included from /Cross/target/local/mipsel-linux/include/stdio.h:36,
from ./config/util/printver.c:10:
/Cross/target/local/mipsel-linux/include/bits/types.h:136: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__dev_t’
/Cross/target/local/mipsel-linux/include/bits/types.h:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__ino64_t’
/Cross/target/local/mipsel-linux/include/bits/types.h:142: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__nlink_t’
/Cross/target/local/mipsel-linux/include/bits/types.h:144: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__off64_t’
/Cross/target/local/mipsel-linux/include/bits/types.h:149: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__rlim64_t’
/Cross/target/local/mipsel-linux/include/bits/types.h:172: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__blkcnt64_t’
/Cross/target/local/mipsel-linux/include/bits/types.h:176: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fsblkcnt64_t’
/Cross/target/local/mipsel-linux/include/bits/types.h:180: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fsfilcnt64_t’
/Cross/target/local/mipsel-linux/include/bits/types.h:182: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__ssize_t’
/Cross/target/local/mipsel-linux/include/bits/types.h:186: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__loff_t’
/Cross/target/local/mipsel-linux/include/bits/types.h:191: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__intptr_t’
In file included from /Cross/target/local/mipsel-linux/include/libio.h:32,
from /Cross/target/local/mipsel-linux/include/stdio.h:72,
from ./config/util/printver.c:10:
/Cross/target/local/mipsel-linux/include/_G_config.h:33: error: expected specifier-qualifier-list before ‘__off64_t’
In file included from /Cross/target/local/mipsel-linux/include/stdio.h:72,
from ./config/util/printver.c:10:
/Cross/target/local/mipsel-linux/include/libio.h:312: error: expected specifier-qualifier-list before ‘__off64_t’
/Cross/target/local/mipsel-linux/include/libio.h:351: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__io_read_fn’
/Cross/target/local/mipsel-linux/include/libio.h:359: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__io_write_fn’
/Cross/target/local/mipsel-linux/include/libio.h:368: error: expected declaration specifiers or ‘...’ before ‘__off64_t’
/Cross/target/local/mipsel-linux/include/libio.h:467: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_IO_padn’
/Cross/target/local/mipsel-linux/include/libio.h:470: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_IO_seekoff’
/Cross/target/local/mipsel-linux/include/libio.h:471: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_IO_seekpos’
In file included from /Cross/target/local/mipsel-linux/include/stdlib.h:416,
from ./config/util/printver.c:11:
/Cross/target/local/mipsel-linux/include/sys/types.h:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘loff_t’
/Cross/target/local/mipsel-linux/include/sys/types.h:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dev_t’
/Cross/target/local/mipsel-linux/include/sys/types.h:77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nlink_t’