1. read_instruction.c:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
一般是 包含的头文件中缺少分号
2.
multiple definition of `main'
linklist_int.c:207: first defined here
/usr/bin/ld: Warning: size of symbol `main' changed from 528 in linklist_int.o to 305 in main.o
collect2: ld returned 1 exit status
make: *** [main] Error 1
有2个main函数
3
阅读(887) | 评论(0) | 转发(0) |