/usr/lib/gcc/i686-redhat-linux/4.8.2/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
Вопрос снимается.