Quote:
cd /lib/modules/2.4.36.9; \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.36.9; fi
Version requires old depmod, but couldn't run /sbin/depmod.old: No such file or directory
make: *** [_modinst_post] Error 2
|
This error was preventing me from building some modules that were needed. There is a workaround for this error, so that in case you get this error then you can use this solution too. This is what I did, I copied the /sbin/depmod to /sbin/depmod.old, and then re-ran make, and it worked.
# which depmod
/sbin/depmod
# cp /sbin/depmod /sbin/depmod.old
# make