Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

__malloc_hook has been removed from glibc API #5

Open
olumide-x opened this issue Aug 8, 2024 · 0 comments
Open

__malloc_hook has been removed from glibc API #5

olumide-x opened this issue Aug 8, 2024 · 0 comments

Comments

@olumide-x
Copy link

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?

@olumide-x olumide-x changed the title __malloc_hook has been removed from Glibs API __malloc_hook has been removed from glibc API Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant