[Top][All Lists]

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

Re: [Paparazzi-devel] Lisa/M Compilation Error

From: Felix Ruess
Subject: Re: [Paparazzi-devel] Lisa/M Compilation Error
Date: Sat, 21 Jan 2012 21:20:59 +0100

Hi Chris,

what configuration do you have? Are you using an imu, if yes, what subsystem?
Sounds like you are using an imu where USE_IMU is not defined...

Best to post the relevant sections of your airframe config (or put the
whole thing on pastebin or something like that).

Otherwise it is just guesswork....

Cheers, Felix

On Sat, Jan 21, 2012 at 12:54 AM, Chris Wozny <address@hidden> wrote:
> All,
> 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
> /home/mav/lisa-m-team4938/paparazzi/var/ECE_2012/ap/firmwares/fixedwing/main_ap.o:
> In function `event_task_ap':
> /home/mav/lisa-m-team4938/paparazzi/sw/airborne/firmwares/fixedwing/main_ap.c:622:
> 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?
> Thanks,
> Chris
> ----
> University of Arizona MAV
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden

reply via email to

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