[MacPorts] #61629: umem: error: implicit declaration of function 'umem_startup' is invalid in C99 (was: umem fails to build with undefined symbols)
MacPorts
noreply at macports.org
Thu Dec 3 03:19:02 UTC 2020
#61629: umem: error: implicit declaration of function 'umem_startup' is invalid in
C99
-----------------------+-----------------------------
Reporter: druidvav | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords: bigsur catalina
Port: umem |
-----------------------+-----------------------------
Changes (by ryandesign):
* keywords: bigsur => bigsur catalina
Old description:
> Looks like the package need a fix similar to
> https://trac.macports.org/ticket/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.
> }}}
New description:
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.
}}}
--
Comment:
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.
--
Ticket URL: <https://trac.macports.org/ticket/61629#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list