crt1.o error when trying to compile

view story

https://bbs.archlinux.org – Hi everybody, I'm trying to compile a simple rtnetlink example written in c using gcc [ver 4.7.2] but I get this error : /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../lib/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: error: ld returned 1 exit statusand here is the include parts of example : #include <sys/socket.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <linux/netlink.h> #include <linux/rtnetlink.h> #include <arpa/inet.h> #include <unistd.h>Should I add a s (HowTos)