I have a Mightex camera and have been given the source code for the drivers by the company. They have been very helpful so far but was hoping to ask here and understand what's going on. This is the first time I have to manually install / compile drivers like this so please excuse my ignorance.
In the readme file it says I should do the following:
make
make install
and that should be it.
It doesn't say I should but I run it as root (ie use sudo
)
When I run sudo make
I get a bunch of warnings about variables not used etc (let me know if this is needed so I can post) Also, I then proceed to run sudo make install
and get the following error:
/sbin/depmod -aeE
/sbin/depmod: option requires an argument -- 'E'
make: *** [install] Error 1
The man page of depmod
says:
When combined with the -e option, this reports any symbol versions supplied by modules that do not match with the symbol versions provided by the kernel in its Module.symvers. This option is mutually incompatible with -F.
But not sure what to do with that information. I have a Module.symvers
file but it's empty.
Any help would be much appreciated. I'm a bit at a loss here.
I'm running Ubuntu 14.04.