Messages....
Compile Project, Target: project1: Exit code 1, Errors: 13, Warnings: 7
unit1.pas(134,14) Error: Identifier not found "Cint"
unit1.pas(134,18) Error: Error in type definition
unit1.pas(135,15) Error: Identifier not found "TSerialStruct"
unit1.pas(135,28) Error: Error in type definition
unit1.pas(137,43) Warning: range check error while evaluating constants (4294967295 must be between -2147483648 and 2147483647)
unit1.pas(146,16) Error: Identifier not found "fpopen"
unit1.pas(146,33) Error: Identifier not found "O_RdWr"
unit1.pas(146,43) Error: Identifier not found "O_NonBlock"
unit1.pas(146,57) Error: Identifier not found "O_NoCtty"
unit1.pas(147,16) Error: Operator is not overloaded: "<erroneous type>" > "ShortInt"
unit1.pas(150,17) Error: Identifier not found "fpioctl"
unit1.pas(150,29) Error: Identifier not found "TIOCGSERIAL"
unit1.pas(153,25) Error: Illegal qualifier
unit1.pas(155,18) Error: Identifier not found "fpclose"