cancel
Showing results for 
Search instead for 
Did you mean: 

Unknown type name 'sAcceleroParam_t', 'sTimeDomainAlarm_t', 'sAcceleroParam_t', 'sTimeDomainAlarm_t', 'sAcceleroParam_t', 'sAxesMagResults_t' and 'sFreqDomainAlarm_t'

RafaelJoseph
Associate II

0690X00000981LgQAI.png

<command-line>:0:0: note: this is the location of the previous definition 
In file included from ../Src/TargetPlatform.c:40:0: 
../Inc/sensor_service.h:74:37: error: unknown type name 'sAcceleroParam_t' 
 extern tBleStatus TimeDomain_Update(sAcceleroParam_t *sTimeDomain); 
                                    ^~~~~~~~~~~~~~~~ 
../Inc/sensor_service.h:75:51: error: unknown type name 'sTimeDomainAlarm_t' 
 extern tBleStatus FFT_AlarmSpeedRMS_Status_Update(sTimeDomainAlarm_t *pTdAlarm, sAcceleroParam_t *sTimeDomainVal); 
                                                  ^~~~~~~~~~~~~~~~~~ 
../Inc/sensor_service.h:75:81: error: unknown type name 'sAcceleroParam_t' 
 extern tBleStatus FFT_AlarmSpeedRMS_Status_Update(sTimeDomainAlarm_t *pTdAlarm, sAcceleroParam_t *sTimeDomainVal); 
                                                                                ^~~~~~~~~~~~~~~~ 
../Inc/sensor_service.h:76:45: error: unknown type name 'sTimeDomainAlarm_t' 
 extern tBleStatus FFT_AlarmAccStatus_Update(sTimeDomainAlarm_t *pTdAlarm, sAcceleroParam_t *sTimeDomainVal); 
                                            ^~~~~~~~~~~~~~~~~~ 
../Inc/sensor_service.h:76:75: error: unknown type name 'sAcceleroParam_t' 
 extern tBleStatus FFT_AlarmAccStatus_Update(sTimeDomainAlarm_t *pTdAlarm, sAcceleroParam_t *sTimeDomainVal); 
                                                                          ^~~~~~~~~~~~~~~~ 
../Inc/sensor_service.h:77:50: error: unknown type name 'sAxesMagResults_t' 
 extern tBleStatus FFT_AlarmSubrangeStatus_Update(sAxesMagResults_t *AccAxesMagResults,sFreqDomainAlarm_t *THR_Fft_Alarms, uint16_t SubrangeNum, uint16_t ActualMagSize); 
                                                 ^~~~~~~~~~~~~~~~~ 
../Inc/sensor_service.h:77:87: error: unknown type name 'sFreqDomainAlarm_t' 
 extern tBleStatus FFT_AlarmSubrangeStatus_Update(sAxesMagResults_t *AccAxesMagResults,sFreqDomainAlarm_t *THR_Fft_Alarms, uint16_t SubrangeNum, uint16_t ActualMagSize); 
                                                                                      ^~~~~~~~~~~~~~~~~~ 
make: *** [Src/subdir.mk:61: Src/TargetPlatform.o] Error 1 
make: *** Waiting for unfinished jobs.... 
"make -j4 all" terminated with exit code 2. Build might be incomplete.

Where might be the root cause of this problem

1 REPLY 1
RafaelJoseph
Associate II

sorry i forgot to declare. Sorry