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 failed in RedHat 8.5 #68

Closed
mxu9 opened this issue May 28, 2024 · 0 comments · Fixed by #69
Closed

Build failed in RedHat 8.5 #68

mxu9 opened this issue May 28, 2024 · 0 comments · Fixed by #69
Assignees

Comments

@mxu9
Copy link
Contributor

mxu9 commented May 28, 2024

teeio-validator build failed in RedHat 8.5.
gcc version is 8.5.0 20210514 (Red Hat 8.5.0-10)

[ 87%] Built target spdm_device_secret_lib_sample
tee-io-validator/teeio-validator/teeio_validator/ide_test_ini.c: In function ‘dump_test_config’:
tee-io-validator/teeio-validator/teeio_validator/ide_test_ini.c:2442:25: error: ‘main’ is usually a function [-Werror=main]
   IDE_TEST_MAIN_CONFIG *main = &test_config->main_config;
                         ^~~~
tee-io-validator/teeio-validator/teeio_validator/ide_test_ini.c: In function ‘dump_test_config’:
tee-io-validator/teeio-validator/teeio_validator/ide_test_ini.c:2442:25: error: ‘main’ is usually a function [-Werror=main]
   IDE_TEST_MAIN_CONFIG *main = &test_config->main_config;
                         ^~~~
make[2]: Warning: File 'tee-io-validator/teeio-validator/teeio_validator/teeio_validator.c' has modification time 41790 s in the future
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant