/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory

user2931 picture user2931 · Apr 19, 2012 · Viewed 28.9k times · Source

I am trying to install roccc 2.0. I have installed required packages. Now while installing it, it is giving me this error:

/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory

I searched for gnu/stubs-32.h and came to know, for Linux 64-bit its in glibc-devel and for Linux 32-bit, its in libc6-dev-i386.

I am using Linux 32-bit: i386 GNU/Linux, but couldn't get the lib required to resolve this error.

Can somebody please help me out?

Answer

Subba Reddy picture Subba Reddy · Dec 14, 2012

If your Linux distro is Redhat based (Fedora/CentOS/RHEL):

yum install glibc-devel.i686

References