You are missing a header file. When you do the build, send it to and output file. Like so
make 2>&1 | tee make.out
Then after it fails, look above where the error came out. It should say something about a missing .h file. That's the file you need. On RH systems, the is two packages for bison, a regular and devel package which provides the headers. I don't know about deb systems, except that I could not find a dev, as deb calls them, package.