Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - johnnyrun

#1
Hi all.
To devs: I would like to build 5DC binary from source code.
what is the branch/revision of the beta binary?

Is it possible  to build also from master or there are too many differences?
Yes, I understood it is unmaintained, but I would like to play with it.

Thanks

EDIT:
found it:

changeset:   4777:5760fa25cc5c
branch:      unified
summary:     Tag: ML-5Dc-Beta4
#2
General Development / Re: Can't build host binaries
October 01, 2014, 09:15:36 PM
Ok.
Removing -m32 from modules/*/Makefile did not help:

'struct raw_info' has no member named 'buffer'
(same as: http://www.magiclantern.fm/forum/index.php?topic=7122.1550)

So I did:
apt-get install gcc-4.7:i386

apt forced me to remove the 64bit version!!

After that,

/usr/bin/ld: cannot find crt1.o: No such file or directory

but it's only a path problem.
So:

LIBRARY_PATH=/usr/lib32 make

did the work. Finally.
#3
General Development / Can't build host binaries
October 01, 2014, 05:57:45 PM
Hi all.
I'm still tring to compile ML.

It builds without problem arm "things". By example "make 500D" run without problems.

When I try to build rawdng or something related to the host machine, it fails.
I tried with and without "-m32" cflag, with 4.8 and 4.7. No way.
pls help


[ GCC      ]   raw2dng
[ GCC      ]   raw2dng
[ GCC      ]   raw2dng
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.7/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.7/libgcc_s.so when searching for -lgcc_s


My setup:

$ gcc --version
gcc (Ubuntu/Linaro 4.7.3-12ubuntu1) 4.7.3
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



$ dpkg -l |grep libgcc
ii  libgcc-4.7-dev:amd64                        4.7.3-12ubuntu1                                     amd64        GCC support library (development files)
ii  libgcc-4.7-dev:i386                         4.7.3-12ubuntu1                                     i386         GCC support library (development files)
ii  libgcc-4.8-dev:amd64                        4.8.2-19ubuntu1                                     amd64        GCC support library (development files)
ii  libgcc1:amd64                               1:4.9.1-0ubuntu1                                    amd64        GCC support library
ii  libgcc1:i386                                1:4.9.1-0ubuntu1                                    i386         GCC support library


Arm toolchain:


$ dpkg -l |grep arm-none
ii  gcc-arm-none-eabi                           4.8.4.2014q3-0trusty10                              i386
#4
General Development / Re: EABI version mismatch?
September 28, 2014, 09:41:24 AM
Thanks for reply.
I was not pinning the PPA package.
Now I get
"make[1]: *** No rule to make target `/usr//lib/gcc/arm-none-eabi//libgcc.a', needed by `gcc-libgcc.a'.  Stop."


but It's another story
#5
General Development / Re: EABI version mismatch?
September 27, 2014, 09:22:19 AM
Hi all.
I've got the same problem here. Sorry for the necropost.
These are the packages installed in linux mint.

ii  binutils-arm-none-eabi                      2.24-2ubuntu2+4                                     amd64
ii  gcc-arm-none-eabi                           4.8.2-14ubuntu1+6                                   amd64       
ii  libc6-arm64-cross                           2.19-0ubuntu2cross0.10                              all         
ii  libc6-armel-cross                           2.19-0ubuntu2cross1.104                             all         
ii  libc6-armhf-cross                           2.19-0ubuntu2cross1.104                             all         
ii  libc6-dev-arm64-cross                       2.19-0ubuntu2cross0.10                              all         
ii  libc6-dev-armel-cross                       2.19-0ubuntu2cross1.104                             all         
ii  libc6-dev-armhf-armel-cross                 2.19-0ubuntu2cross1.104                             all         
ii  libc6-dev-armhf-cross                       2.19-0ubuntu2cross1.104                             all         
ii  libnewlib-arm-none-eabi                     2.1.0-3                                             all         
ii  linux-libc-dev-arm64-cross                  3.13.0-12.32cross0.10                               all         
ii  linux-libc-dev-armel-cross                  3.13.0-12.32cross1.104                              all         
ii  linux-libc-dev-armhf-cross                  3.13.0-12.32cross1.104                              all 

1% talks abot an "L" flag. But I don't find it. Where is it?


Thank a lot
#6
User Introduction / What's under the cover?
September 27, 2014, 09:11:45 AM
Hi all!
I'm using ML and I like it.
I'm reading the code and want to know better what happen under the cover.


Regards