Problem with installing wanpipe

hello
when I want to install wanpipe on my linux i face with this error and it removes from instaliing setup, actully my problem happens while it wnat to compile wanpipe driver

Compiling General WANPIPE Driver for 2.6.X Kernel .
make[2]: *** [/usr/src/wanpipe-7.0.23/kdrvtmp/af_wanpipe_src.o] Error 1
make[1]: *** [module/usr/src/wanpipe-7.0.23/kdrvtmp] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-642.6.2.el6.x86_64’
make: *** [all] Error 2

does anybody have any idea how to solve it?
thanks

Which version of Linux are you using? (EG: CentOS 7.x)

Linux version 2.6.32-642.6.2.el6.x86_64 ([email protected]) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) ) #1 SMP Wed Oct 26 06:52:09 UTC 2016

Centos 6.6