<div>my linux server is redhat AS 3 update 5.</div>
<div>I download dovecot 0.99.11 source rpm to rebuild a binary rpm package</div>
<div>I issued command rpmbuild -ba dovecot.spec</div>
<div>after a few mins of works, rpmbuild process stopped with errors</div>
<div>..............</div>
<div>
<p>gcc -DHAVE_CONFIG_H -I. -I. -I../.. -O2 -g -pipe -march=i386 -mcpu=i686 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -I/usr/kerberos/include -c
unlink-lockfiles.c<br>gcc -DHAVE_CONFIG_H -I. -I. -I../.. -O2 -g -pipe -march=i386 -mcpu=i686 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -I/usr/kerberos/include -c
utc-offset.c<br>gcc -DHAVE_CONFIG_H -I. -I. -I../.. -O2 -g -pipe -march=i386 -mcpu=i686 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -I/usr/kerberos/include -c
utc-mktime.c<br>gcc -DHAVE_CONFIG_H -I. -I. -I../.. -O2 -g -pipe -march=i386 -mcpu=i686 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -I/usr/kerberos/include -c
var-expand.c<br>gcc -DHAVE_CONFIG_H -I. -I. -I../.. -O2 -g -pipe -march=i386 -mcpu=i686 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -I/usr/kerberos/include -c
write-full.c<br>rm -f liblib.a<br>make[3]: AR@: Command not found<br>make[3]: *** [liblib.a] Error 127<br>make[3]: Leaving directory `/usr/src/redhat/BUILD/dovecot-0.99.11/src/lib'<br>make[2]: *** [all-recursive] Error 1<br>
make[2]: Leaving directory `/usr/src/redhat/BUILD/dovecot-0.99.11/src'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/usr/src/redhat/BUILD/dovecot-0.99.11'<br>make: *** [all-recursive-am] Error 2<br>
error: Bad exit status from /var/tmp/rpm-tmp.11388 (%build)</p>
<p>RPM build errors:<br> Bad exit status from /var/tmp/rpm-tmp.11388 (%build)</p></div>
<div>What's the meaning of these errors ?</div>