error bootloader upload

Posted by Chandran on Mon 13 Apr 2015 12:39 PM — 6 posts, 26,094 views.

India #0
Dear Sir

Greetings
I am Chandran writing to you from Chennai ,India

not very good in electronics or programming i was trying to upload bootloader into mega using uno On compiling I get error as below. can you pl help or guide to sort the issue



"Arduino: 1.6.3 (Windows 7), Board: "Arduino Uno"

C:\Users\Chandran\AppData\Local\Temp\build2058806175505268611.tmp/core.a(main.cpp.o): In function `main':

C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino/main.cpp:40: undefined reference to `setup'


regards
chandran
C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino/main.cpp:43: undefined reference to `loop'

collect2.exe: error: ld returned 1 exit status

Error compiling.

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Australia Forum Administrator #1
Template:Arduino
Please post Arduino-related questions to the Arduino Forum or to StackExchange: Arduino. This saves splitting questions and answers between this forum and the Arduino ones.
USA Global Moderator #2
Maybe if you put your electronics pages on a separate subdomain? Heh.
Australia Forum Administrator #3
I was sort-of hoping that the big red letters in the message "Please post questions about electronics on the The Arduino Forum" would have some impact, but evidently not.
Australia Forum Administrator #4
OK, I think I have it. I've added that same message to the page where you register to join the forum.
Australia Forum Administrator #5
Fiendish said:

Maybe if you put your electronics pages on a separate subdomain? Heh.


Problem is, it's too well-known now. Lots of sites link to my tutorials about SPI, power-saving, etc.