X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.7 required=5.0	tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,TW_SG,TW_YG,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r.berber@computer.org>
Subject: Re: strace on a2ps complains about \Device\Harddisk4\DR4
Date: Mon, 26 Jul 2010 22:20:01 -0500
Lines: 36
Message-ID: <i2lj97$ujd$1@dough.gmane.org>
References: <i2l8n7$7dk$1@dough.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0
In-Reply-To: <i2l8n7$7dk$1@dough.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Rasputin Paskudniak wrote:

[snip]
> I have a new Windows-7 64-bit box and Cygwin (1.75) was my first
> download.  At the installation stage, I included a2ps (4.13).
>=20
> My problem: When I run it, I just get back to my shell prompt. This is
> even when I run "a2ps -- version".  Mystery?

No mystery, but...

> First step: What is the exit code?  echo $? displays 127. (errno.h tells
> me this is related to sockets.  Highly unlikely.)  So I decided to run
> it with strace:

... you followed the wrong procedure.

To get the error description you do:

$ net helpmsg 127

The specified procedure could not be found.

That usually means the program, a2ps, can't find one or more of the
dynamic libraries it needs.

To find what libraries are missing use: cygcheck `which a2ps`

[long snip]

Instead of strace, another tool would be better in this case, its not
from Cysgwin but from Microsoft, it's SysInternals depends.  It will
tell you the same as the cygcheck.
--=20
Ren=E9 Berber


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

