I got some error

Hi all, i got some error it says

error compiling avr-g++ missing filename after '

what’s wrong with that?
(v 1.6.6)

Hi all, i got some error it says

You also have some code. Can we see it please ?

UKHeliBob:
You also have some code. Can we see it please ?

it error most all of ex. sketchs blink,sd card ,etc which i choose avr board.

A bunch of people have had IDE 1.6.x problems, including IDE crashes and bizarre compile errors, when they had a previous 1.5.x/1.6.x installation. At least some of those problems seem to be caused by out-of-date executables that the IDE saves outside the IDE installation directory. Perhaps that is what is causing your particular problem. In such cases it appears that the fix is to delete or rename the old “Arduino15” directory and re-install 1.6.x.

On Mac OS X:
/Users/(username)/Library/Arduino15

On Windows:
C:\Users(username)\AppData\Roaming\Arduino15

On Linux:
/home/(username)/.arduino15 (a.k.a. ~/.arduino15)

Did you possibly fail to copy the whole error and it's actually:

avr-g++: error: missing filename after '-o'