- 论坛徽章:
- 0
|
[root@rhel1 src]# rpm -ivh clumanager-1.2.3-1.src.rpm
warning: clumanager-1.2.3-1.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e
1:clumanager ########################################### [100%]
[root@rhel1 src]# cd /usr/src/redhat/SPECS
[root@rhel1 SPECS]# ls
clumanager.spec redhat-config-cluster.spec
[root@rhel1 SPECS]# rpmbuild -bb clumanager.spec
...................
....................
......................
cc1: warnings being treated as errors
In file included from /usr/include/linux/unistd.h:10,
from clunfsops.c:46:
/usr/include/unistd.h:189: warning: redefinition of `ssize_t'
/usr/include/linux/types.h:39: warning: `ssize_t' previously declared here
In file included from syscall.h:33,
from clunfsops.c:71:
/usr/include/linux/nfsd/export.h:107: warning: declaration of `sin' shadows global declaration
/usr/include/linux/nfsd/export.h:112: warning: `struct knfsd_fh' declared inside parameter list
/usr/include/linux/nfsd/export.h:112: warning: its scope is only this definition or declaration, which is probably not what you want.
/usr/include/linux/nfsd/export.h:113: warning: declaration of `__errno_location' shadows global declaration
In file included from syscall.h:36,
from clunfsops.c:71:
/usr/include/linux/nfsd/auth.h:23: warning: `struct svc_rqst' declared inside parameter list
make[2]: *** [clunfsops] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/clumanager-1.2.3/src/utils'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/clumanager-1.2.3/src'
make: *** [all] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.93273 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.93273 (%build)
因为出错了,所以没有生成rpm包,但是我不想得应该怎么排除?是什么问题? |
|