Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2007-02-24
10:20 • Closed ticket [849163ffff]: configure sets HAVE_STRUCT_DIRENT64 when readdir64 u... artifact: 16cb58e88f user: sf-robot
2007-02-10
01:30 • Pending ticket [849163ffff]. artifact: 1d4518de9d user: hobbs
2004-05-30
19:28 • Ticket [849163ffff]: 5 changes artifact: 013f858c63 user: dkf
2004-05-27
05:35 • Ticket [849163ffff]: 6 changes artifact: fc780a1317 user: hobbs
2003-11-25
18:32 • New ticket [849163ffff]. artifact: 4386ff1a33 user: dcd

configure sets HAVE_STRUCT_DIRENT64 when readdir64 unavail

Closed / Out of Date849163ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 20 years ago
Descriptionplain2003-11-25 18:32:31
After running configure in tcl8.4.5 (and tk8.4.5) I get
a link error
at the end of make because readdir64 is not defined.

I edited the Makefile and tclConfig.sh (tkConfig.sh on
the tk side)
to remove the HAVE_STRUCT_DIRENT64 and was able to
complete the make/install (and run tkdiff as a
testcase)

I'm using linux 2.4.23-rc with libc5.4.44
gcc version egcs-2.91.66.1
hobbsplain2004-05-27 05:35:16
Logged In: YES 
user_id=72656

apparently dirent64 existence was presuming readdir64
existence, which isn't always correct.  Of course, that is
an ancient compiler setup.
dkfplain2004-05-30 19:28:30
Logged In: YES 
user_id=79902

Well, I've no idea what to do about this.  (AIUI, the only
reason for having a 'struct dirent64' is for use with
readdir64(), so having one but not the other is perverse.)
hobbs Pending ticket [849163ffff]. [History diff]2007-02-10 01:30:17
sf-robotplain2007-02-24 10:20:10
Logged In: YES 
user_id=1312539
Originator: NO

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.