From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 10eb76,afaf2125edf799da X-Google-Thread: fa528,4fb0c373b5a53fff,start X-Google-Attributes: gid10eb76,gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.insightbb.com!news.insightbb.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 08 Mar 2007 11:08:01 -0600 Newsgroups: comp.lang.tcl,comp.unix.tru64,comp.unix.osf.osf1 Subject: Re: Build errors for tcl8.4.14 on Tru64 UNIX V5.1B References: <1173228749.112029.189290@8g2000cwh.googlegroups.com> X-Newsreader: trn 4.0-test76 (Apr 2, 2001) From: claird@lairds.us (Cameron Laird) Originator: claird@lairds.us (Cameron Laird) Date: Thu, 8 Mar 2007 16:51:17 +0000 Message-ID: <5hr5c4-1sn.ln1@lairds.us> NNTP-Posting-Host: 74.132.227.26 X-Trace: sv3-7PqbS1p75dK5AY9NUAnZt5xUaf/CLXulSpEHSKsyW+sgKme1xdwCbdgopCofI+rKw7Kn41OX+p7qACO!YJDhh6zKq9ycoAKNTx0piwdbAxg3evwkkeTnO/gz8MEItn4pEf25Ou9dYTsm7MIE X-Complaints-To: abuse@insightbb.com X-DMCA-Complaints-To: abuse@insightbb.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.34 Xref: g2news1.google.com comp.lang.tcl:33812 comp.unix.tru64:957 In article <1173228749.112029.189290@8g2000cwh.googlegroups.com>, wrote: >Group Readers, > >When build tcl on ES45 running Tru64 UNIX V5.1B, I get the following >errors: > >cc: Error: /usr/ruby-deploy/swkits/RUBY/SOFTWARE/3rdPartySW/TclTk/ >tcl8.4.14/unix/tclUnixTime.c, line 347: In the definition of the >function "TclpGmtime", the promoted type of tt is incompatible with >the type of the corresponding parameter in a prior declaration. >(promotmatch) > CONST TclpTime_t tt; >---------------------^ >cc: Error: /usr/ruby-deploy/swkits/RUBY/SOFTWARE/3rdPartySW/TclTk/ >tcl8.4.14/unix/tclUnixTime.c, line 398: In the definition of the >function "TclpLocaltime", the promoted type of tt is incompatible with >the type of the corresponding parameter in a prior declaration. >(promotmatch) > CONST TclpTime_t tt; >---------------------^ >*** Exit 1 > >It appears that there is no clear definition for TclpTime_t. > >The configure was done as follows: > >CC=cc ./configure --prefix=/opt/tcl --enable-threads --enable-shared -- >enable-64bit > >This file appears to be very different from an earlier version, and >also on 8.5a5. > >Is this a bug? Is there a patch? > I don't know. I'll make explicit some of the background that might help with your question, though. In 2007, there's little support for Tru64 (however bitter some of its fans--like me--feel about this). ActiveState, for example, has no access to a Tru64 machine to support its many products. Tru64 support is certainly not in the top 100 most important issues for TCT. However, I also know that Tcl has worked well under Tru64 (and earlier labels, including "OSF1") in the past, and several of the TCT members have a commendable professional pride in keeping Tcl as portable as reasonable, or even more so. If we can determine a definite correction to the sources, I'm confident it'll be incorporated so Tcl can thrive as much as possible under Tru64. I've therefore sent copies of this follow-up to a couple of key TCT members, and also cross-posted to the pertinent Tru64 newsgroups. I myself don't have access now to a Tru64 host, to investigate your report systematically. If necessary, I probably can restore an account, but perhaps there's an even quicker solution. You report TclpTime_t as undefined; that certainly shouldn't be; it appears in tclInt.h. Are you sure your build of tcl8.4.14 was "clean"? Did you start from an empty directory, unpack into it, and so on? Do you see tclInt.h? Does it not define TclpTime_t? Do I need to look at the sources more carefully, to ensure what *I* have written is true? Saahiti Sinhal, I don't know your situation--whether you're comfortable with C code in general, and Tcl sources in particular, for example. If we give you a bit of advice, is this problem something you can "debug" on your own? Can you give one of us a (remote) login, so we can analyze the error for ourselves?