Bug 115185 - setpgrp in sh.h vs unistd.h: Compile error
Summary: setpgrp in sh.h vs unistd.h: Compile error
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: tcsh
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: Bill Huang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-02-08 09:28 UTC by Ivan Gyurdiev
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version: 6.12.00-7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-02-10 16:41:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ivan Gyurdiev 2004-02-08 09:28:53 UTC
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)


Note You need to log in before you can comment on or make changes to this bug.