Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
I expect the issue is white-space related and occurs when you copy from the wiki. This has happened a few times, I'll try do something about it. I'll make a git repo you can clone instead, so you know you got the right code. Also, that -m32 option looks suspicious, that's not something that is needed - you didn't get that from meaty skeleton. I suggest you verify kernel/arch/i386/make.config is as it should be.
The -m32 is from trying not get errors from being on a 64bit machine and compiling for 32bit. Turned out it was a messed up cross compiler that resolved itself after rebuilding it.
This should avoid such errors in the future. I'm glad you're using the tutorial and sorry you, among a bunch of errors, fall prone to issues when copying the code manually.
I did a copy of the code myself, with Firefox and a Linux system, and while blank lines was replaced with a single space, that was harmless and the code worked. I don't know how you got your whitespace errors.