tag.elf Error 1

Firmware/software/electronics/mechanics
Post Reply
EduardoAguilar
Beginner
Posts: 22
Joined: Tue May 05, 2020 2:05 am

tag.elf Error 1

Post by EduardoAguilar »

HI guys!!!


I have a problem when I type the statement

Code: Select all

 eduardo@eduardo-Aspire-V3-574:~/crazyflie-firmware$ make PLATFORM=tag  
, the error is:

Code: Select all

eduardo@eduardo-Aspire-V3-574:~/crazyflie-firmware$ make PLATFORM=tag
  CLEAN_VERSION
  VTMPL version.c
  CC    version.o
  LD    tag.elf
bin/sensors.o:(.rodata.sensorImplementations+0x38): undefined reference to `sensorsBmi088SpiBmp388Init'
bin/sensors.o:(.rodata.sensorImplementations+0x3c): undefined reference to `sensorsBmi088SpiBmp388Test'
bin/sensors.o:(.rodata.sensorImplementations+0x40): undefined reference to `sensorsBmi088SpiBmp388AreCalibrated'
bin/sensors.o:(.rodata.sensorImplementations+0x44): undefined reference to `sensorsBmi088SpiBmp388ManufacturingTest'
bin/sensors.o:(.rodata.sensorImplementations+0x48): undefined reference to `sensorsBmi088SpiBmp388Acquire'
bin/sensors.o:(.rodata.sensorImplementations+0x4c): undefined reference to `sensorsBmi088SpiBmp388WaitDataReady'
bin/sensors.o:(.rodata.sensorImplementations+0x50): undefined reference to `sensorsBmi088SpiBmp388ReadGyro'
bin/sensors.o:(.rodata.sensorImplementations+0x54): undefined reference to `sensorsBmi088SpiBmp388ReadAcc'
bin/sensors.o:(.rodata.sensorImplementations+0x58): undefined reference to `sensorsBmi088SpiBmp388ReadMag'
bin/sensors.o:(.rodata.sensorImplementations+0x5c): undefined reference to `sensorsBmi088SpiBmp388ReadBaro'
bin/sensors.o:(.rodata.sensorImplementations+0x60): undefined reference to `sensorsBmi088SpiBmp388SetAccMode'
bin/sensors.o:(.rodata.sensorImplementations+0x64): undefined reference to `sensorsBmi088SpiBmp388DataAvailableCallback'
bin/sensors.o:(.rodata.sensorImplementations+0x6c): undefined reference to `sensorsMpu9250Lps25hInit'
bin/sensors.o:(.rodata.sensorImplementations+0x70): undefined reference to `sensorsMpu9250Lps25hTest'
bin/sensors.o:(.rodata.sensorImplementations+0x74): undefined reference to `sensorsMpu9250Lps25hAreCalibrated'
bin/sensors.o:(.rodata.sensorImplementations+0x78): undefined reference to `sensorsMpu9250Lps25hManufacturingTest'
bin/sensors.o:(.rodata.sensorImplementations+0x7c): undefined reference to `sensorsMpu9250Lps25hAcquire'
bin/sensors.o:(.rodata.sensorImplementations+0x80): undefined reference to `sensorsMpu9250Lps25hWaitDataReady'
bin/sensors.o:(.rodata.sensorImplementations+0x84): undefined reference to `sensorsMpu9250Lps25hReadGyro'
bin/sensors.o:(.rodata.sensorImplementations+0x88): undefined reference to `sensorsMpu9250Lps25hReadAcc'
bin/sensors.o:(.rodata.sensorImplementations+0x8c): undefined reference to `sensorsMpu9250Lps25hReadMag'
bin/sensors.o:(.rodata.sensorImplementations+0x90): undefined reference to `sensorsMpu9250Lps25hReadBaro'
bin/sensors.o:(.rodata.sensorImplementations+0x94): undefined reference to `sensorsMpu9250Lps25hSetAccMode'
collect2: error: ld returned 1 exit status
tools/make/targets.mk:38: fallo en las instrucciones para el objetivo 'tag.elf'
make[1]: *** [tag.elf] Error 1
Makefile:371: fallo en las instrucciones para el objetivo 'build'
make: *** [build] Error 2

 

I try to update the firmware.

If you can help me I would appreciate it thank you.
kimberly
Bitcraze
Posts: 559
Joined: Fri Jul 06, 2018 11:13 am

Re: tag.elf Error 1

Post by kimberly »

Seems like you don't have the necessary submodules in the repo.

Could you try:

Code: Select all

git submodule init
git submodule update
Also, are you building this firmware for the roadrunner or the crazyflie? PLATFORM=tag is for the roadrunner
Post Reply