|
From: | Rijesh Augustine |
Subject: | Re: [Paparazzi-devel] make error in the very latest build |
Date: | Mon, 23 Oct 2017 23:40:43 -0600 |
And here is the latest attempt output after i re installed EVERYTHING.address@hidden:~/paparazzi$ make ------------------------------------------------------------ Building Paparazzi version v5.13_devel-22-g7bbb52a-dirty------------------------------------------------------------ make -C data/maps----------------------------------------------- DOWNLOAD: google maps version codeUpdated google maps version to 746----------------------------------------------- [ -L conf/conf.xml ] || [ -f conf/conf.xml ] || cp conf/conf_example.xml conf/conf.xmlmake -C sw/ext pprzlink.updateSubmodule 'sw/ext/pprzlink' () registered for path 'sw/ext/pprzlink'Check for already installed pprzlink ocaml lib-> found lib version 1.0 while installing 1.0Build bytecode libBuild native libINSTALL at location /home/hendrix/paparazzi/var/lib/ocaml # Install correct version python library to DESTDIRINSTALL at location /home/hendrix/paparazzi/var/lib/python make -C sw/lib/ocamlOCY expr_parser.mlyOCL expr_lexer.mll40 states, 423 transitions, table size 1932 bytesDEPEND .dependOC compat.mliOC compat.mlOC fig.mliOC fig.mlOC debug.mliOC debug.mlOC base64.mliOC base64.mlOC serial.mliOC serial.mlOC ocaml_tools.mliOC expr_syntax.mliOC expr_parser.mliOC extXml.mliOC extXml.mlOC env.mliOC env.mlOC xml2h.mliOC xml2h.mlOC latlong.mliOC latlong.mlOC egm96.mliOC egm96.mlOC srtm.mliOC srtm.mlOC http.mliOC http.mlOC maps_support.mliOC gm.mliOC gm.mlOC iGN.mliOC iGN.mlOC geometry_2d.mliOC cserial.cOC ubx.mliOC ubx.mlOC xmlCom.mliOC xmlCom.mlOC os_calls.mliOC os_calls.mlOC editAirframe.mliOC editAirframe.mlOC defivybus.mliOC defivybus.mlOC fp_proc.mliOC fp_proc.mlOC gen_common.mliOC quaternion.mliFile "quaternion.ml", line 44, characters 2-167:Error: The record field label y belongs to the type euler_anglebut is mixed here with labels of type quaternionmake[1]: *** [quaternion.cmo] Error 2make: *** [libpprz] Error 2address@hidden:~/paparazzi$ On Tue, Oct 24, 2017 at 7:53 AM, hendrixgr . <address@hidden> wrote:I made a fresh install and it still does not compile...Here is the output of the make commandOL ivy2serialOL ivy_serial_bridgeOL app_serverOL ivy2nmeamake -C /home/hendrix/paparazzi/sw/tools/generators DEPEND .dependOL gen_ubx.mlOL gen_mtk.mlFile "gen_flight_plan.ml", line 871, characters 8-18:Error: Unbound value List.iterimake[1]: *** [gen_flight_plan.cmo] Error 2make: *** [generators] Error 2address@hidden:~/paparazzi$ On Tue, Oct 24, 2017 at 7:42 AM, Rijesh Augustine <address@hidden> wrote:Hi.OK, It seems like your earlier version of OCaml is not happy with how I set up a few types.I made a pull request with the some modified code that I think should work.You can try it out here https://github.com/rijesha/paparazzi/tree/fix_type_inference and see if that works.CheersRijeshOn Mon, Oct 23, 2017 at 10:37 PM, hendrixgr . <address@hidden> wrote:Hi.This is the output i get with ocamladdress@hidden:~/paparazzi$ ocaml Objective Caml version 3.12.1#When i do a git pull it says that i am up to date but is still gives me this errorOC gen_common.mliOC quaternion.mliFile "quaternion.ml", line 44, characters 2-167:Error: The record field label y belongs to the type euler_anglebut is mixed here with labels of type quaternionmake[1]: *** [quaternion.cmo] Error 2make: *** [libpprz] Error 2address@hidden:~/paparazzi$ ocaml Objective Caml version 3.12.1#On Mon, Oct 23, 2017 at 7:33 PM, Chris Efstathiou <address@hidden> wrote:I will check it tomorrow because now i am at home.
Chris
On 10/23/2017 6:05 PM, Rijesh Augustine wrote:
This seems to be an ocaml type inference issue.What version of ocaml are you running? (type in ocaml in terminal)
Rijesh
On Mon, Oct 23, 2017 at 8:43 AM, Kirk Scheper <address@hidden> wrote:
You don't necessarily need a fresh install, you can first try to checkout a new branch from master. e.g.
git remote update -p
git checkout -b new_branch_name origin/master
make clean && make
Kirk
On 23/10/17 16:40, Chris Efstathiou wrote:
Hi.
I will try tomorrow a new inställ and report back.
I hanen't changed anything though, it is just an older master updated through git pull 3 or 4 times.
Also it is an .ml file so i definitely didn't messed with files of that type.
Chris.
On 10/23/2017 2:15 PM, Kirk Scheper wrote:
Hey Hendrix,
I get no errors building a clean version of the current master. The error is likely due to some of your local changes.
You can see your changes in a useful graphical way with (if your remote for paparazzi is called origin):
git difftool -d origin/master
This will show you each file that is different from master. When you select a file it will show you each line that is different.
Kirk
On 23/10/17 13:09, Chris wrote:
Hi
I tried to refresh my master version and after a git pull and a make clean i get this error when i am trying to compile the new code
File "quaternion.ml", line 44, characters 2-167:
Error: The record field label y belongs to the type euler_angle
but is mixed here with labels of type quaternion
make[1]: *** [quaternion.cmo] Error 2
make: *** [libpprz] Error 2
address@hidden:~/paparazzi$
This is the output of the git branch -vv command
address@hidden:~/paparazzi$ git branch -vv
* master 7bbb52a [upstream/master] Fixed the EdgeFlow Divergence computation Sign Error (#2096)
address@hidden:~/paparazzi$
Chris
_______________________________________________
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
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
_______________________________________________
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
_______________________________________________ Paparazzi-devel mailing list address@hidden https://lists.nongnu.org/mailm an/listinfo/paparazzi-devel
_______________________________________________
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
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi- devel
[Prev in Thread] | Current Thread | [Next in Thread] |