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: Thu, 24 Sep 2015 18:57:35 -0700

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


reply via email to

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