Skip to content

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

@barracuda156

Description

@barracuda156
: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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions