Skip to content

__malloc_hook has been removed from glibc API #5

Description

@olumide-x

Thus:

$ make
make: Warning: File 'Makefile' has modification time 7.1 s in the future
make  all-am
make[1]: Entering directory '/mnt/c/Downloads/src/mutrace'
make[1]: Warning: File 'Makefile' has modification time 7 s in the future
  CC       libmutrace_la-mutrace.lo
mutrace.c: In function ‘setup’:
mutrace.c:443:13: error: ‘__malloc_hook’ undeclared (first use in this function)
  443 |         if (__malloc_hook) {
      |             ^~~~~~~~~~~~~
mutrace.c:443:13: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [Makefile:668: libmutrace_la-mutrace.lo] Error 1
make[1]: Leaving directory '/mnt/c/Do

Are there any workarounds?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions