Magic Lantern Forum

Developing Magic Lantern => General Development => Topic started by: Can0nUser on July 29, 2014, 08:38:03 PM

Title: Strange Error while compiling modules
Post by: Can0nUser on July 29, 2014, 08:38:03 PM
Hi Guys,
I'm using the Magic Lantern VM and already solved some issues on my way to compile some code (modules etc.)...
But now I'm stuck with an error I get, while compiling the modules...
It looks like this:
magiclantern@magiclantern-VirtualBox:~/magic-lantern/modules/mlv_rec$ sudo make
Not trusting file /home/magiclantern/magic-lantern/.hg/hgrc from untrusted user magiclantern, group magiclantern
Not trusting file /home/magiclantern/magic-lantern/.hg/hgrc from untrusted user magiclantern, group magiclantern
REBUILDING
[ README   ]   module_strings.h
LC_TIME=EN hg log . -r $(basename $(hg id -n) +):0 -l 1 --template '{date|hgdate}
{node|short}
{author|user}
{desc|strip|firstline}'
1406545091 -10800
134ce9142097
a1ex
Merged unified into 5D3-123
Not trusting file /home/magiclantern/magic-lantern/.hg/hgrc from untrusted user magiclantern, group magiclantern
Not trusting file /home/magiclantern/magic-lantern/.hg/hgrc from untrusted user magiclantern, group magiclantern
Not trusting file /home/magiclantern/magic-lantern/.hg/hgrc from untrusted user magiclantern, group magiclantern
Not trusting file /home/magiclantern/magic-lantern/.hg/hgrc from untrusted user magiclantern, group magiclantern

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x4031d1e4>)
make: *** [module_strings.h] Error 1


Got no plan what type of error this is (Python, C what ever...) I come from a PHP background.

Does anyone understand what this error is about?

Would be awesome if someone could help. :)

Update:
The error is gone but now there is an error in mlv_rec.c
Looks like this:
REBUILDING
[ README   ]   module_strings.h
[ CC       ]   mlv_rec.o
mlv_rec.c: In function 'raw_video_rec_task':
mlv_rec.c:3080:13: error: implicit declaration of function 'FIO_SeekFile' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make: *** [mlv_rec.o] Error 1

Solution? ;)
Title: Re: Strange Error while compiling modules
Post by: dmilligan on July 29, 2014, 10:01:43 PM
Quote from: Can0nUser on July 29, 2014, 08:38:03 PM
Solution? ;)
hg pull
hg update