Arduino Compiler Problem

Hey guys, I recently just sold a unit with an arduino in it that needs to be updated, but when I updated the Arduino enviornement/complier I got errors that were not shown on the old Arduino complier.

On arduino 0022 it gives me the ok

-Binary sketch size: 13920 bytes (of a 30720 byte maximum)

Then on Arduino 1.0 i get this error:

Final.cpp: In function 'void loop()':
Final.pde:-1: error: call of overloaded 'write(int)' is ambiguous

I don't know what to do because i do not see any ambiguous writes.

Some functions has changed

Some functions has changed names in Arduino 1.0. See the Release notes.