delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/05/14:04:07

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: "Kevin Wright" <kwright AT aspectdv DOT com>
To: <cygwin AT sourceware DOT cygnus DOT 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
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 AT sourceware DOT cygnus DOT com

- Raw text -


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