Update Makefile to stop compile warning messages
Update error codes