Magic Lantern Forum

Developing Magic Lantern => General Development => Topic started by: dpjpandone on August 09, 2015, 12:34:16 AM

Title: first time compiling from main branch in month, new error message
Post by: dpjpandone on August 09, 2015, 12:34:16 AM
Jon@Jon-PC /cygdrive/c/magic-lantern/platform/eosm.202
$ make zip
../../Makefile.inc:79: remove /cygdrive/c/magic-lantern/platform/eosm.202/zip
[ RM dir ]  /cygdrive/c/magic-lantern/platform/eosm.202/zip/
mkdir -p /cygdrive/c/magic-lantern/platform/eosm.202/zip
[ VERSION  ]   ../../platform/EOSM.202/version.c
abort: there is no Mercurial repository here (.hg not found)
[ CC       ]   version.o
[ CC       ]   fps-engio.o
../../src/fps-engio.c:237:6: error: #error fixme: FPS_TIMER_B_MIN and FPS_TIMER_B_MIN are plain wrong
     #error fixme: FPS_TIMER_B_MIN and FPS_TIMER_B_MIN are plain wrong
      ^
../../src/fps-engio.c:295:12: warning: 'fps_timer_b_method' defined but not used [-Wunused-variable]
static int fps_timer_b_method = 0;
            ^
../../Makefile.filerules:23: recipe for target 'fps-engio.o' failed
make: *** [fps-engio.o] Error 1


I know I have to fix fps.engio, but what's up w/ .hg not found, never saw that before...
Title: Re: first time compiling from main branch in month, new error message
Post by: Licaon_Kter on August 09, 2015, 08:30:57 AM
Oh, cross-compile on Windows, you're brave, I'm doing it on real Linux and on Virtualbox with Linux.
Looks like a harmless thing regarding mercurial indexes.

I usually do a:
make clean -j4 && make -j4 && make all_modules -j4 && cd platform/EOSM.202 && make -j4 zip


Removing line fps-engio.c:237 makes the build go on I guess anyway?
Title: Re: first time compiling from main branch in month, new error message
Post by: dpjpandone on August 12, 2015, 05:23:49 AM
Jon@Jon-PC /cygdrive/c/magic-lantern/modules/mlv_rec
$ make
abort: no repository found in 'C:\magic-lantern\modules\mlv_rec' (.hg not found)!
Updated HGVERSION
[ README   ]   module_strings.h
LC_TIME=EN hg log . -r 'reverse(ancestors(.))' -l 1 --template '{date|hgdate}
{node|short}
{author|user}
{desc|strip|firstline}'

abort: no repository found in 'C:\magic-lantern\modules\mlv_rec' (.hg not found)!

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x6ffffd57ab8>)
../Makefile.modules:39: recipe for target 'module_strings.h' failed
make: *** [module_strings.h] Error 1


nevermind, I have to build each module inside their individual folders, can't build them all in one pass. sucky! but works...