I'm new to arduino.I ran into same kind of problem when uploading the sketch of 5kb.But when I used this link for optiboot
the code doesn't compile.
errors are like
In file included from optifix.pde:43:
optiLoader.h:7: error: 'byte' does not name a type
optiLoader.h:8: error: 'byte' does not name a type
optiLoader.h:9: error: 'byte' does not name a type
and a lot others.Kindly help