avrdude: write to file '/../sketch.hex' failed

I have recently downloaded the 0015 version of arduino software and one sketch that never gave me any problems in the 0012 version, doesn't upload to the board..

Some problem with the .HEX file...

these are the error messages:


/tmp/build37204.tmp/core.a(wiring_serial.c.o): In function `__vector_18':

/Users/pedrogoncalves/Desktop/arduino-0015/hardware/cores/arduino/wiring_serial.c:112: multiple definition of `__vector_18'

/tmp/build37204.tmp/core.a(HardwareSerial.cpp.o):/Users/pedrogoncalves/Desktop/arduino-0015/hardware/cores/arduino/HardwareSerial.cpp:95: first defined here

Couldn't determine program size: hardware/tools/avr/bin/avr-size: '/tmp/build37204.tmp/arduino_flash.hex': No such file

any way of making it work again...

going back to the 0012 doesn't work for me because I'm working with a Duemilanove board and the java updates i did to run the 0015 version messed up the older versions.

Cheers

I've made a Arduino-Flash communication script ( Arduino Flash communication ( Actionscript 2.0 ) on Vimeo ) and it seems that users that use the Duemilanove ATMEGA 328 and Arduino 15 have the same problem as above.

What a user send to me :

C:\DOCUME~1\Bob\LOCALS~1\Temp\build6597.tmp\core.a(wiring_serial.c.o): In function __vector_18':* *C:\Documents and Settings\Bob\Bureaublad\arduino\arduino-0015-win\arduino-0015\hardware\cores\arduino/wiring_serial.c:112: multiple definition of __vector_18'
C:\DOCUME~1\Bob\LOCALS~1\Temp\build6597.tmp\core.a(HardwareSerial.cpp.o):C:\Documents and Settings\Bob\Bureaublad\arduino\arduino-0015-win\arduino-0015\hardware\cores\arduino/HardwareSerial.cpp:95: first defined here
Couldn't determine program size: C:\Documents and Settings\Bob\Bureaublad\arduino\arduino-0015-win\arduino-0015\hardware/tools/avr/bin/avr-size: 'C:\DOCUME~1\Bob\LOCALS~1\Temp\build6597.tmp\arduino_flash.hex': No such file

Its seems that its arduino 015 related. Because I get the error directly while compiling for an Arduino NG too.

hi, i had this problem by using the Serial.begin and using the uart. when removing 1 routine it worked for me