1、/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/crt1.o: In function `_start':
(.text+0x18):undefined reference to `main'
collect2: ld 返回 1
Reason: no main function in source file
2、to get compile options -I and -l
pkg-co
1. /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/crt1.o: In function `_start’:(.text+0x18): undefined reference to `main’collect2: ld 返回 1Reason: no main function in source file2. to get compile options -I and -lpkg-config libe.g: pkg-confi