tcsh-6.12-6.src.rpm + make all grep 'ERR_' ./sh.err.c | grep '^#define' >> sh.err.h gcc -E -I. -I. -D_PATH_TCSHELL='"/bin/tcsh"' -D_h_tc_const\ ./tc.const.c | grep 'Char STR' | \ sed -e 's/Char \([a-zA-Z0-9_]*\) *\[ *\].*/extern Char \1[];/' | \ sort >> tc.const.h gcc -c -O2 -g -pipe -march=athlon -I. -I. -D_PATH_TCSHELL='"/bin/tcsh"' sh.c In file included from sh.c:34: sh.h:477: error: conflicting types for `setpgrp' /usr/include/unistd.h:587: error: previous declaration of `setpgrp' make: *** [sh.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.7865 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.7865 (%build)