D with CygWin

unDEFER via Digitalmars-d digitalmars-d at puremagic.com
Fri Nov 18 02:43:09 PST 2016


Look again, now there is only 5 not defined symbols:

============================
$ dmd `find . -iname "*.d"` C:\\cygwin\\bin\\Cygwin1.lib
OPTLINK (R) for Win32  Release 8.00.17
Copyright (C) Digital Mars 1989-2013  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
C:\D\dmd2\windows\bin\..\lib\snn.lib(io)  Offset 02657H Record 
Type 00C3
  Error 1: Previous Definition Different : _close
C:\D\dmd2\windows\bin\..\lib\snn.lib(io)  Offset 0271CH Record 
Type 00C3
  Error 1: Previous Definition Different : _remove
time.obj(time)
  Error 42: Symbol Undefined _fstat64
time.obj(time)
  Error 42: Symbol Undefined _open64
time.obj(time)
  Error 42: Symbol Undefined _stat64
time.obj(time)
  Error 42: Symbol Undefined _lstat64
time.obj(time)
  Error 42: Symbol Undefined _readdir64
Error: linker exited with status 216919688
============================

But there is _fstat64:

============================
$ nm /bin/cygwin1.dll | grep _fstat64
610f4550 T __fstat64_r
610dd402 T __sigfe_fstat64
610f43b0 T _fstat64
============================

What maybe the problem??


More information about the Digitalmars-d mailing list