Skip to content
This repository was archived by the owner on Apr 20, 2026. It is now read-only.
This repository was archived by the owner on Apr 20, 2026. It is now read-only.

Installation Error  #22

Description

@kandapva

While installing Isaac4 I encountered the following error:

~/Isaac4/src/c++/lib/common/SystemCompatibility.cpp: In function ‘void* isaac::common::malloc_hook(size_t, const void*)’:
~/Isaac4/src/c++/lib/common/SystemCompatibility.cpp:464:5: error: ‘__malloc_hook’ was not declared in this scope; did you mean ‘malloc_hook’?
  464 |     __malloc_hook = old_malloc_hook_;
      |     ^~~~~~~~~~~~~
      |     malloc_hook
In file included from /usr/include/c++/11/cassert:44,
                 from ~/Isaac4/src/c++/lib/common/SystemCompatibility.cpp:74:
~/Isaac4/src/c++/lib/common/SystemCompatibility.cpp: In function ‘void isaac::common::hookMalloc(bool (*)(size_t, const void*))’:
~/Isaac4/src/c++/lib/common/SystemCompatibility.cpp:487:12: error: ‘__malloc_hook’ was not declared in this scope; did you mean ‘malloc_hook’?
  487 |     assert(__malloc_hook != malloc_hook);
      |            ^~~~~~~~~~~~~
~/Isaac4/src/c++/lib/common/SystemCompatibility.cpp: In function ‘unsigned int isaac::common::unhookMalloc(bool (*)(size_t, const void*))’:
~/Isaac4/src/c++/lib/common/SystemCompatibility.cpp:501:12: error: ‘__malloc_hook’ was not declared in this scope; did you mean ‘malloc_hook’?
  501 |     assert(__malloc_hook == malloc_hook);
      |            ^~~~~~~~~~~~~

Please let me know if you need further details to reproduce the error.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions