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 fails on macOS Sonoma: error: call to undeclared function 'alpha_malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] #20

Open
barracuda156 opened this issue Dec 15, 2023 · 0 comments

Comments

@barracuda156
Copy link

:info:build alphasparse_convert_csr5.c:42:31: error: call to undeclared function 'alpha_malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
:info:build   alphasparse_matrix *dest_ = alpha_malloc(sizeof(alphasparse_matrix));
:info:build                               ^
:info:build 1 error generated.
:info:build make[3]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_AlphaSparse/AlphaSparse/work/AlphaSparse-57eefee000734f40d9e972cbd110fbc4c51a71d3/obj/alphasparse_convert_csr5.o] Error 1
:info:build make[3]: *** Waiting for unfinished jobs....
:info:build alphasparse_convert_gebsr.c:165:31: error: call to undeclared function 'alpha_malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
:info:build   alphasparse_matrix *dest_ = alpha_malloc(sizeof(alphasparse_matrix));
:info:build                               ^
:info:build alphasparse_convert_gebsr.c:178:24: error: call to undeclared function 'alphasparse_transpose'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
:info:build     check_error_return(alphasparse_transpose(source, &AA));
:info:build                        ^
:info:build alphasparse_convert_gebsr.c:182:5: error: call to undeclared function 'alphasparse_destroy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
:info:build     alphasparse_destroy(AA);
:info:build     ^
:info:build 3 errors generated.

Related Trac ticket: https://trac.macports.org/ticket/68912

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

No branches or pull requests

1 participant