Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@sourceware.cygnus.com>
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
From: "Kevin Wright" <kwright@aspectdv.com>
To: <cygwin@sourceware.cygnus.com>
Subject: undefined reference to setutent and pututline
Date: Tue, 5 Oct 1999 11:03:25 -0700
Message-ID: <004e01bf0f5b$eda18790$8f88f726@holstein.ASPECTDV.COM>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3

Hello,

I am looking for a header or library that defines  setutent and pututline
I have checked the utmp.h file but that defines them as extern.

I am trying to compile gnome-libs and run into this problem in the zvt
section:

/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall -Wunused
-o test-utmp  gnome-utmp.o test-utmp.o  -lz -lm
gcc -g -O2 -Wall -Wunused -o test-utmp gnome-utmp.o test-utmp.o -lz -lm
gnome-utmp.o: In function `update_utmp':
/usr/local/src/gnome-libs-1.0.50/zvt/gnome-utmp.c:141: undefined reference
to `setutent'
/usr/local/src/gnome-libs-1.0.50/zvt/gnome-utmp.c:142: undefined reference
to `pututline'


My guess is that this is not implemented in cygwin
because in Solaris, it is defined in the libc.

TIA,

Kevin Wright
Aspect Development
Mountain View, CA


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

