delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/26/21:16:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3C2A847D.93BA829B@bah.com>
Date: Wed, 26 Dec 2001 21:16:29 -0500
From: "Facey Brian" <facey_brian AT bah DOT com>
Organization: BAH
X-Mailer: Mozilla 4.76 [en]C-CCK-MCD (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: uptime.c

--------------63D4F736885DA52D8A3383C0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Dear Developers,

I am using cygwin 1.3.6-6 on Windows NT 4 Server.  I need to know if
uptime.c found in the Shell Utilties 2.0-2 dir will work on this
platform when compiled.  From the sh-utils-2.0-2 dir, I ran configure
and then make check.  Attached are two files which correspond to the
beginning and the ending of the make check. I did not have a clean make
check.

My concern is that the make check tries to call with options for
-DHAVE_LIBPNG and -DHAVE_LIBJPEG which correspond to a previous make for
a different package.  Is there a temporary file for gcc that needs to be
deleted.  If so, where can I find it.

My second concern is trying to understand why I have to install the
entire shell utils package when all I want to do is to compile
uptime.c.  Is there a way to just compile uptime.c by itself?


Please advise.

Thanks,

Brian Facey
--------------63D4F736885DA52D8A3383C0
Content-Type: text/plain; charset=us-ascii;
 name="mkchk.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="mkchk.txt"

$ make check
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I.. -I. -I../lib -I
../intl    -g -O2 -c basename.c
make: *** No rule to make target `../lib/libsu.a', needed by `basename'.  Stop.
--------------63D4F736885DA52D8A3383C0
Content-Type: text/plain; charset=us-ascii;
 name="makecheckerr.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="makecheckerr.txt"

gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I.. -I. -I../lib -I
../intl    -g -O2 -c su.c
gcc  -g -O2   -o su  su.o ../intl/libintl.a ../lib/libsu.a
su.o: In function `correct_password':
/cygdrive/d/cygwin/usr/src/sh-utils-2.0-2/src/su.c:296: undefined reference to `
crypt'

--------------63D4F736885DA52D8A3383C0
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
--------------63D4F736885DA52D8A3383C0--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019