Thread overview
[Issue 5512] New: Compile error(FreeBSD8.1): not defined lstat64()
Feb 01, 2011
Sohgo Takeuchi
Feb 01, 2011
Walter Bright
Feb 02, 2011
Sohgo Takeuchi
Feb 02, 2011
Sohgo Takeuchi
Feb 04, 2011
Sohgo Takeuchi
February 01, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5512

           Summary: Compile error(FreeBSD8.1): not defined lstat64()
           Product: D
           Version: D2
          Platform: All
        OS/Version: FreeBSD
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Phobos
        AssignedTo: nobody@puremagic.com
        ReportedBy: sohgo@sohgo.dyndns.org


--- Comment #0 from Sohgo Takeuchi <sohgo@sohgo.dyndns.org> 2011-02-01 03:01:32 PST ---
Created an attachment (id=892)
define lstat64 for FreeBSD

When compiling phobos2 on FreeBSD 8.1(i386 and amd64),
I have got a following error.
I attach a patch to fix this problem.

std/file.d(1177): Error: undefined identifier lstat64, did you mean alias
stat64?
gmake[1]: *** [generated/freebsd/debug/64/libphobos2.a] Error 1

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 01, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5512


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com


--- Comment #1 from Walter Bright <bugzilla@digitalmars.com> 2011-02-01 11:08:14 PST ---
The attachment does not fix it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 02, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5512


Sohgo Takeuchi <sohgo@sohgo.dyndns.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #892 is|0                           |1
           obsolete|                            |


--- Comment #2 from Sohgo Takeuchi <sohgo@sohgo.dyndns.org> 2011-02-02 12:32:32 JST ---
(From update of attachment 892)
Sorry, I uploaded a wrong patch.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 02, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5512



--- Comment #3 from Sohgo Takeuchi <sohgo@sohgo.dyndns.org> 2011-02-02 12:34:16 JST ---
Created an attachment (id=899)
define lstat64() for FreeBSD

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 04, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5512


Sohgo Takeuchi <sohgo@sohgo.dyndns.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #4 from Sohgo Takeuchi <sohgo@sohgo.dyndns.org> 2011-02-04 13:01:14 JST ---
The patch was accepted.

https://github.com/D-Programming-Language/phobos/commit/f63e193de6ccfabc94cb52b637a7189f12e76d5a

Thank you.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------