First attempt at compiling. Errors and warnings.