Etiquette, expectations, entitlement...@autoexec_bin | #magiclantern | Discord | Reddit | Server issues
sudo port install truncate
make docq
My advice: Ignore it...
I used VM, finally no more bugs and all my problems solved:http://www.magiclantern.fm/forum/index.php?topic=7579.0
How? The Make fails like this:
make 60D # or whatever your camera iscd modulesmakecd ..mkdir -p ../dist/ml/modulesrm -f ../dist/ml/modules/*.momv platform/60D.111/autoexec.bin ../distmv platform/60D.111/60D_111.sym ../dist/ml/modules/mv modules/*/*.mo ../dist/ml/modules
Where did you get your source from? Did you clone it with "hg clone -r unified https://bitbucket.org/hudson/magic-lantern" ?Have you tried "make 5D3" ?
Yes, but you can circumvent it by compiling the core & modules expicitly:
lots of spew but no clear error and no bins.
...[ CC ] propvalues.o[ CC ] gui-common.o[ CC ] chdk-gui_draw.o[ CC ] movtweaks.o[ CC ] menuhelp.o[ MENU IDX ] ../../src/menuindexentries.hNo menuindex.txt! The "Complete user guide" menu is empty!Run make docq to update menuindex.txt.[ CC ] menuindex.o[ CC ] af_patterns.o[ CC ] focus.o[ CC ] notify_box.o[ CC ] bootflags.o[ CC ] dialog_test.o...
makemake -C /Users/steve/ml/magic-lantern/platform/5D3.113[ VERSION ] ../../platform/5D3.113/version.bin[ CPP ] magiclantern.lds[ AS ] ../../platform/5D3.113/stubs.o[ VERSION ] ../../platform/5D3.113/version.c[ CC ] version.o[ CC ] boot-hack.o[ CC ] ico.o[ CC ] edmac.o[ CC ] menu.o[ CC ] debug.o../../src/debug.c:4596:12: warning: 'zoom_in_pressed' defined but not used [-Wunused-variable][ CC ] cfn.o[ CC ] gui.o[ CC ] picstyle.o[ CC ] exmem.o[ CC ] bmp.o../../src/bmp.c: In function 'bmp_puts':../../src/bmp.c:388:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare][ CC ] font-dyn.o[ CC ] config.o../../src/config.c: In function 'config_var_lookup':../../src/config.c:362:5: warning: return makes pointer from integer without a cast [enabled by default][ CC ] stdio.o[ CC ] bitrate-5d3.o[ CC ] lcdsensor.o[ CC ] tweaks.o[ CC ] lens.o[ CC ] property.o[ CC ] propvalues.o[ CC ] gui-common.o[ CC ] chdk-gui_draw.o[ CC ] movtweaks.o[ CC ] menuhelp.o[ MENU IDX ] ../../src/menuindexentries.hNo menuindex.txt! The "Complete user guide" menu is empty!Run make docq to update menuindex.txt.[ CC ] menuindex.o../../src/menuindex.c:108:42: fatal error: menuindexentries.h: No such file or directorycompilation terminated.make[1]: *** [menuindex.o] Error 1make: *** [5D3] Error 2
makemake -C /Users/steve/ml/magic-lantern/platform/5D3.113[ VERSION ] ../../platform/5D3.113/version.bin[ VERSION ] ../../platform/5D3.113/version.c[ CC ] version.o[ CC ] menuindex.o[ CC ] focus.o[ CC ] notify_box.o[ CC ] dialog_test.o[ CC ] vram.o[ CC ] aj_port.o[ CC ] fps-engio.o[ CC ] shoot.o../../src/shoot.c: In function 'display_shooting_info_lv':../../src/shoot.c:6055:9: warning: unused variable 'audio_meters_at_top' [-Wunused-variable][ CC ] hdr.o[ CC ] lv-img-engio.o[ CC ] state-object.o[ CC ] tasks.o[ CC ] vsync-lite.o[ CC ] tskmon.o[ CC ] battery.o[ CC ] imgconv.o[ CC ] histogram.o[ CC ] falsecolor.o[ CC ] audio-ak.o[ CC ] zebra.o[ CC ] beep.o[ CC ] crop-mode-hack.o[ CC ] ph_info_disp.o[ CC ] flexinfo.o[ CC ] fileprefix.o[ CC ] console.o[ CC ] tcc-glue.o../../src/tcc-glue.c: In function 'open':../../src/tcc-glue.c:64:5: warning: passing argument 2 of 'FIO_GetFileSize' from incompatible pointer type [enabled by default]In file included from ../../src/tcc-glue.c:9:0:../../src/dryos.h:532:12: note: expected 'uint32_t *' but argument is of type 'unsigned int *'../../src/tcc-glue.c: In function 'read':../../src/tcc-glue.c:97:5: warning: passing argument 2 of 'memcpy' makes pointer from integer without a cast [enabled by default]In file included from ../../src/tcc-glue.c:9:0:../../src/dryos.h:549:15: note: expected 'const void *' but argument is of type 'long unsigned int'../../src/tcc-glue.c: In function 'close':../../src/tcc-glue.c:105:5: warning: passing argument 1 of 'free_dma_memory' makes pointer from integer without a cast [enabled by default]In file included from ../../src/tcc-glue.c:9:0:../../src/dryos.h:557:13: note: expected 'const void *' but argument is of type 'int'../../src/tcc-glue.c: In function 'fputc':../../src/tcc-glue.c:158:1: warning: number of arguments doesn't match built-in prototype [enabled by default]make -C ../../tccmake[2]: Nothing to be done for `all'.[ CC ] module.o../../src/module.c: In function 'module_get_symbol':../../src/module.c:573:5: warning: return makes integer from pointer without a cast [enabled by default][ CC ] video_hacks.o[ CC ] fio-5d3.o[ CC ] misc.o[ CC ] afma.o../../src/afma.c: In function 'afma_auto_tune_automatic':../../src/afma.c:362:9: warning: 'return' with a value, in function returning void [enabled by default][ CC ] raw.o[ CC ] chdk-dng.o[ CC ] edmac-memcpy.o../../src/edmac-memcpy.c: In function 'edmac_memcpy_init':../../src/edmac-memcpy.c:52:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]../../src/edmac-memcpy.c:56:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]../../src/edmac-memcpy.c:67:9: warning: passing argument 1 of 'CreateResLockEntry' from incompatible pointer type [enabled by default]In file included from ../../src/edmac-memcpy.c:3:0:../../src/edmac.h:73:19: note: expected 'uint32_t *' but argument is of type 'int *'../../src/edmac-memcpy.c: In function 'edmac_memcpy_res_lock':../../src/edmac-memcpy.c:94:9: warning: 'return' with a value, in function returning void [enabled by default]../../src/edmac-memcpy.c: In function 'edmac_memset':../../src/edmac-memcpy.c:208:5: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [enabled by default]In file included from ../../src/edmac-memcpy.c:2:0:../../src/dryos.h:51:15: note: expected 'void *' but argument is of type 'long unsigned int'../../src/edmac-memcpy.c:211:5: warning: passing argument 1 of 'edmac_copy_rectangle_adv_start' makes pointer from integer without a cast [enabled by default]../../src/edmac-memcpy.c:107:7: note: expected 'void *' but argument is of type 'long unsigned int'../../src/edmac-memcpy.c:211:5: warning: passing argument 2 of 'edmac_copy_rectangle_adv_start' makes pointer from integer without a cast [enabled by default]../../src/edmac-memcpy.c:107:7: note: expected 'void *' but argument is of type 'long unsigned int'../../src/edmac-memcpy.c:220:9: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [enabled by default]In file included from ../../src/edmac-memcpy.c:2:0:../../src/dryos.h:51:15: note: expected 'void *' but argument is of type 'long unsigned int'[ CC ] asm.o../../src/asm.c: In function 'seems_to_be_string':../../src/asm.c:22:15: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]../../src/asm.c: In function 'asm_guess_func_name_from_string':../../src/asm.c:36:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare][ AR ] strrchr.o[ AR ] dietlibc.a[ AR ] lib_a-setjmp.o[ AR ] newlib-libc.a[ LD ] magiclanterndietlibc.a(vsscanf.o): In function `vsscanf':vsscanf.c:(.text+0x5c): warning: warning: the scanf functions add several kilobytes of bloat.dietlibc.a(sprintf.o): In function `sprintf':sprintf.c:(.text+0x14): warning: warning: Avoid *sprintf; use *snprintf. It is more secure./Users/steve/mltools/yagarto/yagarto-4.7.2/bin/../lib/gcc/arm-none-eabi/4.7.2/libgcc.a(unwind-arm.o): In function `unwind_phase2':/Users/mfischer/Projects/yagarto/gcc-build/arm-none-eabi/libgcc/../../../gcc-4.7.2/libgcc/unwind-arm-common.inc:289: undefined reference to `abort'/Users/steve/mltools/yagarto/yagarto-4.7.2/bin/../lib/gcc/arm-none-eabi/4.7.2/libgcc.a(unwind-arm.o): In function `__gnu_Unwind_Resume':/Users/mfischer/Projects/yagarto/gcc-build/arm-none-eabi/libgcc/../../../gcc-4.7.2/libgcc/unwind-arm-common.inc:487: undefined reference to `abort'/Users/mfischer/Projects/yagarto/gcc-build/arm-none-eabi/libgcc/../../../gcc-4.7.2/libgcc/unwind-arm-common.inc:505: undefined reference to `abort'/Users/steve/mltools/yagarto/yagarto-4.7.2/bin/../lib/gcc/arm-none-eabi/4.7.2/libgcc.a(pr-support.o): In function `_Unwind_GetDataRelBase':/Users/mfischer/Projects/yagarto/gcc-build/arm-none-eabi/libgcc/../../../gcc-4.7.2/libgcc/config/arm/pr-support.c:394: undefined reference to `abort'/Users/steve/mltools/yagarto/yagarto-4.7.2/bin/../lib/gcc/arm-none-eabi/4.7.2/libgcc.a(pr-support.o): In function `_Unwind_GetTextRelBase':/Users/mfischer/Projects/yagarto/gcc-build/arm-none-eabi/libgcc/../../../gcc-4.7.2/libgcc/config/arm/pr-support.c:400: undefined reference to `abort'collect2: error: ld returned 1 exit statusmake[1]: *** [magiclantern] Error 1make: *** [5D3] Error 2