[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

creating rpm from source



i am creating rpm from sorce .tar.gz file by command
rpmbuild -ba anaconda.spec
it start the process but after some time process is stopped by giving the following error
isys.c:923: warning: enumeration value `CLASS_USB' not handled in switch
isys.c:923: warning: enumeration value `CLASS_SOCKET' not handled in switch
isys.c:889: warning: `class' might be used uninitialized in this function
cc -I/usr/include/python1.5 -I.. -Wall -O2 -g -DHAVE_NFS -DHAVE_NFSV3 -c -o nfsmount.o nfsmount.c
In file included from nfsmount.c:56:
/usr/include/linux/uio.h:20: redefinition of `struct iovec'
nfsmount.c: In function `nfsmount':
nfsmount.c:579: warning: implicit declaration of function `time'
make[1]: *** [nfsmount.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/anaconda-7.0.1/isys'
make: *** [subdirs] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.43582 (%build)



RPM build errors: Bad exit status from /var/tmp/rpm-tmp.43582 (%build)


how to resolve this error



_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]