빌드 에러 문의 건
24 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')'
See Also
Categories
Find more on AUTOSAR Blockset in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!