|
From: | Felix Ruess |
Subject: | Re: [Paparazzi-devel] App Server in a Raspberry Pi |
Date: | Wed, 4 May 2016 20:16:44 +0200 |
Yes. I still get this error when building the sim target of an aircraft.I always ran that from paparazzi center.Yes. I have this file in that directory. The full content of it is:address@hidden:~/paparazzi/var/lib/ocaml/pprzlink $ lsdebugPL.cmi myocamlbuild.cmx pprz_transport.cmxdebugPL.cmo pprzLink.cmi pprz_transport.mlidebugPL.cmx pprzLink.cmo protocol.cmidebugPL.mli pprzLink.cmx protocol.cmodllpprzlink_stub.so pprzLink.mli protocol.cmxlib-pprzlink.a pprzlog_transport.cmi protocol.mlilib-pprzlink.cma pprzlog_transport.cmo xbee_transport.cmilib-pprzlink.cmxa pprzlog_transport.cmx xbee_transport.cmolibpprzlink_stub.a pprzlog_transport.mli xbee_transport.cmxMETA pprz_transport.cmi xbee_transport.mlimyocamlbuild.cmi pprz_transport.cmoThe content of lib-pprlink.cma is: Caml1999A008On Tue, May 3, 2016 at 2:36 PM, Felix Ruess <address@hidden> wrote:That looks all good, no errors as far as I could see...You still get theError: Error while linking /home/pi/paparazzi/sw/simulator/sitl.cma(FlightModel):Reference to undefined global `PprzLink'when building the sim target of anaircraft? Did you run that from paparazzi center or the commandline? If you built that on the commandline, what is your PAPARAZZI_HOME env variable?
What are the contents of var/lib/ocaml/pprzlink? Especially do you have lib-pprzlink.cma in that directory?On Tue, May 3, 2016 at 7:24 PM, Douglas Aparecido Soares <address@hidden> wrote:I`m still having problems after make clean. The outputs are:address@hidden:~/paparazzi $ make ground_segment------------------------------------------------------------Building Paparazzi version v5.9_devel-231-g0b1a36a-dirty------------------------------------------------------------make -C data/maps-----------------------------------------------DOWNLOAD: google maps version codeUpdated google maps version to 203-----------------------------------------------make -C sw/ext pprzlink.updateBuild bytecode libBuild native libINSTALL at location /home/pi/paparazzi/var/lib/ocamlmake -C sw/lib/ocamlOCY expr_parser.mlyOCL expr_lexer.mll40 states, 423 transitions, table size 1932 bytesDEPEND .dependOC 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.mliOL lib-pprz.cmaOC gtk_tools.mliOC gtk_tools.mlOC platform.mliOC platform.mlOC contrastLabel.mliOC contrastLabel.mlOC acIcon.mliOC acIcon.mlOC wind_sock.mliOC wind_sock.mlGLADE gtk_papget_editor.mlGLADE gtk_papget_led_editor.mlOC papget_common.mliOC papget_renderer.mliOC papget.mliOC papget.mlOC mapCanvas.mliOC mapCanvas.mlOC mapWaypoints.mliOC mapWaypoints.mlOC mapTrack.mliOC mapTrack.mlOC mapGoogle.mliOC mapGoogle.mlOC mapIGN.mliOC mapIGN.mlOC ml_gtk_drag.cOC xmlEdit.mliOC xmlEdit.mlOC mapFP.mliOC mapFP.mlOL xlib-pprz.cmaOC xml_get.cmoOL xml_get.outCOPY META.pprz.templateOOC fig.mlOOC debug.mlOOC base64.mlOOC serial.mlOOC ocaml_tools.mlOOC expr_syntax.mlOOC expr_parser.mlOOC expr_lexer.mlOOC extXml.mlOOC env.mlOOC xml2h.mlOOC latlong.mlOOC egm96.mlOOC srtm.mlOOC http.mlOOC maps_support.mlOOC gm.mlOOC iGN.mlOOC geometry_2d.mlOOC ubx.mlOOC xmlCom.mlOOC os_calls.mlOOC editAirframe.mlOOC defivybus.mlOOC fp_proc.mlOOC gen_common.mlOOL dlllib-pprz.soOOL lib-pprz.cmxaOOC gtk_tools.mlOOC platform.mlOOC contrastLabel.mlOOC acIcon.mlOOC wind_sock.mlOOC papget_common.mlOOC papget.mlOOC mapCanvas.mlOOC mapWaypoints.mlOOC mapTrack.mlOOC mapGoogle.mlOOC mapIGN.mlOOC xmlEdit.mlOOC mapFP.mlOOL dllxlib-pprz.soOOL xlib-pprz.cmxamake -C sw/supervisionDEPEND .dependGLADE gtk_pc.mlOC gtk_pc.mlGLADE gtk_process.mlOC pc_common.mlOL paparazzicentermake -C sw/extGENHDR include/libopencm3/lm3s/irq.jsonGENHDR include/libopencm3/lpc13xx/irq.jsonGENHDR include/libopencm3/vf6xx/irq.jsonGENHDR include/libopencm3/stm32/l0/irq.jsonGENHDR include/libopencm3/stm32/f2/irq.jsonGENHDR include/libopencm3/stm32/f3/irq.jsonGENHDR include/libopencm3/stm32/l1/irq.jsonGENHDR include/libopencm3/stm32/f1/irq.jsonGENHDR include/libopencm3/stm32/f4/irq.jsonGENHDR include/libopencm3/stm32/f0/irq.jsonGENHDR include/libopencm3/efm32/efm32tg/irq.jsonGENHDR include/libopencm3/efm32/efm32g/irq.jsonGENHDR include/libopencm3/efm32/efm32lg/irq.jsonGENHDR include/libopencm3/efm32/efm32gg/irq.jsonGENHDR include/libopencm3/lpc43xx/m0/irq.jsonGENHDR include/libopencm3/lpc43xx/m4/irq.jsonGENHDR include/libopencm3/lpc17xx/irq.jsonGENHDR include/libopencm3/sam/3a/irq.jsonGENHDR include/libopencm3/sam/3u/irq.jsonGENHDR include/libopencm3/sam/3s/irq.jsonGENHDR include/libopencm3/sam/3x/irq.jsonGENHDR include/libopencm3/sam/3n/irq.jsonBUILD lib/stm32/f1CP libopencm3_stm32f1.ldCC adc.cCC adc_common_v1.cCC can.cCC desig.cCC ethernet.cCC flash.cCC gpio.cCC rcc.cCC rtc.cCC timer.cCC mac.cCC mac_stm32fxx7.cCC phy.cCC phy_ksz8051mll.cCC crc_common_all.cCC dac_common_all.cCC dma_common_l1f013.cCC gpio_common_all.cCC i2c_common_all.cCC iwdg_common_all.cCC pwr_common_all.cCC spi_common_all.cCC spi_common_l1f124.cCC timer_common_all.cCC usart_common_all.cCC usart_common_f124.cCC rcc_common_all.cCC exti_common_all.cCC flash_common_f01.cCC usb.cCC usb_control.cCC usb_standard.cCC usb_f103.cCC usb_f107.cCC usb_fx07_common.cCC usb_msc.cCC vector.cCC systick.cCC scb.cCC nvic.cCC assert.cCC sync.cCC dwt.cAR libopencm3_stm32f1.aGENHDR include/libopencm3/lm3s/irq.jsonGENHDR include/libopencm3/lpc13xx/irq.jsonGENHDR include/libopencm3/vf6xx/irq.jsonGENHDR include/libopencm3/stm32/l0/irq.jsonGENHDR include/libopencm3/stm32/f2/irq.jsonGENHDR include/libopencm3/stm32/f3/irq.jsonGENHDR include/libopencm3/stm32/l1/irq.jsonGENHDR include/libopencm3/stm32/f1/irq.jsonGENHDR include/libopencm3/stm32/f4/irq.jsonGENHDR include/libopencm3/stm32/f0/irq.jsonGENHDR include/libopencm3/efm32/efm32tg/irq.jsonGENHDR include/libopencm3/efm32/efm32g/irq.jsonGENHDR include/libopencm3/efm32/efm32lg/irq.jsonGENHDR include/libopencm3/efm32/efm32gg/irq.jsonGENHDR include/libopencm3/lpc43xx/m0/irq.jsonGENHDR include/libopencm3/lpc43xx/m4/irq.jsonGENHDR include/libopencm3/lpc17xx/irq.jsonGENHDR include/libopencm3/sam/3a/irq.jsonGENHDR include/libopencm3/sam/3u/irq.jsonGENHDR include/libopencm3/sam/3s/irq.jsonGENHDR include/libopencm3/sam/3x/irq.jsonGENHDR include/libopencm3/sam/3n/irq.jsonBUILD lib/stm32/f4CP libopencm3_stm32f4.ldCC adc.cCC adc_common_v1.cCC can.cCC desig.cCC gpio.cCC pwr.cCC rcc.cCC rtc.cCC crypto.cCC crc_common_all.cCC dac_common_all.cCC dma_common_f24.cCC gpio_common_all.cCC gpio_common_f0234.cCC i2c_common_all.cCC iwdg_common_all.cCC pwr_common_all.cCC rtc_common_l1f024.cCC spi_common_all.cCC spi_common_l1f124.cCC timer_common_all.cCC timer_common_f234.cCC timer_common_f24.cCC usart_common_all.cCC usart_common_f124.cCC flash_common_f234.cCC flash_common_f24.cCC hash_common_f24.cCC crypto_common_f24.cCC exti_common_all.cCC rcc_common_all.cCC usb.cCC usb_standard.cCC usb_control.cCC usb_fx07_common.cCC usb_f107.cCC usb_f207.cCC usb_msc.cCC mac.cCC phy.cCC mac_stm32fxx7.cCC phy_ksz8051mll.cCC fmc.cCC ltdc.cCC vector.cCC systick.cCC scb.cCC nvic.cCC assert.cCC sync.cCC dwt.cAR libopencm3_stm32f4.aCC luftboot.cluftboot.c: In function 'main':luftboot.c:481:9: note: #pragma message: Luftboot using 12MHz external clock to PLL it to 72MHz.#pragma message "Luftboot using 12MHz external clock to PLL it to 72MHz."^CC luftboot.elfcreate luftboot.bincreate luftboot.hexGENERATE ../../var/include/mavlinkmake -C sw/tools/bluegiga_usb_dongleBuilding target: bluegiga_usb_driverFinished building target: bluegiga_usb_drivermake -C sw/ground_segment/miscCC davis2ivyCC kestrel2ivynatnet2ivy.c: In function ‘timeout_transmit_callback’:natnet2ivy.c:608:9: warning: implicit declaration of function ‘gettimeofday’ [-Wimplicit-function-declaration]gettimeofday(&cur_time, NULL);^CC natnet2ivyCC sbp2ivyCC video_synchronizerCC sbs2ivymake -C sw/logalizerDEPEND .dependOC log_file.mlOC play_core.mlOC play.mlOL playOC plotter.mlOL plotterGLADE gtk_export.mlOCI export.mliOC export.mlOL logplotterOC sd2log.mlOL sd2logCC plotprofileCC openlog2tlmCC sdlogger_downloadcat src/paparazzi | sed s#OCAMLRUN#/usr/bin/ocamlrun# | sed s#OCAML#/usr/bin/ocaml# > paparazzichmod a+x paparazzimake -C sw/ground_segment/cockpitDEPEND .dependGLADE gtk_setting_time.mlGLADE gtk_strip.mlOC gtk_strip.mlOCI horizon.mliOC horizon.mlOCI strip.mliOC strip.mlGLADE gtk_save_settings.mlOCI saveSettings.mliOC saveSettings.mlOCI page_settings.mliOCI pages.mliOC pages.mlOCI speech.mliOC speech.mlOCI plugin.mliOC plugin.mlOCI sectors.mliOC sectors.mlOCI map2d.mliOC map2d.mlOCI editFP.mliOC editFP.mlOC intruders.mlOCI live.mliOC live.mlOCI papgets.mliOC papgets.mlOC gcs.mlOL gcsmake -C sw/ground_segment/tmtcDEPEND .dependOC link.mlOL linkOC aircraft.mliOC aircraft.mlOC wind.mliOC wind.mlOC airprox.mliOC airprox.mlOC kml.mliOC kml.mlOC intruder.mliOC intruder.mlOC rotorcraft_server.mliOC fw_server.mliOC server.mlOL serverOC messages.mlOL messagesOC settings.mlOL settingsOL ivy_tcp_aircraftOL ivy_tcp_controllerOL broadcasterOC ivy2udp.mlOL ivy2udpOL ivy_serial_bridgeOL app_serverOL ivy2nmeamake -C /home/pi/paparazzi/sw/tools/generatorsDEPEND .dependOL gen_ubx.mlOL gen_mtk.mlOL gen_flight_plan.outOL gen_radio.mlOL gen_xsens.mlOL gen_abi.mlOL gen_srtm.outmake -C sw/simulatorDEPEND .dependOC gaia.mlOL gaiaCC fg.cOC stdlib.mliOC stdlib.mlOC data.mliOC data.mlOC flightModel.mliOC flightModel.mlOC gps.mliOC gps.mlOC sim.mliOC sitl.mliOC sitl.mlOC sim.mlOL sitl.cmamake -C sw/ground_segment/joystickDEPEND .dependCC test_sdl_stick.oBUILD test_stickCC sdl_stick.oCC ml_sdl_stick.oOC input2ivy.mlOL input2ivyGENERATE pprzlink_protocol with default messagesGenerate C messages (Python) at location /home/pi/paparazzi/var/include/pprzlinkValidation skipped for message_definitions/v1.0/messages.xml.Parsing message_definitions/v1.0/messages.xmlFound 244 PPRZLink message types in XML file message_definitions/v1.0/messages.xmlGenerating C implementation in /home/pi/paparazzi/var/include/pprzlink/messages.hPPRZXML telemetry class from message_definitions/v1.0/messages.xml (244 message)Copying fixed headersValidation skipped for message_definitions/v1.0/messages.xml.Parsing message_definitions/v1.0/messages.xmlFound 43 PPRZLink message types in XML file message_definitions/v1.0/messages.xmlGenerating C implementation in /home/pi/paparazzi/var/include/pprzlink/dl_protocol.hPPRZXML datalink class from message_definitions/v1.0/messages.xml (43 message)Copying fixed headersValidation skipped for message_definitions/v1.0/messages.xml.Parsing message_definitions/v1.0/messages.xmlFound 2 PPRZLink message types in XML file message_definitions/v1.0/messages.xmlGenerating C implementation in /home/pi/paparazzi/var/include/pprzlink/intermcu_msg.hPPRZXML intermcu class from message_definitions/v1.0/messages.xml (2 message)Copying fixed headersCopy extra lib filesGENERATE /home/pi/paparazzi/var/include/ubx_protocol.hGENERATE /home/pi/paparazzi/var/include/mtk_protocol.hGENERATE /home/pi/paparazzi/var/include/xsens_protocol.hGENERATE /home/pi/paparazzi/var/include/abi_messages.haddress@hidden:~/paparazzi $ make ground_segment.opt------------------------------------------------------------Building Paparazzi version v5.9_devel-231-g0b1a36a-dirty------------------------------------------------------------make -C data/maps-----------------------------------------------DOWNLOAD: google maps version codeUpdated google maps version to 203-----------------------------------------------make -C sw/ext pprzlink.updateBuild bytecode libBuild native libINSTALL at location /home/pi/paparazzi/var/lib/ocamlmake -C sw/lib/ocamlmake[1]: Nothing to be done for 'all'.make -C sw/supervisionmake[1]: Nothing to be done for 'all'.make -C sw/extGENHDR include/libopencm3/lm3s/irq.jsonGENHDR include/libopencm3/lpc13xx/irq.jsonGENHDR include/libopencm3/vf6xx/irq.jsonGENHDR include/libopencm3/stm32/l0/irq.jsonGENHDR include/libopencm3/stm32/f2/irq.jsonGENHDR include/libopencm3/stm32/f3/irq.jsonGENHDR include/libopencm3/stm32/l1/irq.jsonGENHDR include/libopencm3/stm32/f1/irq.jsonGENHDR include/libopencm3/stm32/f4/irq.jsonGENHDR include/libopencm3/stm32/f0/irq.jsonGENHDR include/libopencm3/efm32/efm32tg/irq.jsonGENHDR include/libopencm3/efm32/efm32g/irq.jsonGENHDR include/libopencm3/efm32/efm32lg/irq.jsonGENHDR include/libopencm3/efm32/efm32gg/irq.jsonGENHDR include/libopencm3/lpc43xx/m0/irq.jsonGENHDR include/libopencm3/lpc43xx/m4/irq.jsonGENHDR include/libopencm3/lpc17xx/irq.jsonGENHDR include/libopencm3/sam/3a/irq.jsonGENHDR include/libopencm3/sam/3u/irq.jsonGENHDR include/libopencm3/sam/3s/irq.jsonGENHDR include/libopencm3/sam/3x/irq.jsonGENHDR include/libopencm3/sam/3n/irq.jsonBUILD lib/stm32/f1make[3]: Nothing to be done for 'all'.GENHDR include/libopencm3/lm3s/irq.jsonGENHDR include/libopencm3/lpc13xx/irq.jsonGENHDR include/libopencm3/vf6xx/irq.jsonGENHDR include/libopencm3/stm32/l0/irq.jsonGENHDR include/libopencm3/stm32/f2/irq.jsonGENHDR include/libopencm3/stm32/f3/irq.jsonGENHDR include/libopencm3/stm32/l1/irq.jsonGENHDR include/libopencm3/stm32/f1/irq.jsonGENHDR include/libopencm3/stm32/f4/irq.jsonGENHDR include/libopencm3/stm32/f0/irq.jsonGENHDR include/libopencm3/efm32/efm32tg/irq.jsonGENHDR include/libopencm3/efm32/efm32g/irq.jsonGENHDR include/libopencm3/efm32/efm32lg/irq.jsonGENHDR include/libopencm3/efm32/efm32gg/irq.jsonGENHDR include/libopencm3/lpc43xx/m0/irq.jsonGENHDR include/libopencm3/lpc43xx/m4/irq.jsonGENHDR include/libopencm3/lpc17xx/irq.jsonGENHDR include/libopencm3/sam/3a/irq.jsonGENHDR include/libopencm3/sam/3u/irq.jsonGENHDR include/libopencm3/sam/3s/irq.jsonGENHDR include/libopencm3/sam/3x/irq.jsonGENHDR include/libopencm3/sam/3n/irq.jsonBUILD lib/stm32/f4make[3]: Nothing to be done for 'all'.make[2]: Nothing to be done for 'all'.GENERATE ../../var/include/mavlinkmake -C sw/tools/bluegiga_usb_donglemake[1]: Nothing to be done for 'all'.make -C sw/ground_segment/miscmake[1]: Nothing to be done for 'all'.make -C sw/logalizermake[1]: Nothing to be done for 'all'.make -C sw/ground_segment/cockpitmake[1]: Nothing to be done for 'all'.make -C sw/ground_segment/tmtcmake[1]: Nothing to be done for 'all'.make -C /home/pi/paparazzi/sw/tools/generatorsmake[1]: Nothing to be done for 'all'.make -C sw/simulatormake[1]: Nothing to be done for 'all'.make -C sw/ground_segment/joystickmake[1]: Nothing to be done for 'all'.GENERATE pprzlink_protocol with default messagesGenerate C messages (Python) at location /home/pi/paparazzi/var/include/pprzlinkValidation skipped for message_definitions/v1.0/messages.xml.Parsing message_definitions/v1.0/messages.xmlFound 244 PPRZLink message types in XML file message_definitions/v1.0/messages.xmlGenerating C implementation in /home/pi/paparazzi/var/include/pprzlink/messages.hPPRZXML telemetry class from message_definitions/v1.0/messages.xml (244 message)Copying fixed headersValidation skipped for message_definitions/v1.0/messages.xml.Parsing message_definitions/v1.0/messages.xmlFound 43 PPRZLink message types in XML file message_definitions/v1.0/messages.xmlGenerating C implementation in /home/pi/paparazzi/var/include/pprzlink/dl_protocol.hPPRZXML datalink class from message_definitions/v1.0/messages.xml (43 message)Copying fixed headersValidation skipped for message_definitions/v1.0/messages.xml.Parsing message_definitions/v1.0/messages.xmlFound 2 PPRZLink message types in XML file message_definitions/v1.0/messages.xmlGenerating C implementation in /home/pi/paparazzi/var/include/pprzlink/intermcu_msg.hPPRZXML intermcu class from message_definitions/v1.0/messages.xml (2 message)Copying fixed headersCopy extra lib filesGENERATE /home/pi/paparazzi/var/include/ubx_protocol.hGENERATE /home/pi/paparazzi/var/include/mtk_protocol.hGENERATE /home/pi/paparazzi/var/include/xsens_protocol.hGENERATE /home/pi/paparazzi/var/include/abi_messages.hmake -C sw/ground_segment/cockpit optOOC gtk_strip.mlOOC horizon.mlOOC strip.mlOOC saveSettings.mlOOC page_settings.mlOOC pages.mlOOC speech.mlOOC plugin.mlOOC sectors.mlOOC map2d.mlOOC editFP.mlOOC intruders.mlOOC live.mlOOC particules.mlOOC papgets.mlOOC gcs.mlOOL gcs.optmake -C sw/ground_segment/tmtc optOOC aircraft.mlOOC wind.mlOOC airprox.mlOOC kml.mlOOC intruder.mlOOC fw_server.mlOOC server.mlOOL server.optaddress@hidden:~/paparazzi $ make------------------------------------------------------------Building Paparazzi version v5.9_devel-231-g0b1a36a-dirty------------------------------------------------------------make -C data/maps-----------------------------------------------DOWNLOAD: google maps version codeUpdated google maps version to 203-----------------------------------------------make -C sw/ext pprzlink.updateBuild bytecode libBuild native libINSTALL at location /home/pi/paparazzi/var/lib/ocamlmake -C sw/lib/ocamlmake[1]: Nothing to be done for 'all'.make -C sw/supervisionmake[1]: Nothing to be done for 'all'.make -C sw/extGENHDR include/libopencm3/lm3s/irq.jsonGENHDR include/libopencm3/lpc13xx/irq.jsonGENHDR include/libopencm3/vf6xx/irq.jsonGENHDR include/libopencm3/stm32/l0/irq.jsonGENHDR include/libopencm3/stm32/f2/irq.jsonGENHDR include/libopencm3/stm32/f3/irq.jsonGENHDR include/libopencm3/stm32/l1/irq.jsonGENHDR include/libopencm3/stm32/f1/irq.jsonGENHDR include/libopencm3/stm32/f4/irq.jsonGENHDR include/libopencm3/stm32/f0/irq.jsonGENHDR include/libopencm3/efm32/efm32tg/irq.jsonGENHDR include/libopencm3/efm32/efm32g/irq.jsonGENHDR include/libopencm3/efm32/efm32lg/irq.jsonGENHDR include/libopencm3/efm32/efm32gg/irq.jsonGENHDR include/libopencm3/lpc43xx/m0/irq.jsonGENHDR include/libopencm3/lpc43xx/m4/irq.jsonGENHDR include/libopencm3/lpc17xx/irq.jsonGENHDR include/libopencm3/sam/3a/irq.jsonGENHDR include/libopencm3/sam/3u/irq.jsonGENHDR include/libopencm3/sam/3s/irq.jsonGENHDR include/libopencm3/sam/3x/irq.jsonGENHDR include/libopencm3/sam/3n/irq.jsonBUILD lib/stm32/f1make[3]: Nothing to be done for 'all'.GENHDR include/libopencm3/lm3s/irq.jsonGENHDR include/libopencm3/lpc13xx/irq.jsonGENHDR include/libopencm3/vf6xx/irq.jsonGENHDR include/libopencm3/stm32/l0/irq.jsonGENHDR include/libopencm3/stm32/f2/irq.jsonGENHDR include/libopencm3/stm32/f3/irq.jsonGENHDR include/libopencm3/stm32/l1/irq.jsonGENHDR include/libopencm3/stm32/f1/irq.jsonGENHDR include/libopencm3/stm32/f4/irq.jsonGENHDR include/libopencm3/stm32/f0/irq.jsonGENHDR include/libopencm3/efm32/efm32tg/irq.jsonGENHDR include/libopencm3/efm32/efm32g/irq.jsonGENHDR include/libopencm3/efm32/efm32lg/irq.jsonGENHDR include/libopencm3/efm32/efm32gg/irq.jsonGENHDR include/libopencm3/lpc43xx/m0/irq.jsonGENHDR include/libopencm3/lpc43xx/m4/irq.jsonGENHDR include/libopencm3/lpc17xx/irq.jsonGENHDR include/libopencm3/sam/3a/irq.jsonGENHDR include/libopencm3/sam/3u/irq.jsonGENHDR include/libopencm3/sam/3s/irq.jsonGENHDR include/libopencm3/sam/3x/irq.jsonGENHDR include/libopencm3/sam/3n/irq.jsonBUILD lib/stm32/f4make[3]: Nothing to be done for 'all'.make[2]: Nothing to be done for 'all'.GENERATE ../../var/include/mavlinkmake -C sw/tools/bluegiga_usb_donglemake[1]: Nothing to be done for 'all'.make -C sw/ground_segment/miscmake[1]: Nothing to be done for 'all'.make -C sw/logalizermake[1]: Nothing to be done for 'all'.make -C sw/ground_segment/cockpitmake[1]: Nothing to be done for 'all'.make -C sw/ground_segment/tmtcmake[1]: Nothing to be done for 'all'.make -C /home/pi/paparazzi/sw/tools/generatorsmake[1]: Nothing to be done for 'all'.make -C sw/simulatormake[1]: Nothing to be done for 'all'.make -C sw/ground_segment/joystickmake[1]: Nothing to be done for 'all'.GENERATE pprzlink_protocol with default messagesGenerate C messages (Python) at location /home/pi/paparazzi/var/include/pprzlinkValidation skipped for message_definitions/v1.0/messages.xml.Parsing message_definitions/v1.0/messages.xmlFound 244 PPRZLink message types in XML file message_definitions/v1.0/messages.xmlGenerating C implementation in /home/pi/paparazzi/var/include/pprzlink/messages.hPPRZXML telemetry class from message_definitions/v1.0/messages.xml (244 message)Copying fixed headersValidation skipped for message_definitions/v1.0/messages.xml.Parsing message_definitions/v1.0/messages.xmlFound 43 PPRZLink message types in XML file message_definitions/v1.0/messages.xmlGenerating C implementation in /home/pi/paparazzi/var/include/pprzlink/dl_protocol.hPPRZXML datalink class from message_definitions/v1.0/messages.xml (43 message)Copying fixed headersValidation skipped for message_definitions/v1.0/messages.xml.Parsing message_definitions/v1.0/messages.xmlFound 2 PPRZLink message types in XML file message_definitions/v1.0/messages.xmlGenerating C implementation in /home/pi/paparazzi/var/include/pprzlink/intermcu_msg.hPPRZXML intermcu class from message_definitions/v1.0/messages.xml (2 message)Copying fixed headersCopy extra lib filesGENERATE /home/pi/paparazzi/var/include/ubx_protocol.hGENERATE /home/pi/paparazzi/var/include/mtk_protocol.hGENERATE /home/pi/paparazzi/var/include/xsens_protocol.hGENERATE /home/pi/paparazzi/var/include/abi_messages.hmake -C sw/ground_segment/lpc21iapLD lpc21iapThanks for your attention!On Tue, May 3, 2016 at 2:04 PM, Felix Ruess <address@hidden> wrote:The output of clean is not interesting/important...The output of make ground_segment or make all is (if you are still having troubles)We don't have prebuild binary packages for Debian on ARM (or Raspbian), as I don't think there is a publicly available build service for it out there. We use build.opensuse.org to build Debian packages, but it seems like building for ARM is currently not supported there (so we only have x86 and amd64).
Unless you require Raspbian for something else, the easiest way to get Paparazzi running on RPi 2 is to install Ubuntu and then follow the normal installation procedure: https://wiki.paparazziuav.org/wiki/Installation/LinuxOn Tue, May 3, 2016 at 6:51 PM, Douglas Aparecido Soares <address@hidden> wrote:I`m using a Raspberry Pi 2 Model B V1.1. I`m using Raspbian Jessie. The complete information about the OS is:PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"NAME="Raspbian GNU/Linux"VERSION_ID="8"VERSION="8 (jessie)"ID=raspbianID_LIKE=debianI did a make clean and the output is:address@hidden:~/paparazzi $ make cleanCleaning ./data/maps/MakefileCleaning ./tests/MakefileCleaning ./tests/math/MakefileCleaning ./doc/ccc07/MakefileCleaning ./doc/pprz_geodetic/MakefileCleaning ./doc/pprz_algebra/MakefileCleaning ./docker/Makefilemake[1]: *** No rule to make target 'clean'. Stop.Cleaning ./sw/logalizer/matlab/MakefileCleaning ./sw/logalizer/MakefileCleaning ./sw/simulator/scilab/q3d/povray/MakefileCleaning ./sw/simulator/scilab/q3d/MakefileCleaning ./sw/simulator/scilab/q3d/fonts/MakefileCleaning ./sw/simulator/scilab/q6d/povray/MakefileCleaning ./sw/simulator/MakefileCleaning ./sw/misc/satcom/MakefileCleaning ./sw/misc/turbine/MakefileCleaning ./sw/misc/attitude_reference/Makefilemake -C c_att_refs cleanrm -rf build *.so *.cCleaning ./sw/misc/attitude_reference/c_att_refs/Makefilerm -rf build *.so *.cCleaning ./sw/misc/log_parser/MakefileCleaning ./sw/misc/button/MakefileCleaning ./sw/misc/inertial/C/MakefileCleaning ./sw/lib/ocaml/MakefileCleaning ./sw/lib/python/pprz_math/Makefilerm -rf build *.so *.c *.pyc geodetic.py algebra.pyCleaning ./sw/ground_segment/joystick/MakefileCleaning ./sw/ground_segment/misc/MakefileCleaning ./sw/ground_segment/cockpit/MakefileCleaning ./sw/ground_segment/tmtc/MakefileCleaning ./sw/ground_segment/lpc21iap/MakefileCleaning ./sw/tools/bluegiga_usb_dongle/Makefilerm -f stubs.o uart.o cmd_def.o main.o stubs.d uart.d cmd_def.d main.d bluegiga_usb_driverCleaning ./sw/tools/MakefileCleaning ./sw/tools/wiki_gen/MakefileCleaning ./sw/tools/gps_ublox_conf/MakefileCleaning ./sw/tools/generators/MakefileCleaning ./sw/airborne/test/MakefileCleaning ./sw/airborne/test/stabilization/Makefilerm -rf build *.so *.cCleaning ./sw/airborne/test/ahrs/Makefilecleaning ...Cleaning ./sw/airborne/subsystems/datalink/MakefileCleaning ./sw/airborne/firmwares/non_ap/led_flasher/MakefileCleaning ./sw/airborne/modules/digital_cam/catia/Makefilerm -rf ./catiaCleaning ./sw/airborne/Makefilemake[1]: Nothing to be done for 'clean'.Cleaning ./sw/airborne/arch/lpc21/lpcusb/MakefileCLEAN libusbstackCleaning ./sw/airborne/arch/lpc21/lpcusb/examples/MakefileCleaning ./sw/airborne/arch/lpc21/test/bootloader/MakefileCleaning ./sw/airborne/arch/lpc21/test/Makefile-------- begin --------Cleaning project:rm -f ledswitch.hexrm -f ledswitch.objrm -f ledswitch.elfrm -f ledswitch.maprm -f ledswitch.objrm -f ledswitch.a90rm -f ledswitch.symrm -f ledswitch.lnkrm -f ledswitch.lssrm -f ledswitch.orm -frm -frm -frm -frm -f crt0.orm -f crt0.lst ledswitch.lstrm -f ledswitch.srm -f ledswitch.drm -frm -frm -frm -frm -frm -frm -f -r .deprm -f *~Errors: none-------- end --------Cleaning ./sw/airborne/math/MakefileCleaning ./sw/supervision/MakefileCLNHDR include/libopencm3/lm3s/irq.jsonCLNHDR include/libopencm3/lpc13xx/irq.jsonCLNHDR include/libopencm3/vf6xx/irq.jsonCLNHDR include/libopencm3/stm32/l0/irq.jsonCLNHDR include/libopencm3/stm32/f2/irq.jsonCLNHDR include/libopencm3/stm32/f3/irq.jsonCLNHDR include/libopencm3/stm32/l1/irq.jsonCLNHDR include/libopencm3/stm32/f1/irq.jsonCLNHDR include/libopencm3/stm32/f4/irq.jsonCLNHDR include/libopencm3/stm32/f0/irq.jsonCLNHDR include/libopencm3/efm32/efm32tg/irq.jsonCLNHDR include/libopencm3/efm32/efm32g/irq.jsonCLNHDR include/libopencm3/efm32/efm32lg/irq.jsonCLNHDR include/libopencm3/efm32/efm32gg/irq.jsonCLNHDR include/libopencm3/lpc43xx/m0/irq.jsonCLNHDR include/libopencm3/lpc43xx/m4/irq.jsonCLNHDR include/libopencm3/lpc17xx/irq.jsonCLNHDR include/libopencm3/sam/3a/irq.jsonCLNHDR include/libopencm3/sam/3u/irq.jsonCLNHDR include/libopencm3/sam/3s/irq.jsonCLNHDR include/libopencm3/sam/3x/irq.jsonCLNHDR include/libopencm3/sam/3n/irq.jsonCLEAN lib/stm32/f0CLEAN lib/stm32/f1CLEAN lib/stm32/f2CLEAN lib/stm32/f3CLEAN lib/stm32/f4CLEAN lib/stm32/l0CLEAN lib/stm32/l1CLEAN lib/lpc13xxCLEAN lib/lpc17xxCLEAN lib/lpc43xx/m4CLEAN lib/lpc43xx/m0CLEAN lib/lm3sCLEAN lib/lm4fCLEAN lib/efm32/efm32tgCLEAN lib/efm32/efm32gCLEAN lib/efm32/efm32lgCLEAN lib/efm32/efm32ggCLEAN lib/sam/3aCLEAN lib/sam/3nCLEAN lib/sam/3sCLEAN lib/sam/3uCLEAN lib/sam/3xCLEAN lib/vf6xxCLEAN docCLEAN luftbootOn Tue, May 3, 2016 at 1:36 PM, Felix Ruess <address@hidden> wrote:If you still have problems, can you please do a make clean and then post the output of make?In any case: paparazzi-dev is just a convenience package that installs all dependencies, so you don't really need it.Ah, right... you are using a Raspberry Pi 1? What OS?We have no Debian packages for Raspberry Pi 1... for the Pi 2 you should be able to just do a normal (Ubuntu) install as on any other machine.On Tue, May 3, 2016 at 6:26 PM, Douglas Aparecido Soares <address@hidden> wrote:I installed the bc. I have installed the version 1.06.95.But when I used the command that you asked, the output is:address@hidden:~/paparazzi $ apt-cache policy paparazzi-devN: Unable to locate package paparazzi-devOn Tue, May 3, 2016 at 12:58 PM, Felix Ruess <address@hidden> wrote:make -C sw/ground_segment/cockpit opt/bin/sh: 1: bc: not foundYou are missing the bc program, install it with sudo apt-get install bcThis should actually already be installed as a dependency of paparazzi-dev, which version do you have installed?what is the output of "apt-cache policy paparazzi-dev"?On Tue, May 3, 2016 at 5:41 PM, Felix Ruess <address@hidden> wrote:Just run make (or make ext) in the paparazzi directory.On Tue, May 3, 2016 at 5:37 PM, Douglas Aparecido Soares <address@hidden> wrote:Hi Felix,I followed the advice that was printed and the error with gps module was solved.However, I did not get success again when I tried to do a simple test using, for example, a Microjet or a Twinjet. When I tried to build a simulation using a Microjet occurred the following errors:RUN 'make -C /home/pi/paparazzi -f Makefile.ac AIRCRAFT=Microjet sim.compile 'make: Entering directory '/home/pi/paparazzi'######################################## BUILD AIRCRAFT=Microjet, TARGET sim#######################################Info: module '/home/pi/paparazzi/conf/modules/tune_airspeed.xml' unloaded for target 'sim'make[1]: Entering directory '/home/pi/paparazzi'GENERATE /home/pi/paparazzi/var/aircrafts/Microjet/sim/generated/flight_plan.h from flight_plans/basic.xmlNo SRTM data found to check altitude.Warning: low altitude (185<185+25) in <waypoint Y="57.0" X="28.8" NAME="TD" ALT="185.0"/>GENERATE /home/pi/paparazzi/var/aircrafts/Microjet/flight_plan.xml from flight_plans/basic.xmlmake[1]: Leaving directory '/home/pi/paparazzi'make[1]: Entering directory '/home/pi/paparazzi'GENERATE /home/pi/paparazzi/var/aircrafts/Microjet/sim/generated/airframe.h from airframes/examples/microjet.xmlGENERATE /home/pi/paparazzi/var/aircrafts/Microjet/sim/generated/modules.hGENERATE /home/pi/paparazzi/var/aircrafts/Microjet/sim/generated/periodic_telemetry.h from telemetry/default_fixedwing.xmlGENERATE /home/pi/paparazzi/var/aircrafts/Microjet/sim/generated/settings.hGENERATE autopilots in /home/pi/paparazzi/var/aircrafts/Microjet/sim/generated/make[1]: Leaving directory '/home/pi/paparazzi'make[1]: Entering directory '/home/pi/paparazzi'GENERATE /home/pi/paparazzi/var/aircrafts/Microjet/sim/generated/radio.h from radios/cockpitMM.xmlmake[1]: Leaving directory '/home/pi/paparazzi'-----------------------------------------------------------------------Paparazzi version v5.9_devel-231-g0b1a36a-dirty-----------------------------------------------------------------------cd sw/airborne; make -j4 TARGET=sim ARCHI=sim ARCH=sim allmake[1]: Entering directory '/home/pi/paparazzi/sw/airborne'CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/mcu.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/arch/sim/mcu_arch.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/mcu_periph/sys_time.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/arch/sim/mcu_periph/sys_time_arch.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/./inter_mcu.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/math/pprz_geodetic_int.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/math/pprz_geodetic_float.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/math/pprz_geodetic_double.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/math/pprz_trig_int.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/math/pprz_orientation_conversion.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/math/pprz_algebra_int.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/math/pprz_algebra_float.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/math/pprz_algebra_double.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/mcu_periph/i2c.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/arch/sim/mcu_periph/i2c_arch.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/firmwares/fixedwing/main_fbw.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/electrical.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/commands.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/actuators.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/firmwares/fixedwing/main_ap.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/firmwares/fixedwing/autopilot.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/state.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/settings.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/arch/sim/subsystems/settings_arch.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/./subsystems/ins.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/./subsystems/ins/ins_alt_float.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/arch/sim/sim_ap.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/datalink/downlink.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/datalink/datalink.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/firmwares/fixedwing/fixedwing_datalink.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/pprzlink/src/ivy_transport.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/datalink/telemetry.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/firmwares/fixedwing/ap_downlink.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/firmwares/fixedwing/fbw_downlink.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/arch/sim/sim_gps.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/arch/sim/sim_adc_generic.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/arch/sim/sim_ahrs.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/arch/sim/sim_ir.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/gps.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/gps/gps_sim.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/sensors/infrared.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/sensors/infrared_adc.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/modules/ahrs/ahrs_infrared.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/modules/nav/nav_survey_polygon.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/modules/nav/nav_line_border.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/modules/nav/nav_line.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/modules/nav/nav_smooth.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/modules/nav/nav_flower.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/modules/nav/nav_line_osam.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/modules/nav/nav_survey_poly_osam.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/modules/nav/nav_vertical_raster.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/modules/nav/nav_bungee_takeoff.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/firmwares/fixedwing/nav.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/navigation/common_flight_plan.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/navigation/traffic_info.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/navigation/nav_survey_rectangle.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/firmwares/fixedwing/stabilization/stabilization_attitude.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/firmwares/fixedwing/guidance/guidance_v.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/radio_control.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/radio_control/ppm.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/arch/sim/subsystems/radio_control/ppm_arch.oCC /home/pi/paparazzi/var/aircrafts/Microjet/sim/arch/sim/subsystems/datalink/superbitrf.oLD /home/pi/paparazzi/var/aircrafts/Microjet/sim/simsitlFile "/home/pi/paparazzi/var/aircrafts/Microjet/sim/simsitl.ml", line 1:Error: Error while linking /home/pi/paparazzi/sw/simulator/sitl.cma(FlightModel):Reference to undefined global `PprzLink'../../conf/Makefile.sim:105: recipe for target '/home/pi/paparazzi/var/aircrafts/Microjet/sim/simsitl' failedmake[1]: *** [/home/pi/paparazzi/var/aircrafts/Microjet/sim/simsitl] Error 2make[1]: Leaving directory '/home/pi/paparazzi/sw/airborne'Makefile.ac:242: recipe for target 'sim.compile' failedmake: *** [sim.compile] Error 2make: Leaving directory '/home/pi/paparazzi'FAILED 'make -C /home/pi/paparazzi -f Makefile.ac AIRCRAFT=Microjet sim.compile' with code 2The reference error to `PprzLink` persists. As I am a beginner in Paparazzi, I am not sure if I know how to run the toplevel make. Does it mean building Paparazzi with the following commands: make ground_segment and make ground_segment.opt? If yes, when I used these commands the following informations were printed:address@hidden:~/paparazzi $ make ground_segment------------------------------------------------------------Building Paparazzi version v5.9_devel-231-g0b1a36a-dirty------------------------------------------------------------make -C data/maps-----------------------------------------------DOWNLOAD: google maps version codeUpdated google maps version to 203-----------------------------------------------make -C sw/ext pprzlink.updateBuild bytecode libBuild native libINSTALL at location /home/pi/paparazzi/var/lib/ocamlmake -C sw/lib/ocamlmake[1]: Nothing to be done for 'all'.make -C sw/supervisionmake[1]: Nothing to be done for 'all'.make -C sw/extGENHDR include/libopencm3/lm3s/irq.jsonGENHDR include/libopencm3/lpc13xx/irq.jsonGENHDR include/libopencm3/vf6xx/irq.jsonGENHDR include/libopencm3/stm32/l0/irq.jsonGENHDR include/libopencm3/stm32/f2/irq.jsonGENHDR include/libopencm3/stm32/f3/irq.jsonGENHDR include/libopencm3/stm32/l1/irq.jsonGENHDR include/libopencm3/stm32/f1/irq.jsonGENHDR include/libopencm3/stm32/f4/irq.jsonGENHDR include/libopencm3/stm32/f0/irq.jsonGENHDR include/libopencm3/efm32/efm32tg/irq.jsonGENHDR include/libopencm3/efm32/efm32g/irq.jsonGENHDR include/libopencm3/efm32/efm32lg/irq.jsonGENHDR include/libopencm3/efm32/efm32gg/irq.jsonGENHDR include/libopencm3/lpc43xx/m0/irq.jsonGENHDR include/libopencm3/lpc43xx/m4/irq.jsonGENHDR include/libopencm3/lpc17xx/irq.jsonGENHDR include/libopencm3/sam/3a/irq.jsonGENHDR include/libopencm3/sam/3u/irq.jsonGENHDR include/libopencm3/sam/3s/irq.jsonGENHDR include/libopencm3/sam/3x/irq.jsonGENHDR include/libopencm3/sam/3n/irq.jsonBUILD lib/stm32/f1make[3]: Nothing to be done for 'all'.GENHDR include/libopencm3/lm3s/irq.jsonGENHDR include/libopencm3/lpc13xx/irq.jsonGENHDR include/libopencm3/vf6xx/irq.jsonGENHDR include/libopencm3/stm32/l0/irq.jsonGENHDR include/libopencm3/stm32/f2/irq.jsonGENHDR include/libopencm3/stm32/f3/irq.jsonGENHDR include/libopencm3/stm32/l1/irq.jsonGENHDR include/libopencm3/stm32/f1/irq.jsonGENHDR include/libopencm3/stm32/f4/irq.jsonGENHDR include/libopencm3/stm32/f0/irq.jsonGENHDR include/libopencm3/efm32/efm32tg/irq.jsonGENHDR include/libopencm3/efm32/efm32g/irq.jsonGENHDR include/libopencm3/efm32/efm32lg/irq.jsonGENHDR include/libopencm3/efm32/efm32gg/irq.jsonGENHDR include/libopencm3/lpc43xx/m0/irq.jsonGENHDR include/libopencm3/lpc43xx/m4/irq.jsonGENHDR include/libopencm3/lpc17xx/irq.jsonGENHDR include/libopencm3/sam/3a/irq.jsonGENHDR include/libopencm3/sam/3u/irq.jsonGENHDR include/libopencm3/sam/3s/irq.jsonGENHDR include/libopencm3/sam/3x/irq.jsonGENHDR include/libopencm3/sam/3n/irq.jsonBUILD lib/stm32/f4make[3]: Nothing to be done for 'all'.make[2]: Nothing to be done for 'all'.GENERATE ../../var/include/mavlinkmake -C sw/tools/bluegiga_usb_donglemake[1]: Nothing to be done for 'all'.make -C sw/ground_segment/miscmake[1]: Nothing to be done for 'all'.make -C sw/logalizermake[1]: Nothing to be done for 'all'.make -C sw/ground_segment/cockpit/bin/sh: 1: bc: not foundmake[1]: Nothing to be done for 'all'.make -C sw/ground_segment/tmtcmake[1]: Nothing to be done for 'all'.make -C /home/pi/paparazzi/sw/tools/generatorsmake[1]: Nothing to be done for 'all'.make -C sw/simulatormake[1]: Nothing to be done for 'all'.make -C sw/ground_segment/joystickmake[1]: Nothing to be done for 'all'.GENERATE pprzlink_protocol with default messagesGenerate C messages (Python) at location /home/pi/paparazzi/var/include/pprzlinkValidation skipped for message_definitions/v1.0/messages.xml.Parsing message_definitions/v1.0/messages.xmlFound 244 PPRZLink message types in XML file message_definitions/v1.0/messages.xmlGenerating C implementation in /home/pi/paparazzi/var/include/pprzlink/messages.hPPRZXML telemetry class from message_definitions/v1.0/messages.xml (244 message)Copying fixed headersValidation skipped for message_definitions/v1.0/messages.xml.Parsing message_definitions/v1.0/messages.xmlFound 43 PPRZLink message types in XML file message_definitions/v1.0/messages.xmlGenerating C implementation in /home/pi/paparazzi/var/include/pprzlink/dl_protocol.hPPRZXML datalink class from message_definitions/v1.0/messages.xml (43 message)Copying fixed headersValidation skipped for message_definitions/v1.0/messages.xml.Parsing message_definitions/v1.0/messages.xmlFound 2 PPRZLink message types in XML file message_definitions/v1.0/messages.xmlGenerating C implementation in /home/pi/paparazzi/var/include/pprzlink/intermcu_msg.hPPRZXML intermcu class from message_definitions/v1.0/messages.xml (2 message)Copying fixed headersCopy extra lib filesGENERATE /home/pi/paparazzi/var/include/ubx_protocol.hGENERATE /home/pi/paparazzi/var/include/mtk_protocol.hGENERATE /home/pi/paparazzi/var/include/xsens_protocol.hGENERATE /home/pi/paparazzi/var/include/abi_messages.haddress@hidden:~/paparazzi $ make ground_segment.opt------------------------------------------------------------Building Paparazzi version v5.9_devel-231-g0b1a36a-dirty------------------------------------------------------------make -C data/maps-----------------------------------------------DOWNLOAD: google maps version codeUpdated google maps version to 203-----------------------------------------------make -C sw/ext pprzlink.updateBuild bytecode libBuild native libINSTALL at location /home/pi/paparazzi/var/lib/ocamlmake -C sw/lib/ocamlmake[1]: Nothing to be done for 'all'.make -C sw/supervisionmake[1]: Nothing to be done for 'all'.make -C sw/extGENHDR include/libopencm3/lm3s/irq.jsonGENHDR include/libopencm3/lpc13xx/irq.jsonGENHDR include/libopencm3/vf6xx/irq.jsonGENHDR include/libopencm3/stm32/l0/irq.jsonGENHDR include/libopencm3/stm32/f2/irq.jsonGENHDR include/libopencm3/stm32/f3/irq.jsonGENHDR include/libopencm3/stm32/l1/irq.jsonGENHDR include/libopencm3/stm32/f1/irq.jsonGENHDR include/libopencm3/stm32/f4/irq.jsonGENHDR include/libopencm3/stm32/f0/irq.jsonGENHDR include/libopencm3/efm32/efm32tg/irq.jsonGENHDR include/libopencm3/efm32/efm32g/irq.jsonGENHDR include/libopencm3/efm32/efm32lg/irq.jsonGENHDR include/libopencm3/efm32/efm32gg/irq.jsonGENHDR include/libopencm3/lpc43xx/m0/irq.jsonGENHDR include/libopencm3/lpc43xx/m4/irq.jsonGENHDR include/libopencm3/lpc17xx/irq.jsonGENHDR include/libopencm3/sam/3a/irq.jsonGENHDR include/libopencm3/sam/3u/irq.jsonGENHDR include/libopencm3/sam/3s/irq.jsonGENHDR include/libopencm3/sam/3x/irq.jsonGENHDR include/libopencm3/sam/3n/irq.jsonBUILD lib/stm32/f1make[3]: Nothing to be done for 'all'.GENHDR include/libopencm3/lm3s/irq.jsonGENHDR include/libopencm3/lpc13xx/irq.jsonGENHDR include/libopencm3/vf6xx/irq.jsonGENHDR include/libopencm3/stm32/l0/irq.jsonGENHDR include/libopencm3/stm32/f2/irq.jsonGENHDR include/libopencm3/stm32/f3/irq.jsonGENHDR include/libopencm3/stm32/l1/irq.jsonGENHDR include/libopencm3/stm32/f1/irq.jsonGENHDR include/libopencm3/stm32/f4/irq.jsonGENHDR include/libopencm3/stm32/f0/irq.jsonGENHDR include/libopencm3/efm32/efm32tg/irq.jsonGENHDR include/libopencm3/efm32/efm32g/irq.jsonGENHDR include/libopencm3/efm32/efm32lg/irq.jsonGENHDR include/libopencm3/efm32/efm32gg/irq.jsonGENHDR include/libopencm3/lpc43xx/m0/irq.jsonGENHDR include/libopencm3/lpc43xx/m4/irq.jsonGENHDR include/libopencm3/lpc17xx/irq.jsonGENHDR include/libopencm3/sam/3a/irq.jsonGENHDR include/libopencm3/sam/3u/irq.jsonGENHDR include/libopencm3/sam/3s/irq.jsonGENHDR include/libopencm3/sam/3x/irq.jsonGENHDR include/libopencm3/sam/3n/irq.jsonBUILD lib/stm32/f4make[3]: Nothing to be done for 'all'.make[2]: Nothing to be done for 'all'.GENERATE ../../var/include/mavlinkmake -C sw/tools/bluegiga_usb_donglemake[1]: Nothing to be done for 'all'.make -C sw/ground_segment/miscmake[1]: Nothing to be done for 'all'.make -C sw/logalizermake[1]: Nothing to be done for 'all'.make -C sw/ground_segment/cockpit/bin/sh: 1: bc: not foundmake[1]: Nothing to be done for 'all'.make -C sw/ground_segment/tmtcmake[1]: Nothing to be done for 'all'.make -C /home/pi/paparazzi/sw/tools/generatorsmake[1]: Nothing to be done for 'all'.make -C sw/simulatormake[1]: Nothing to be done for 'all'.make -C sw/ground_segment/joystickmake[1]: Nothing to be done for 'all'.GENERATE pprzlink_protocol with default messagesGenerate C messages (Python) at location /home/pi/paparazzi/var/include/pprzlinkValidation skipped for message_definitions/v1.0/messages.xml.Parsing message_definitions/v1.0/messages.xmlFound 244 PPRZLink message types in XML file message_definitions/v1.0/messages.xmlGenerating C implementation in /home/pi/paparazzi/var/include/pprzlink/messages.hPPRZXML telemetry class from message_definitions/v1.0/messages.xml (244 message)Copying fixed headersValidation skipped for message_definitions/v1.0/messages.xml.Parsing message_definitions/v1.0/messages.xmlFound 43 PPRZLink message types in XML file message_definitions/v1.0/messages.xmlGenerating C implementation in /home/pi/paparazzi/var/include/pprzlink/dl_protocol.hPPRZXML datalink class from message_definitions/v1.0/messages.xml (43 message)Copying fixed headersValidation skipped for message_definitions/v1.0/messages.xml.Parsing message_definitions/v1.0/messages.xmlFound 2 PPRZLink message types in XML file message_definitions/v1.0/messages.xmlGenerating C implementation in /home/pi/paparazzi/var/include/pprzlink/intermcu_msg.hPPRZXML intermcu class from message_definitions/v1.0/messages.xml (2 message)Copying fixed headersCopy extra lib filesGENERATE /home/pi/paparazzi/var/include/ubx_protocol.hGENERATE /home/pi/paparazzi/var/include/mtk_protocol.hGENERATE /home/pi/paparazzi/var/include/xsens_protocol.hGENERATE /home/pi/paparazzi/var/include/abi_messages.hmake -C sw/ground_segment/cockpit opt/bin/sh: 1: bc: not foundmake[1]: Nothing to be done for 'opt'.make -C sw/ground_segment/tmtc optOOC server.mlOOL server.optI am sorry for put so many informations here.Thanks a lot!On Mon, May 2, 2016 at 11:48 AM, Felix Ruess <address@hidden> wrote:Also would make sense to follow the other advice it prints ;-)Seems the pprzlink submodule is not built.Did you run the toplevel make? Were there any errors?
Please replace <subsystem name="gps" type="ublox_utm"/> with <subsystem name="gps" type="ublox"/>On Mon, May 2, 2016 at 4:38 PM, Douglas Aparecido Soares <address@hidden> wrote:Hi all,first of all, thanks a lot, agressiva and Felix, for your answers!Felix, if I start the app_server with the "-v" option I see this:RUN '/home/pi/paparazzi/sw/ground_segment/tmtc/app_server -v '### Paparazzi App Server ###Server listen port (TCP) : 5010Server broadcast port (UDP) : 5005Control Pass : 1234Ivy Bus : 127.255.255.255:2010Broadcasting on network 127.255.255.255, port 2010Starting App ServerI think I was not getting success because I was making mistakes on the settings of PPRZonDroid, but start the app_server with "-v" helped me to solve those misconfigurations.Another problem that I do not know how to solve is: when I try to do a simple test in the Paparazzi Center, installed in my Raspberry Pi, using, for example, a Microjet, I see the following errors:RUN 'make -C /home/pi/paparazzi -f Makefile.ac AIRCRAFT=Microjet sim.compile 'make: Entering directory '/home/pi/paparazzi'######################################## BUILD AIRCRAFT=Microjet, TARGET sim#######################################Info: module '/home/pi/paparazzi/conf/modules/tune_airspeed.xml' unloaded for target 'sim'make[1]: Entering directory '/home/pi/paparazzi'make[1]: Nothing to be done for 'flight_plan_ac_h'.make[1]: Leaving directory '/home/pi/paparazzi'make[1]: Entering directory '/home/pi/paparazzi'Please replace <subsystem name="gps" type="ublox_utm"/> with <subsystem name="gps" type="ublox"/>GENERATE autopilots in /home/pi/paparazzi/var/aircrafts/Microjet/sim/generated/make[1]: Leaving directory '/home/pi/paparazzi'make[1]: Entering directory '/home/pi/paparazzi'make[1]: Nothing to be done for 'radio_ac_h'.make[1]: Leaving directory '/home/pi/paparazzi'-----------------------------------------------------------------------Paparazzi version v5.9_devel-231-g0b1a36a-----------------------------------------------------------------------cd sw/airborne; make -j4 TARGET=sim ARCHI=sim ARCH=sim allmake[1]: Entering directory '/home/pi/paparazzi/sw/airborne'Please replace <subsystem name="gps" type="ublox_utm"/> with <subsystem name="gps" type="ublox"/>LD /home/pi/paparazzi/var/aircrafts/Microjet/sim/simsitlFile "/home/pi/paparazzi/var/aircrafts/Microjet/sim/simsitl.ml", line 1:Error: Error while linking /home/pi/paparazzi/sw/simulator/sitl.cma(FlightModel):Reference to undefined global `PprzLink'../../conf/Makefile.sim:105: recipe for target '/home/pi/paparazzi/var/aircrafts/Microjet/sim/simsitl' failedmake[1]: *** [/home/pi/paparazzi/var/aircrafts/Microjet/sim/simsitl] Error 2make[1]: Leaving directory '/home/pi/paparazzi/sw/airborne'Makefile.ac:242: recipe for target 'sim.compile' failedmake: *** [sim.compile] Error 2make: Leaving directory '/home/pi/paparazzi'FAILED 'make -C /home/pi/paparazzi -f Makefile.ac AIRCRAFT=Microjet sim.compile' with code 2Does anyone know how to solve these problems?Once more, thanks a lot!On Sun, May 1, 2016 at 5:27 PM, Felix Ruess <address@hidden> wrote:Cheers, FelixWhat do you see if you start the app_server with the "-v" (verbose) option?Do you get any warnings when compiling on the Pi?Hi Douglas,in principle it should work on a Raspberry Pi as well (although I haven't tested that).On Fri, Apr 29, 2016 at 1:06 AM, agressiva <address@hidden> wrote:_______________________________________________I used appserver on raspi some time ago.
I am using pprzondroid on mine asus zenphone and it work fine.
Date: Thu, 28 Apr 2016 08:09:28 -0700
From: [hidden email]
To: [hidden email]
Subject: App Server in a Raspberry Pi_______________________________________________
Hi all,
I'm trying to test the communication between the last version of PPRZonDroid, installed in a tablet with Android Marshmallow (v. 6.0.1), and the Paparazzi Center installed in a Raspberry Pi that has Raspbian Jessie, but without success. I tried to use the option "Re-Connect to Server" many times, but without sucess again.
Does anyone know how to solve this problem?
I had success when I used the app server in a laptop with the last version of Ubuntu. Did anyone try to use the app server in a Raspberry Pi too?
Thanks a lot!
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
If you reply to this email, your message will be added to the discussion below:http://lists.paparazziuav.org/App-Server-in-a-Raspberry-Pi-tp17941.htmlTo start a new topic under paparazzi-devel, email [hidden email]
To unsubscribe from paparazzi-devel, click here.
NAML
View this message in context: RE: App Server in a Raspberry Pi
Sent from the paparazzi-devel mailing list archive at Nabble.com.
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
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |