paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Fail to build paparazzi on Yosemite


From: Piotr Esden-Tempski
Subject: Re: [Paparazzi-devel] Fail to build paparazzi on Yosemite
Date: Sun, 27 Sep 2015 15:39:01 -0700

Thanks Yannick for commenting, this is exactly what I meant with stale libraries. You need to recompile all ocaml libraries with new xcode after upgrade, this is what the warning says. Downgrading is not the right solution.

As for the arm toolchain, you really want to use the launchpad gcc arm embedded: https://launchpad.net/gcc-arm-embedded it is not provided by ubuntu, you need to use a ppa for that. I doubt there are packages for macports or home-brew for that either. But I did not check recently. Probably the best way is to download the newest tarball as described on the installation wiki page: http://wiki.paparazziuav.org/wiki/Installation/MacOSX

Cheers,
Piotr

On Sep 27, 2015, at 6:11 AM, Yannick Jestin <address@hidden> wrote:


On 27 sept. 2015, at 10:54, Tom hardson <address@hidden> wrote:

Hi,Esden,
I found that the warning about:"ld: warning: object file (ml_gtk_drag.o) was built for newer OSX version (10.10) than being linked (10.4)” is a bug of the newest Xcode(7.0).And I have fixed it with a downgrade of Xcode from v7.0 to v6.4.So,I wonder if the warning about"gcc: warning: couldn’t understand kern.osversion ’14.5.0" is also caused by an improper version of gcc compiler(gcc-arm-none-eabi-4_9-2015q3-20150921-mac)?And what's the version of your gcc for your paparazzi on mac?Thank you!


 The fact is that ml_gtk (labelgtk2) depends on the libraries built beforehand. e.g:

$ otool -L /opt/local/lib/ocaml/site-lib/stublibs/dlllablgtk2.so
 … tons of libs

$ otool -L /opt/local/lib/ocaml/site-lib/stublibs/dllivy-ocaml.so
/opt/local/lib/ocaml/site-lib/stublibs/dllivy-ocaml.so:
/opt/local/lib/libivy.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)

 if you move to a newer Xcode (command line tools),

$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.0.0 (clang-700.0.72)
Target: x86_64-apple-darwin14.5.0
Thread model: posix

 then you have to re-compile all dependents (by hand, homebrew, or macports)

 With regards to gcc-arm-none-eabi, I think that the one that’s known to work with ppz is the one provided with ubuntu (4.9.3.2014q4-0trusty12). Macports provides arm-none-eabi-gcc              @5.1.0 , I don’t know if it’s reliable.


 Y.


_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]