Have you modified your OneWire.h? Maybe accidentally?
Because i looked at the original version 2.2 OneWire.h and the line numbers don't match with your error report.
Anyways, your first error:
OneWire.h:77: error: #error "Please define I/O register types here"
is not a compiler error, but a user defined preprocessor error.
The reason you get this error is because:
#error "Please define I/O register types here" //<-- this is line number 108 for me
Notice that "Please define I/O register types here" is at line number 108 in my original version 2.2 "OneWire.h". So maybe you accidentally deleted some lines there.