Opened 11 months ago

Closed 9 months ago

#68912 closed defect (fixed)

AlphaSparse fails on Sonoma: error: call to undeclared function 'alpha_malloc'

Reported by: barracuda156 Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: sonoma Cc:
Port: AlphaSparse

Description (last modified by 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.

https://github.com/ALSparse/ALSparse/issues/20

Change History (2)

comment:1 Changed 11 months ago by barracuda156

Description: modified (diff)

comment:2 Changed 9 months ago by barracuda156

Resolution: fixed
Status: assignedclosed

In 4294b813d530e3531f6025c6e562dfd62b217b53/macports-ports (master):

AlphaSparse: fix build on Sonoma, install headers

Fixes: #68912

Note: See TracTickets for help on using tickets.