Couldn't build solution

Hello, I'm noob with C, and have some troubles with my code.

When I'm trying to compile don't have any problem, but when I try to build solution to get .hex and .eep Atmel studio gave me those two errors.

Error 1 undefined reference to `main' c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.1061/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.8.1/../../../../avr/lib/avr25/tiny-stack/crttn13a.o 1 1 JAIMELITO

Error 2 ld returned 1 exit status collect2.exe 0 0 JAIMELITO

This is my CODE

Your request has been blocked by Xxx Information Security

Post your code HERE!

Please attach your code or use tags - the “</>” icon on the reply page.

Sorry but I can't post my code directly

The message has the following error or errors that must be corrected before continuing:
The message exceeds the maximum allowed length (9000 characters).

You have a link of my code Dropbox - JAIMELITO.c - Simplify your life

You have a link of my code Dropbox - JAIMELITO.c - Simplify your life

Which I can't get to from a work computer, and I won't try to get to from my own computer.

In the Reply box, not the useless Quick Reply box, there is an option, below the text field, to attach your code to your post. Do that if you really want help.

You’re not using Arduino tools, or libraries, so why are you asking this question here? Ask on the Atmel Studio forum.

Ray L.

sorry for bothering you. Look for another forum BYE.

Have you got an:

int main(void) {}

Function in your code? The error is that the compiler can't find the main function - hence: undefined reference to 'main'