bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #61399] multiple definition of `_isatty'; src/w32/compat/posixfcn.o


From: Eli Zaretskii
Subject: [bug #61399] multiple definition of `_isatty'; src/w32/compat/posixfcn.o:posixfcn.c
Date: Sat, 30 Oct 2021 04:29:41 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #1, bug #61399 (project make):

Thanks, but the data you presented doesn't tell enough to devise the solution
(if one is needed, see below).  The most important piece of information that
is missing is: where in MinGW64 is 'isatty' defined, and how did that
definition end up being pulled by the linker into the binary?

Also, it sounds like you didn't use the build_w32.bat batch file to build
Make, because the link command doesn't look like the link command specified by
that script, and libgnu.a isn't supposed to be  part of the link comm and. 
Did you per chance use the Posix configure script and Makefile.in to build
Make?  If so, that method is not currently supported for building a MinGW port
of make, only the build_w32.bat script is supported.

Finally, Make provides 'isatty' not because it's missing in the Windows
runtime, but because the existing implementation is buggy, see the comment in
posixfcn.c about that.  IOW, we want to _replace_ the existing
implementation.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61399>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]