Clear Filters
Clear Filters

빌드 에러 문의 건

28 views (last 30 days)
범식 이
범식 이 on 8 Jul 2024 at 6:02
Answered: Angelo Yeo on 8 Jul 2024 at 7:08
오류: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.
이런 에러가 있는대 어떻게 수정하면 될까요?

Answers (1)

Angelo Yeo
Angelo Yeo on 8 Jul 2024 at 7:08
안녕하세요. 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')'
중복되는 short name을 찾으셨다면 AUTOSAR의 delete API를 이용하셔서 중복되는 element를 삭제해보시기 바랍니다.
만약 위 방법으로 문제가 해결되지 않는다면 모델 및 구체적인 재현 방법과 함께 매스웍스 기술지원팀에 연락하여 도움 받으시기 바랍니다.

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!