Tk Source Code

View Ticket
Login
Ticket UUID: 431229
Title: Can't build Tk on HP-UX 10.2
Type: Bug Version: obsolete: 8.4a3
Submitter: chris_nelson Created on: 2001-06-07 20:36:53
Subsystem: 84. Unix Build Assigned To: mdejong
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2002-09-11 10:03:30
Resolution: Postponed Closed By: mdejong
    Closed on: 2002-09-11 03:03:30
Description:
gcc -pipe -c -O -Wall -Wconversion -Wno-implicit-int -fPIC
-I/pti/tests/5/nelson/prdtcl84/tcl/v8.4/hp10/tk/unix
-I/pti/tests/5/nelson/prdtcl84/tcl/v8.4/hp10/tk/unix/../generic
-I/pti/tests/5/nelson/prdtcl84/tcl/v8.4/hp10/tk/unix/../bitmaps
-I/pti/tests/5/nelson/prdtcl84/tcl/v8.4/hp10/tcl/generic
-I/usr/local/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1
-DNO_FD_SET=1 -DHAVE_SYS_TIME_H=1      -DTCL_NO_DEPRECATED  

-DTK_LIBRARY=\"/pti/tests/5/nelson/prdtcl84/tcl/v8.4/hp10/tk/unix/../../../INSTALL/lib/tk8.4\"
\
    /pti/tests/5/nelson/prdtcl84/tcl/v8.4/hp10/tk/unix/tkUnixInit.c
In file included from
/pti/tests/5/nelson/prdtcl84/tcl/v8.4/hp10/tk/unix/../generic/tkPort.h:32,
                 from
/pti/tests/5/nelson/prdtcl84/tcl/v8.4/hp10/tk/unix/../generic/tkInt.h:27,
                 from
/pti/tests/5/nelson/prdtcl84/tcl/v8.4/hp10/tk/unix/tkUnixInit.c:15:

/pti/tests/5/nelson/prdtcl84/tcl/v8.4/hp10/tk/unix/../generic/../unix/tkUnixPort.h:94:
conflicting types for `fd_mask'
/usr/include/sys/types.h:413: previous declaration of `fd_mask'
gnumake: *** [tkUnixInit.o] Error 1
User Comments: mdejong added on 2002-09-11 10:03:29:
Logged In: YES 
user_id=90858

I did not get the info I needed to look into fixing this.
closing

mdejong added on 2002-07-17 06:20:15:
Logged In: YES 
user_id=90858

Chris, could you take a look at this bug
report?

https://sourceforge.net/tracker/?func=detail&atid=110894&aid=582148&group_id=10894

It did not provide enough info to be helpful but perhaps
you could test out some of the suggestions (like
-DNO_FD_SET).

mdejong added on 2002-07-10 17:15:41:
Logged In: YES 
user_id=90858

I am not sure what you were going for, but the quoting
in the configure.in was correct. The debug vs release
stuff is currently dealt with in the Makefile, the
CFLAGS_DEBUG evaluation needs to be done in the Makefile.

How exactly did this "fix" things?

chris_nelson added on 2001-06-08 03:43:41:

File Added - 7125: configure.dif

chris_nelson added on 2001-06-08 03:43:40:
Logged In: YES 
user_id=107514

There was some bad sh quoting in the configure script.  I fixed configure directly (patch attached) because 
I couldn't find anything in configure.in that related to the problem code.

Attachments: