Originally Posted by tx2rx
I ran into the same issue use instead:
Make sure you make clean and then run make again.
This is not what you want to do... unlike many other configure found in other package ; when you do --enable-option all it does is force stuff to be compiled ; it doesn't check if it works or not...
This configure script is NOT autoconf-based, even though its output is similar.
It will try to autodetect all configuration options. If you --enable an option
it will be forcefully turned on, skipping autodetection. This can break
compilation, so you need to know what you are doing.
To compile properly on Ubuntu based system you simply first do:
sudo apt-get build-dep mplayer
which will install all the dependencies required to build a package.
Then running the build script provided by nvidia is all you need to do.