This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
undefined reference to setutent and pututline
- To: <cygwin at sourceware dot cygnus dot com>
- Subject: undefined reference to setutent and pututline
- From: "Kevin Wright" <kwright at aspectdv dot com>
- Date: Tue, 5 Oct 1999 11:03:25 -0700
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