paparazzi-devel
[Top][All Lists]
Advanced

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

[Paparazzi-devel] Fwd: Problems with make after running software updater


From: Helge Walle
Subject: [Paparazzi-devel] Fwd: Problems with make after running software updater in Ubuntu.
Date: Tue, 9 Jan 2018 19:33:38 +0100


Hi,

I use Ubuntu 16.04 LTS 64-bit on my laptop, and I got a problem yesterday 08.01.2017.
When running make, both on v5.10 and v5.12, I get many messages like the ones shown below in this mail.

And when trying to build a fixed wing in v5.10, I get many messages in the console, like the ones at the bottom of this mail.

I am not sure if GCC was updated during the Ubuntu system update, but when I run gcc -v I get:
...
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5)
...

Could this problem be caused by changes that came with the Ubuntu update?

Thanks,
Helge.





WHEN RUNNING make:
...
  BUILD   lib/stm32/f1
  CP      libopencm3_stm32f1.ld
  CC      adc.c
  CC      adc_common_v1.c
  CC      can.c
../can.c: In function 'can_transmit':
../can.c:417:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
   tdhxr.data8[3] = data[7];
   ~~~~~~~~~~~~~~~^~~~~~~~~
../can.c:419:2: note: here
  case 7:
  ^~~~
../can.c:420:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
   tdhxr.data8[2] = data[6];
   ~~~~~~~~~~~~~~~^~~~~~~~~
...
...
...

  CC      timer_common_all.c
../common/timer_common_all.c: In function 'timer_interrupt_source':
../common/timer_common_all.c:247:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
 #if ADVANCED_TIMERS
     ^~~~~~~~~~~~~~~
../common/timer_common_all.c:247:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
../common/timer_common_all.c: In function 'timer_set_output_idle_state':
../common/timer_common_all.c:548:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
 #if ADVANCED_TIMERS
     ^~~~~~~~~~~~~~~
...
...
...
  BUILD   lib/stm32/f4
  CP      libopencm3_stm32f4.ld
  CC      adc.c
  CC      adc_common_v1.c
  CC      can.c
../can.c: In function 'can_transmit':
../can.c:417:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
   tdhxr.data8[3] = data[7];
   ~~~~~~~~~~~~~~~^~~~~~~~~
../can.c:419:2: note: here
  case 7:
  ^~~~
../can.c:420:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
   tdhxr.data8[2] = data[6];
   ~~~~~~~~~~~~~~~^~~~~~~~~




WHEN BUILDING A FIXED WING:
...
...
...
CC /home/helge/paparazzi/var/aircrafts/SKYWALKERHW_TWOG_V1_SEN10121_IMU_MS5611/ap/firmwares/fixedwing/nav.o
CC /home/helge/paparazzi/var/aircrafts/SKYWALKERHW_TWOG_V1_SEN10121_IMU_MS5611/ap/subsystems/navigation/common_flight_plan.o
In file included from ./firmwares/fixedwing/nav.h:41:0,
                 from firmwares/fixedwing/nav.c:34:
/home/helge/paparazzi/var/aircrafts/SKYWALKERHW_TWOG_V1_SEN10121_IMU_MS5611/ap/generated/flight_plan.h: In function 'auto_nav':
./subsystems/navigation/common_flight_plan.h:44:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
 #define InitStage() nav_init_stage();
                     ^~~~~~~~~~~~~~~~
./subsystems/navigation/common_flight_plan.h:51:36: note: in expansion of macro 'InitStage'
 #define NextStage() { nav_stage++; InitStage(); }
                                    ^~~~~~~~~
/home/helge/paparazzi/var/aircrafts/SKYWALKERHW_TWOG_V1_SEN10121_IMU_MS5611/ap/generated/flight_plan.h:163:9: note: in expansion of macro 'NextStage'
         NextStage();
         ^~~~~~~~~
./subsystems/navigation/common_flight_plan.h:55:18: note: here
 #define Label(x) label_ ## x:
                  ^
/home/helge/paparazzi/var/aircrafts/SKYWALKERHW_TWOG_V1_SEN10121_IMU_MS5611/ap/generated/flight_plan.h:164:7: note: in expansion of macro 'Label'
       Label(while_1)
       ^~~~~
...
...
...





reply via email to

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