I want to use GFS as the CFS for Oralce9iR2 RAC so I download GFS-6.0.2.27-0.src.rpm from ftp.redhat.com. When I executed rpmbuild -ba gfs-build.spec, after running for a while, it stopped right after the command "ld -r -o vfat.o namei.o vfatfs_syms.o" and returned something as below:
In file included from /usr/src/redhat/BUILD/GFS-6.0.2.27/gfs-6.0.2.27/linux/include/linux/swap.h:6,
from /usr/src/redhat/BUILD/GFS-6.0.2.27/gfs-6.0.2.27/linux/include/linux/mm.h:31,
from vfatfs_syms.c:11:
/usr/src/redhat/BUILD/GFS-6.0.2.27/gfs-6.0.2.27/linux/include/linux/brlock.h:88: warning: `always_inline' attribute directive ignored
/usr/src/redhat/BUILD/GFS-6.0.2.27/gfs-6.0.2.27/linux/include/linux/brlock.h:101: warning: `always_inline' attribute directive ignored
/usr/src/redhat/BUILD/GFS-6.0.2.27/gfs-6.0.2.27/linux/include/linux/brlock.h:171: warning: `always_inline' attribute directive ignored
/usr/src/redhat/BUILD/GFS-6.0.2.27/gfs-6.0.2.27/linux/include/linux/brlock.h:179: warning: `always_inline' attribute directive ignored
rm -f vfat.o
ld -r -o vfat.o namei.o vfatfs_syms.o
make[3]: Leaving directory `/usr/src/redhat/BUILD/GFS-6.0.2.27/gfs-6.0.2.27/linux/fs/vfat'
make[2]: Leaving directory `/usr/src/redhat/BUILD/GFS-6.0.2.27/gfs-6.0.2.27/linux/fs'
make[1]: Leaving directory `/usr/src/redhat/BUILD/GFS-6.0.2.27/gfs-6.0.2.27/linux'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.37365 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.37365 (%build)
Some information about the build machine:
# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 3 (Taroon Update 6)
# uname -a
Linux localhost.localdomain 2.4.21-37.EL #1 SMP Wed Sep 7 13:24:42 EDT 2005 ia64 ia64 ia64 GNU/Linux
If you need anything else, please let me know. Any help is appreciated.
TIA,
--Thai Duong.
-- Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster