|
|
- xxx@XXX:/bak/cai$ ls
- a.out error.c errorlog.c error.o hello.c myls.c OK ourhdr.h test.txt
- xxx@XXX:/bak/cai$ gcc -o y.c error.o
- /usr/lib/gcc-lib/i486-linux/3.3.5/../../../crt1.o(.text+0x18): In function `_start':
- ../sysdeps/i386/elf/start.S:98: undefined reference to `main'
- collect2: ld returned 1 exit status
- ysm@YSM:/bak/cai$
复制代码
系统重装过后就出现了,重装之前没有问题的说 |
|