Opened 4 years ago

Closed 4 years ago

#61629 closed defect (fixed)

umem: error: implicit declaration of function 'umem_startup' is invalid in C99

Reported by: druidvav (Anton Vlasov) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur catalina Cc:
Port: umem

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Looks like the package need a fix similar to #61464

:info:build malloc.c:462:2: error: implicit declaration of function 'umem_startup' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build         umem_startup(NULL, 0, 0, NULL, NULL);
:info:build         ^
:info:build 1 error generated.

Change History (2)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: catalina added
Summary: umem fails to build with undefined symbolsumem: error: implicit declaration of function 'umem_startup' is invalid in C99

This has nothing to do with #61464. That was about undefined symbols, which is a consequence of a libtool bug that appears on macOS 11 and later. This, on the other hand, involves implicit declaration of functions, which is now an error in Xcode 12 and needs to be fixed by declaring the functions before using them.

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 206370ac3dc4d34d9cadb3fe1bb0579b9d607bf5/macports-ports (master):

umem: Fix implicit declaration of functions

Closes: #61629

Note: See TracTickets for help on using tickets.