加入收藏 | 设为首页 | 会员中心 | 我要投稿 PHP编程网 - 黄冈站长网 (http://www.0713zz.com/)- 数据应用、建站、人体识别、智能机器人、语音技术!
当前位置: 首页 > 服务器 > 搭建环境 > Windows > 正文

当运行Cygwin命令时,windows-7 – “不能使stdr与stdout不同”

发布时间:2021-01-09 10:23:57 所属栏目:Windows 来源:网络整理
导读:我正在尝试在我的 Windows 7 x64操作系统上安装一些旧版本的Cygwin.到现在为止还挺好.现在我被困在srdout / stderr区别问题: $vmake 1 [main] make 7060 dtable::stdio_init: couldn't make stderr distinct from stdout$ls / 1 [main] ls 8180 dtable::s

我正在尝试在我的 Windows 7 x64操作系统上安装一些旧版本的Cygwin.到现在为止还挺好.现在我被困在srdout / stderr区别问题:

$vmake
  1 [main] make 7060 dtable::stdio_init: couldn't make stderr distinct from stdout

$ls /
  1 [main] ls 8180 dtable::stdio_init: couldn't make stderr distinct from stdout
Cygwin.bat  Cygwin.ico  bin  cygdrive  etc  lib  proc  setup.log  setup.log.full  tmp  usr  var

我在跑步:

$uname -srv
  1 [main] uname 5876 dtable::stdio_init: couldn't make stderr distinct from stdout
CYGWIN_NT-6.1-WOW64 1.5.25(0.156/4/2) 2008-06-12 19:34

Cygwin安装已选择DOS行结束选项(对于某些旧版代码兼容性).

要解决线路结束的另一个问题(bash有麻烦处理/ cygdrive / c / cygwin-legacy / bin / vmake脚本,像这里描述的问题:http://chess.eecs.berkeley.edu/softdevel/faq/5.html)我添加了?/ .bash_profile:

export SHELLOPTS
set -o igncr

阅读http://lists-archives.com/cygwin/50369-run-requires-cygwin-tty.html后我也设定了:

$CYGWIN=tty

这没有改变.我还在

1 [main] make 7060 dtable::stdio_init: couldn't make stderr distinct from stdout

每次不同的4位数字.

我在这里也有同样的问题.
然后我记得,我们替换了“make”命令
由MSYS版本(因为“make”的新的
cygwin软件包没有使用冒号(“:)”
– >这导致“多目标”错误.

替换’make’命令解决了这个问题,
但是导致“stdio_init:不能使stderr与stdout不同”
当我试图编译其他项目时.

因此:

你的机器上安装了MSYS / MinGW吗?

尝试这个:

使–version

它应该看起来像:

GNU Make 3.82.90
Built for i686-pc-cygwin

如果你有这样的东西:

GNU Make 3.81
Copyright (C) 2006  Free Software Foundation,Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i686-pc-msys

你需要使用cygwin’make’.

也许这个错误发生在你混合不同的cygwin版本的组件…

(编辑:PHP编程网 - 黄冈站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读