I'd like to avoid upgrading to 5.8 as I have written a module in 5.4 and I am a bit short on time at the moment. (unless it fixes NPS...)
<target name="nps" board="pc"> <subsystem name="fdm" type="jsbsim"/>
<define name="IMU_MAG_X_SENS" value="1"/>
<define name="IMU_MAG_Y_SENS" value="1"/>
<define name="IMU_MAG_Z_SENS" value="1"/>
</target> home/cgs/paparazzi/var/aircrafts/ziitst/nps//home/cgs/paparazzi/sw/simulator/nps/nps_autopilot_fixedwing.o: In function `nps_autopilot_run_step':
/home/cgs/paparazzi/sw/simulator/nps/nps_autopilot_fixedwing.c:110: undefined reference to `imu_feed_mag'
/home/cgs/paparazzi/sw/simulator/nps/nps_autopilot_fixedwing.c:104: undefined reference to `imu_feed_gyro_accel'
/home/cgs/paparazzi/var/aircrafts/ziitst/nps/subsystems/ahrs/ahrs_aligner.o: In function `pprz_msg_send_FILTER_ALIGNER':
/home/cgs/paparazzi/var/include/messages.h:2593: undefined reference to `imu'
/home/cgs/paparazzi/var/include/messages.h:2594: undefined reference to `imu'
/home/cgs/paparazzi/var/include/messages.h:2595: undefined reference to `imu'
/home/cgs/paparazzi/var/aircrafts/ziitst/nps/subsystems/ahrs/ahrs_aligner.o: In function `ahrs_aligner_run':
/home/cgs/paparazzi/sw/airborne/subsystems/ahrs/ahrs_aligner.c:87: undefined reference to `imu'
/home/cgs/paparazzi/sw/airborne/subsystems/ahrs/ahrs_aligner.c:86: undefined reference to `imu'
/home/cgs/paparazzi/var/aircrafts/ziitst/nps/subsystems/ahrs/ahrs_aligner.o:/home/cgs/paparazzi/sw/airborne/subsystems/ahrs/ahrs_aligner.c:86: more undefined references to `imu' follow
collect2: ld returned 1 exit status
make[1]: *** [/home/cgs/paparazzi/var/aircrafts/ziitst/nps/simsitl] Error 1
make[1]: Leaving directory `/home/cgs/paparazzi/sw/airborne'
make: *** [nps.compile] Error 2
make: Leaving directory `/home/cgs/paparazzi'