Tk Source Code

View Ticket
Login
Ticket UUID: 716500
Title: Make fails
Type: Bug Version: obsolete: 8.4.2
Submitter: nobody Created on: 2003-04-07 02:34:58
Subsystem: 84. Unix Build Assigned To: mdejong
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2003-05-21 09:02:29
Resolution: Wont Fix Closed By: mdejong
    Closed on: 2003-05-21 02:02:29
Description:
When I run "make" in my RedHat 9 it appears a lot of
parse errors ending with:

/root/tk8.4.2/generic/tk3d.c:1394: request for member
`borderTable' in something not a structure or union
/root/tk8.4.2/generic/tk3d.c:1394: request for member
`borderTable' in something not a structure or union
/root/tk8.4.2/generic/tk3d.c:1396: parse error before
')' token
/usr/include/sys/stat.h: At top level:
/root/tk8.4.2/generic/tk3d.c:1134: storage size of
`shiftTable' isn't known
/root/tk8.4.2/generic/tk3d.c:31: warning: `BorderInit'
declared `static' but never defined
/root/tk8.4.2/generic/tk3d.c:36: warning: `Intersect'
declared `static' but never defined
/root/tk8.4.2/generic/tk3d.c:39: warning: `ShiftLine'
declared `static' but never defined
{standard input}: Assembler messages:
{standard input}:696: Error: symbol `dy' is already defined
{standard input}:702: Error: symbol `dx' is already defined
{standard input}:749: Error: symbol `q' is already defined
{standard input}:755: Error: symbol `p' is already defined
{standard input}:761: Error: symbol `q' is already defined
{standard input}:767: Error: symbol `q' is already defined
make: *** [tk3d.o] Error 1

I've read all your README files, and visited the
websites listed there but i can't find a soluction.
User Comments: mdejong added on 2003-05-21 09:02:29:
Logged In: YES 
user_id=90858

Closing bug report since I have not heard anything from the
person that sent it. This has got to be a compiler bug,
this code compiles just fine on my machine.

mdejong added on 2003-04-11 16:00:59:
Logged In: YES 
user_id=90858

This sounds like a compiler bug to me. I know Red Hat
has a history of including compilers of questionable
stability in major new releases. What verison of gcc is
shipped with the OS?

It could help if you could trim the failing example down
to a simple test case. It should not be hard to move the
TkDebugBorder function and decl for the TkDisplay
struct out into a minimal example. I don't have access
to a RH 9 box to do any testing, and I bet few others
will either so it is up to you, oh noble submitter.