pipes : error on compiling!

Hi All.
I have one problem.
I am writng client-server by using pipes. But when i compile i get following error.

/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [server] Error 1

If any body familiar with this error please help.
Thank you.

You don't have a function called "main" anywhere. You need one. That is where your program begins.

Thank you.
I have fixed the problem.And it is compiling now wiyhout errors.