Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure in spdm_device_secret_lib_sample #2755

Closed
steven-bellock opened this issue Jul 8, 2024 · 0 comments · Fixed by #2759
Closed

Build failure in spdm_device_secret_lib_sample #2755

steven-bellock opened this issue Jul 8, 2024 · 0 comments · Fixed by #2759
Assignees
Labels
bug Something isn't working build Build system

Comments

@steven-bellock
Copy link
Contributor

The combination of LIBSPDM_ENABLE_CAPABILITY_MEAS_CAP=1 and LIBSPDM_ENABLE_CAPABILITY_MEL_CAP=0 causes a build failure in https://github.com/DMTF/libspdm/blob/main/os_stub/spdm_device_secret_lib_sample/lib.c.

...\spdm_device_secret_lib_sample\lib.c(1039): error C2065: 'm_libspdm_mel': undeclared identifier
...\spdm_device_secret_lib_sample\lib.c(1039): warning C4312: 'type cast': conversion from 'int' to 'spdm_measurement_extension_log_dmtf_t *' of greater size
@steven-bellock steven-bellock added bug Something isn't working build Build system labels Jul 8, 2024
@jyao1 jyao1 removed their assignment Jul 9, 2024
Wenxing-hou added a commit to Wenxing-hou/libspdm that referenced this issue Jul 9, 2024
Fix the issue: DMTF#2755

Signed-off-by: Wenxing Hou <[email protected]>
Wenxing-hou added a commit to Wenxing-hou/libspdm that referenced this issue Jul 9, 2024
Fix the issue: DMTF#2755

Signed-off-by: Wenxing Hou <[email protected]>
jyao1 pushed a commit that referenced this issue Jul 9, 2024
Fix the issue: #2755

Signed-off-by: Wenxing Hou <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build Build system
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants