빌드 에러 문의 건
18 views (last 30 days)
Show older comments
오류:The call to autosar_make_rtw_hook, during the entry hook generated the following error:
Short name 'FlushHandle_Impl' (Package /Components/SwcImplementations/FlushHandle_Impl) failed uniqueness tests, because short name 'FlushHandle_Impl' (SwcImplementation /Components/SwcImplementations/FlushHandle_Impl) already exists. AUTOSAR constraint 2508 (CONSTR_2508) requires uniqueness tests to be case insensitive. To comply with the constraint, change one of the short names.
The build process will terminate as a result.
원인:
Short name 'FlushHandle_Impl' (Package /Components/SwcImplementations/FlushHandle_Impl) failed uniqueness tests, because short name 'FlushHandle_Impl' (SwcImplementation /Components/SwcImplementations/FlushHandle_Impl) already exists. AUTOSAR constraint 2508 (CONSTR_2508) requires uniqueness tests to be case insensitive. To comply with the constraint, change one of the short names.
이런 에러가 있는대 어떻게 수정하면 될까요?
0 Comments
Answers (1)
Angelo Yeo
on 8 Jul 2024
안녕하세요. AUTOSAR 제약 조건 2508(CONSTR_2508)에 따르면, 단축 이름은 대소문자를 구분하지 않고 고유해야 합니다. 따라서, 이 문제를 해결하려면 하나의 단축 이름을 변경하거나 삭제해야 합니다.
Short name은 ApplicationDataType 혹은 ImplementationDataType 중 하나에서 중복될 수 있는데, 아래와 같이 입력하여 중복되는 DataType이 있는지 확인해보십시오.
arProps = autosar.api.getAUTOSARProperties(bdroot);
appDtType = arProps.find([],'ApplicationDataType','PathType','FullyQualified')'
impDtType = arProps.find([],'ImplementationDataType','PathType','FullyQualified')'
2 Comments
Giacomo
on 24 Sep 2024
Edited: Giacomo
on 24 Sep 2024
Hello, I have the same exact issue, in your answer you suggest to use AUTOSAR Delete API. I have tried to use it:
>>impDtType = find(arProps,[],'ImplementationDataType','PathType','FullyQualified');
impDtType =1×319 cell array
>>impDtType1=impDtType{286}
>> delete(arProps,impDtType1);
at the delete command I then get the error:
"Error using autosar.api.getAUTOSARProperties/delete
Found more than one AUTOSAR element at the partially qualified path '/DataTypes/Adt_AB_Anzeige', please specify a fully qualified path instead. Valid fully qualified paths
are '/DataTypes/Adt_AB_Anzeige', '/DataTypes/Adt_AB_Anzeige'."
My problem is that the path is already full qualified, the 2 paths proposed in the error message are the same and I cannot find a way to differentiate them. Does anyone has some advice, thanks.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!