linux编译安装软件,一用的make就报错 In file included from test/example.c:13:0: /usr/include/stdlib.h:399:26: error: expected identifier or

出现报错如下

In file included from test/example.c:13:0:
/usr/include/stdlib.h:399:26: error: expected identifier or '(' before 'unsigned' extern long int jrand48 ,unsigned short int __xsubi[3])

 

 

解决办法如下:找一台同类型的机器,复制报错文件过来就可以了,就如我这个问题就是:先备份/usr/include/stdlib.h;然后在同类型的机器上把这个文件复制过来

posted @ 2020-08-07 16:18  东冠明  阅读(2159)  评论(0)    收藏  举报