Delay function for Hi_Tech Picc 9.81

Status
Not open for further replies.

Er.Jegan

Newbie level 3
Joined
Apr 1, 2011
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,306
Hi i m using pic 16f917, i have a problem in compiling delay.c in picc 9.81 in linux...
Error i m getting is...
picc --chip=16f917 -I/usr/hitech/picc/9.81/include --codeoffset=00h -Q --opt=all --asmlist --summary=psect,mem -Mpic16f917.map -C delay.c
/usr/hitech/picc/9.81/sources/float.c: 86: (1091) main function "_main" not defined
(908) exit status = 1
make: *** [delay.obj] Error 1


can anyone help me to fix this?
 

are u calling this function in main? or just only compiling it??
 

Ya i m calling it in main
 

Can you upload the zipped project?

It can be difficult to troubleshoot compiler errors without the code.

I actually have the Hi-Tech Pro compiler here.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…