Author Topic: Canon 50D  (Read 305875 times)

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 10180
  • 5D Mark Free
Re: Canon 50D
« Reply #700 on: September 03, 2017, 07:55:44 PM »
"hg bisect" is what you can do to help.

You only need not to be afraid of the command line - it works on all major operating systems.

justinbacle

  • New to the forum
  • *
  • Posts: 38
  • DP
Re: Canon 50D
« Reply #701 on: September 04, 2017, 12:16:40 AM »
I'll try and do that. Never used hg_bisect but doesn't seem that difficult. I already have magic lantern build set in bash fo windows

justinbacle

  • New to the forum
  • *
  • Posts: 38
  • DP
Re: Canon 50D
« Reply #702 on: September 04, 2017, 06:36:08 AM »
I got :
[email protected]:~/magic-lantern$ hg bisect
abort: cannot bisect (no known bad revisions)

Not sure it helps  ::) Am I missing something ?

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 10180
  • 5D Mark Free
Re: Canon 50D
« Reply #703 on: September 04, 2017, 08:49:22 AM »
You need to mark the last changeset as bad and the older one as good:
https://stackoverflow.com/questions/3534107/what-is-mercurial-bisect-good-for
http://hgbook.red-bean.com/read/finding-and-fixing-mistakes.html

e.g.
Code: [Select]
hg up unified -C
hg bisect --reset
hg bisect --bad
hg up older_changeset -C
hg bisect --good

Then, it's best to recompile both ML and the affected module(s); "make zip" from platform/50D.109 should be fine.

justinbacle

  • New to the forum
  • *
  • Posts: 38
  • DP
Re: Canon 50D
« Reply #704 on: September 06, 2017, 09:23:41 PM »
I'm pretty sure the problems happens at or after changeset 443884d (used on build 2017Aug17).
I'll have to compile versions in between the ones available for download right ?
As I still have trouble compiling myself, I cannot go further :s

make zip ends in :
Code: [Select]
boot-hack.o: In function `my_init_task':
boot-hack.c:(.text+0x230): undefined reference to `_bss_end'
boot-hack.c:(.text+0x234): undefined reference to `_text_start'
boot-hack.o: In function `my_task_dispatch_hook':
boot-hack.c:(.text+0x378): undefined reference to `_task_overrides_start'
boot-hack.c:(.text+0x37c): undefined reference to `_task_overrides_end'
boot-hack.o: In function `copy_and_restart':
boot-hack.c:(.text+0x560): undefined reference to `_bss_start'
boot-hack.c:(.text+0x564): undefined reference to `_bss_end'
boot-hack.c:(.text+0x57c): undefined reference to `_bss_end'
boot-hack.o: In function `my_big_init_task':
boot-hack.c:(.text+0x67c): undefined reference to `_init_funcs_start'
boot-hack.c:(.text+0x680): undefined reference to `_init_funcs_end'
boot-hack.c:(.text+0x690): undefined reference to `_tasks_start'
boot-hack.c:(.text+0x694): undefined reference to `_tasks_end'
config.o: In function `get_config_var_struct':
config.c:(.text+0x258): undefined reference to `_config_vars_start'
config.c:(.text+0x25c): undefined reference to `_config_vars_end'
config.o: In function `config_var_lookup':
config.c:(.text+0x290): undefined reference to `_config_vars_start'
config.c:(.text+0x294): undefined reference to `_config_vars_end'
config.o: In function `config_save_file':
config.c:(.text+0x8e4): undefined reference to `_config_vars_start'
config.c:(.text+0x8f8): undefined reference to `_config_vars_end'
config.o: In function `config_parse_file':
config.c:(.text+0xaa0): undefined reference to `_config_vars_start'
config.c:(.text+0xaa4): undefined reference to `_config_vars_end'
property.o: In function `prop_add_internal_handlers':
property.c:(.text+0x1a4): undefined reference to `_prop_handlers_start'
property.c:(.text+0x1a8): undefined reference to `_prop_handlers_end'
module.o: In function `_module_load_all':
module.c:(.text+0xeb4): undefined reference to `_module_symbols_start'
module.c:(.text+0xeb8): undefined reference to `_module_symbols_end'
make: *** [magiclantern] Error 1

Anyone got the same problem on the 50D here ?

justinbacle

  • New to the forum
  • *
  • Posts: 38
  • DP
Re: Canon 50D
« Reply #705 on: September 12, 2017, 10:51:26 PM »
mlv_rec is working again in the latest build :) Sorry I couldn't help pinpoint the reason why it broke on august builds :s

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 10180
  • 5D Mark Free
Re: Canon 50D
« Reply #706 on: September 13, 2017, 09:13:38 AM »
The only change in the latest build was in the silent picture module (nothing changed on mlv_rec or ML core). You can check the previous build again - maybe something changed in your settings meanwhile?

The above error should disappear with "make clean" - not sure why it happens though.

justinbacle

  • New to the forum
  • *
  • Posts: 38
  • DP
Re: Canon 50D
« Reply #707 on: September 13, 2017, 07:31:05 PM »
Thank you a1ex, make clean helped compiling :) There's still a few errors but it compiles now !
I can start hunting now. I'll do it this week-end or as soon as I have a few hours free.