[Fixed] Error 2 Compiling 5D3 Today

Started by RenatoPhoto, January 31, 2013, 01:49:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RenatoPhoto

Unable to compile due to the following errors:

../../src/flexinfo.c: In function 'info_load_config':
../../src/flexinfo.c:621:5: warning: passing argument 2 of 'FIO_GetFileSize' from incompatible pointer type [enabled by default]
../../src/dryos.h:523:1: note: expected 'unsigned int *' but argument is of type 'uint32_t *'
../../src/flexinfo.c: In function 'info_resolve_color':
../../src/flexinfo.c:1422:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
../../src/flexinfo.c:1426:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
../../src/flexinfo.c: In function 'info_print_icon':
../../src/flexinfo.c:1539:13: warning: unused variable 'fgcolor' [-Wunused-variable]
../../src/flexinfo.c:1538:13: warning: unused variable 'bgcolor' [-Wunused-variable]
[ CC       ]   ico.o
[ CC       ]   console.o
[ CC       ]   clibrary.o
[ CC       ]   expression.o
[ CC       ]   heap.o
[ CC       ]   include.o
[ CC       ]   lex.o
[ CC       ]   parse.o
[ CC       ]   platform.o
[ CC       ]   table.o
[ CC       ]   type.o
[ CC       ]   variable.o
[ CC       ]   library_ml.o
[ CC       ]   platform_ml.o
[ CC       ]   picoc.o
[ CC       ]   chdk-gui_script.o
[ AR       ]   lib_a-setjmp.o
[ AR       ]   libstdio.a
[ LD       ]   magiclantern
tskmon.o: In function `tskmon_init':
tskmon.c:(.text+0x458): undefined reference to `pre_isr_hook'
tskmon.c:(.text+0x460): undefined reference to `post_isr_hook'
collect2: ld returned 1 exit status
../../Makefile.inc:330: recipe for target `magiclantern' failed
make[1]: *** [magiclantern] Error 1
make[1]: se sale del directorio `/home/PH/magic-lantern/platform/5D3.113'
Makefile:70: recipe for target `5D3' failed
make: *** [5D3] Error 2
http://www.pululahuahostal.com  |  EF 300 f/4, EF 100-400 L, EF 180 L, EF-S 10-22, Samyang 14mm, Sigma 28mm EX DG, Sigma 8mm 1:3.5 EX DG, EF 50mm 1:1.8 II, EF 1.4X II, Kenko C-AF 2X

1%

may be fixed in new commits but you could just turn off taskmon

add #undef CONFIG_TSKMON from features.h in the platform/5d3 and maybe remove the module in the makefile in that same folder

g3gg0

Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: [email protected]
ONLY donate for things we have done, not for things you expect!

RenatoPhoto

http://www.pululahuahostal.com  |  EF 300 f/4, EF 100-400 L, EF 180 L, EF-S 10-22, Samyang 14mm, Sigma 28mm EX DG, Sigma 8mm 1:3.5 EX DG, EF 50mm 1:1.8 II, EF 1.4X II, Kenko C-AF 2X