[Top][All Lists]

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

[Paparazzi-devel] Lisa/M Compilation Error

From: Chris Wozny
Subject: [Paparazzi-devel] Lisa/M Compilation Error
Date: Fri, 20 Jan 2012 16:54:07 -0700


I'm currently building the code for the lisa_m_1.0 board and every
time I build I get this error (which shows up in red):

*** Using multilib ***
LD /home/mav/lisa-m-team4938/paparazzi/var/ECE_2012/ap/ap.elf
In function `event_task_ap':
undefined reference to `AhrsEvent'
collect2: ld returned 1 exit status
make[1]: *** [/home/mav/lisa-m-team4938/paparazzi/var/ECE_2012/ap/ap.elf]
Error 1
make[1]: Leaving directory `/home/mav/lisa-m-team4938/paparazzi/sw/airborne'
make: *** [ap.compile] Error 2
make: Leaving directory `/home/mav/lisa-m-team4938/paparazzi'

These were the warnings that came up before this:

arch/stm32/mcu_arch.c:50: warning: #warning Info: Using external clock
arch/stm32/mcu_periph/i2c_arch.c:11: warning: 'i2c_hard_reset' used
but never defined
arch/stm32/mcu_periph/i2c_arch.c:12: warning: 'i2c_reset_init'
declared 'static' but never defined
firmwares/fixedwing/main_fbw.c:159: warning: array subscript is above
array bounds
firmwares/fixedwing/main_ap.c:622: warning: implicit declaration of
function 'AhrsEvent'
firmwares/fixedwing/main_ap.c:622: warning: nested extern declaration
of 'AhrsEvent'

Just to make sure it wasn't an error with the version of GCC I'm
using, I compiled the code against the example_twog_analogimu.xml file
and it built properly. Has anyone bumped into this with Lisa/M?

University of Arizona MAV

reply via email to

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