Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

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?
 

malik_zohaib

Full Member level 5
Joined
Sep 1, 2010
Messages
261
Helped
36
Reputation
72
Reaction score
35
Trophy points
1,308
Location
Pakistan
Activity points
2,707
are u calling this function in main? or just only compiling it??
 

bigdogguru

Administrator
Joined
Mar 12, 2010
Messages
9,831
Helped
2,348
Reputation
4,690
Reaction score
2,273
Trophy points
1,413
Location
Southwest, USA
Activity points
62,490
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.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top