Re: Error message when compiling


I am new to arduino and also a bit new to ubuntu and seem to experience the same kind of problem.

When I compile the program for lighting a LED I get the following error message:

/usr/bin/avr-objcopy: there are no sections to be copied!

Couldn't determine program size:

I followed the instructions for ubuntu (running 7.1 gutsy on IBM x30 thinkpad). Installed the jre, avr-gcc, avr-libc. Removed the package brltty and set the jre as default. My dir for saving sketchfiles is in my arduino directory and I set it as the default in arduino (the program).

anyone around who can help?

Many Thanks

Can you run: avr-gcc --version at the command line and tell us what output you get?