GCC: Linux gnu/stubs-32.h: No such file or directory

This error message usually indicates that the required header file, “gnu/stubs-32.h”, is missing from your system. This header file is part of the glibc library and provides stub definitions for 32-bit system calls on 64-bit systems. To resolve this issue, you can try installing the glibc-devel package for your Linux distribution, which should include the required header file. For example, on a Debian-based system, you can use the following command:

sudo apt-get install libc6-dev-i386

Leave a Comment