Skip to content
Tcl Source Code View Ticket
Login

View Ticket

make fails in IRIX 5.3/gcc 2.7.2

Closed / Fixed218652ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:03:43
OriginalBugID: 1597 Bug
Version: 8.0.5
SubmitDate: '1999-03-22'
LastModified: '1999-12-14'
Severity: CRIT
Status: Released
Submitter: pat
ChangedBy: hobbs
OS: IRIX
Machine: Other
FixedDate: '1999-12-14'
FixedInVersion: 8.2.2
ClosedDate: '2000-10-25'


Name: Ike Stoddard

ReproducibleScript:
1) ./configure --enable-shared --prefix=tcltk.wrk --enable-gcc
2) applied recommended Makefile mods: drop "-n32", drop "-mapi=n32", add
 "-mmips-as", add "-D_BSD_TIME" to CFLAGS
3)make

ObservedBehavior:
    gcc  -c  -D_BSD_TIME -Wall -Wconversion  -I./../generic -I. -mmips-as
    -DUSEGETWD=1 -DNO_STRERROR=1 -DNO_GETWD=1 -DNO_WAIT3=1 -DNO_UNAME=1
    -DNO_DIRENT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1
    -DTIME_WITH_SYS_TIME=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1
    -DUSE_DIRENT2_H=1 -DNO_UNION_WAIT=1 -DNEED_MATHERR=1 -DRETSIGTYPE=void
    -Dvfork=fork -DNO_GETTOD=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1
    -DHAVE_SYS_FILIO_H=1        -DTCL_SHLIB_EXT=\".so\"
    ./../compat/waitpid.c
    ./../compat/waitpid.c:69: conflicting types for `waitpid'
    /usr/include/sys/wait.h:150: previous declaration of `waitpid'
    make: *** [waitpid.o] Error 1

Tcl8.2 builds OK with IRIX MIPS cc or gcc 2.95+ for IRIX, and
use -o32 instead of -n32 for MIPS cc. 
-- 12/14/1999 hobbs
welch Closed ticket [218652ffff]. [History diff]2000-10-26 08:26:10
dgp Ticket [218652ffff]: 1 change [History diff]2001-04-05 06:54:25
dgp Ticket [218652ffff]: 2 changes [History diff]2001-04-05 06:54:26
Log in (anonymous is fine) to add a comment.