Compilation error on nodejs (8.x) SDK on cetnos6.8

what is your GCC version? Have you tried steps from this topic: Unable to install node SDK with ES6?