Wednesday, April 13, 2011

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

While compiling any sources in linux if you got above Error.
----------------------------------------------------
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
make[2]: *** [boot.o] Error 1
make[2]: Leaving directory `/mnt/resin-4.0.16/modules/c/src/resin_os'
make[1]: *** [plugins] Error 2
make[1]: Leaving directory `/mnt/resin-4.0.16/modules/c/src'
make: *** [all] Error 2

--------------------------------------------------
Please do install following lib package from YUM:
 yum -y install glibc-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirror.stanford.edu
 * base: mirrors.kernel.org
 * extras: mirrors.kernel.org
 * updates: mirrors.kernel.org
Setting up Install Process
Package glibc-devel-2.5-58.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-58 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================================================================
 Package                              Arch                          Version                            Repository                     Size
===========================================================================================================================================
Installing:
 glibc-devel                          i386                          2.5-58                             base                          2.0 M

Transaction Summary
===========================================================================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)