Are you using GCC 4.0, now the default for sid? I had this problem with GCC 4.0, but GCC 3.3 seems to compile generic_serial.c okay, albeit with lots of warnings.
Attachment: signature.asc Description: Digital signature