magiclantern_simplified icon indicating copy to clipboard operation
magiclantern_simplified copied to clipboard

module build is missing some dependency

Open reticulatedpines opened this issue 1 year ago • 0 comments

To repro, make zip a cam, edit mlv_rec/mlv.c (probably enough of an edit to move symbols around? Unsure), make zip again. This can cause errors:

[ MODULE   ]   mlv_rec.mo
mlv.o: file not recognized: file format not recognized

[...]

[ MODULE   ]   mlv_lite.mo
../mlv_rec/mlv.o: file not recognized: file format not recognized
make[4]: *** [../Makefile.modules:51: mlv_lite.mo] Error 1

mlv_lite.mo depends on mlv.o, but probably this is not checked during a cam build? Something like that, anyway. Make clean in modules dir, then make zip cam fixes it.

reticulatedpines avatar Jan 30 '24 13:01 reticulatedpines