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: Tom hardson
Subject: Re: [Paparazzi-devel] Fail to build paparazzi on Yosemite
Date: Sun, 27 Sep 2015 08:54:40 +0000 (UTC)

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!

yours!



On Friday, September 25, 2015 9:57 AM, Piotr Esden-Tempski <address@hidden> wrote:


Hi Tom,

I am also getting the warnings you are getting, regarding Strings.set being deprecated. I am not getting the "gcc: warning: couldn’t understand kern.osversion ’14.5.0” and "ld: warning: object file (ml_gtk_drag.o) was built for newer OSX version (10.10) than being linked (10.4)”

I think you have some stale ocaml libraries sitting around from before you updated your OS X. Also META.pprz.template should be there, it also looks like something left over from the past. The error regarding ./paparazzi not finding ocaml is definitely a stale ./paparazzi script. You should delete that file and let paparazzi makefile recreate it.

I hope this helps.

Cheers,
Piotr

--
Piotr Esden-Tempski
Founder: 1BitSquared

On Sep 24, 2015, at 4:29 AM, Tom hardson <address@hidden> wrote:

Hi,everybody.,
Thanks to the help of Felix and Esden.I have built the paparazzi without error after upgraded my mac from 10.8.5 to 10.10.5, and shift from macport to homebrew, and upgraded Xcode etc.However,the process of build is full of warnings.And the paparazzi turns out to be unexecutable.(Input:  $ ./paparazzi return: -bash: ./paparazzi: /opt/local/bin/ocamlrun: bad interpreter: No such file or directory) Why?And how could I fix it?Thank you!

Below is part of the warning messages come from the building:
.....
gcc: warning: couldn’t understand kern.osversion ‘14.5.0
ld: warning: ld: warning: object file (test_sdl_stick.o) was built for newer OSX version (10.10) than being linked (10.4)object file (/var/folders/64/s2zb4hn926bd2wdmk6ynrf8m0000gn/T//ccOZ8sZC.o) was built for newer OSX version (10.10) than being linked (10.4)

CC sdl_stick.o
gcc: warning: couldn’t understand kern.osversion ‘14.5.0
CC ml_sdl_stick.o
gcc: warning: couldn’t understand kern.osversion ‘14.5.0
OC input2ivy.ml
OL input2ivy
gcc: warning: couldn’t understand kern.osversion ‘14.5.0
ld: warning: directory not found for option '-L/opt/local/lib'
ld: warning: object file (/var/folders/64/s2zb4hn926bd2wdmk6ynrf8m0000gn/T//ccNXkARQ.o) was built for newer OSX version (10.10) than being linked (10.4)
ld: warning: object file (sdl_stick.o) was built for newer OSX version (10.10) than being linked (10.4)
ld: warning: object file (ml_sdl_stick.o) was built for newer OSX version (10.10) than being linked (10.4)
......
$ ./paparazzi
-bash: ./paparazzi: /opt/local/bin/ocamlrun: bad interpreter: No such file or directory

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


_______________________________________________
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]