Jessemonroy650, I think I got that error because my version of gcc doesn't know what "--std" is. I'll look into cross compiling. If I could just compile the kernel module that I need and use the normal Linino distribution, that'd be great. Thanks for the link.
Yes, I was aware you were missing "--std" flag from your compiler. I don't normally compile modules. I don't like "bleeding edge". SonnyYu is much better at this. Hence, why I'm saying listen to SonnyYu. He correctly pointed out that going from your 4.x to 4.8 compiler was going to have issues - mostly because it is not in a menu.
As for SonnyYun's comments, I believe he can help you get your module. He generally knows how. He is much better than I on this. I tend to document solutions, not make solutions.
Also, that certain library might need an extra library (or upgraded library). So my comment stands, Consider SonnyYu's suggestion, because personally I would abandon that library and look for another solution. HOWEVER, I don't know what your final end goal is - So i can only wish you luck and encouragement. :D
Lastly, for clarity, when I say sonnyyu is very good at getting in the dirt, I mean he is willing to do work that other often avoid - including myself. So, it is a complement to SonnyYu's ability. I think he is very good.