when I made a mistake that I forgot to add the Object output file name after the option -o ,gcc deleted my source file without any alarm so quickly that I lost my source file and I had to type the source file again.
command & ouput: [EMAIL PROTECTED]:~$ gcc -o snmpget.c -lnetsnmp /usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/crt1.o: In function `_start':../sysdeps/i386/elf/start.S:115:对main未定义的引用 collect2: ld 返回 1 [EMAIL PROTECTED]:~$ ls snmpget.c ls: snmpget.c: No such file or directory -- Summary: gcc will delete the c_source_file.c without any alarm! Product: gcc Version: 4.0.3 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: freephp at gmail dot com GCC build triplet: gcc -o snmpget.c -lnetsnmp GCC host triplet: Ubuntu 6.06 GCC target triplet: i486-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29192