This kind of error can occure if you have stopped the build (Ctrl-C) and then some .o files are 0 size, just check in obj for specific file related to that driver delete it and try compiling again.