#2543 configure sets HAVE_STRUCT_DIRENT64 when readdir64 unavail

obsolete: 8.4.5
closed-out-of-date
5
2007-02-24
2003-11-25
David Dyck
No

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

Discussion

  • Jeffrey Hobbs

    Jeffrey Hobbs - 2004-05-26

    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.

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2004-05-26
    • assigned_to: mdejong --> dkf
    • summary: configure sets HAVE_STRUCT_DIRENT64 when readdir64 unavail
      --> configure sets HAVE_STRUCT_DIRENT64 when readdir64 unavail
     
  • Donal K. Fellows

    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.)

     
  • Donal K. Fellows

    • assigned_to: dkf --> hobbs
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2007-02-09
    • status: open --> pending-out-of-date
     
  • SourceForge Robot

    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).

     
  • SourceForge Robot

    • status: pending-out-of-date --> closed-out-of-date